2024-01-05 04:14:51,363 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=43.91))
2024-01-05 04:14:51,374 - {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=8202091.902000001, power=43.91))
2024-01-05 04:14:51,376 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424482, 'time': '04:14:42', 'grid': 4.694, 'house-power': 0.355, 'charging-all': 4.29, 'pv-all': -0.048, 'cp1-power': 4.29, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:14:51,379 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:14:51,381 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:14:51,382 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:14:51,384 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:14:51,385 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:14:51,387 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:14:51,388 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:14:51,389 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:14:51,391 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:14:51,392 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:14:51,397 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [55.78, 56.93, 56.46]A verbleibende Ströme, 38443.94W verbleibende Leistung
2024-01-05 04:14:51,398 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:14:51,402 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:14:51,403 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:14:51,405 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:14:51,407 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:14:51,409 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:14:51,410 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4656.059999999998W
2024-01-05 04:14:51,411 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4656.059999999998W
2024-01-05 04:14:51,412 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:14:51,413 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:14:51,414 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3037.5999999996275 counter 7209780.76
2024-01-05 04:14:51,419 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:14:51,421 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:14:51,451 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:14:51,684 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:14:55,724 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:14:55,726 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:15:00,738 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:15:00,739 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:15:00,783 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:15:00,784 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:15:00,786 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:15:00,792 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:15:00,795 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:15:00,840 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:15:00,842 - {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":240.6, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424499},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:15","unixtime":1704424501,"uptime":3783863,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:15:00,843 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6293, -2303, -1981, -2007], Scale 0
2024-01-05 04:15:00,849 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424490.5338902, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:15:00,851 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00286541, power1: 0, power2: 0
2024-01-05 04:15:00,852 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:15:00,854 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424500.849378, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:15:00,857 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:15:00,872 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [72, 61, 66], Scale -1
2024-01-05 04:15:00,892 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23985, 23999, 23871, 0, 0, 0, 0], Scale -2
2024-01-05 04:15:00,907 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:15:00,960 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9800, 9729, 9670], Scale -2
2024-01-05 04:15:00,982 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7335996, 3034533, 2160035, 2693372], Scale 0
2024-01-05 04:15:00,983 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[7.2, 6.1000000000000005, 6.6000000000000005], powers=[2303.0, 1981.0, 2007.0], voltages=[239.85, 239.99, 238.71], power_factors=[0.98, 0.9729000000000001, 0.9670000000000001], imported=7335996.0, exported=4871307.0, power=6293.0, frequency=50.0)
2024-01-05 04:15:00,984 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:15:01,008 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4743], Scale -2
2024-01-05 04:15:01,093 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:15:01,132 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 33, 33], Scale -2
2024-01-05 04:15:01,164 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4815], Scale -2
2024-01-05 04:15:01,165 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.33, 0.33], power=47.43, exported=7869605.0, dc_power=48.15)
2024-01-05 04:15:01,167 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:15:01,210 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424490.9036767, power=0.0, imported=154654.67883156077, exported=119765.68829225974)
2024-01-05 04:15:01,210 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00286285, power1: 0, power2: 0
2024-01-05 04:15:01,211 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:15:01,212 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424501.209932, power=0.0, imported=154654.67883156077, exported=119765.68829225974)
2024-01-05 04:15:01,213 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.68829225974, power=0.0, soc=18.0)
2024-01-05 04:15:01,218 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:15:01,224 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.68829225974, power=0.0, soc=18.0)
2024-01-05 04:15:01,288 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:15:01,289 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:15:01,290 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.43, exported=7904493.99, dc_power=None)
2024-01-05 04:15:01,292 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.43, exported=7904493.99, dc_power=None)
2024-01-05 04:15:01,305 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:15:01,307 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:15:01,308 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:15:01,372 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:15:01,373 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[7.2, 6.1000000000000005, 6.6000000000000005], powers=[2303.0, 1981.0, 2007.0], voltages=[239.85, 239.99, 238.71], power_factors=[0.98, 0.9729000000000001, 0.9670000000000001], imported=7335996.0, exported=4871307.0, power=6293.0, frequency=50.0)
2024-01-05 04:15:01,616 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:15:01,619 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:15:01,621 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.8, 62.94, 62.480000000000004]A
2024-01-05 04:15:01,623 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40997.92W
2024-01-05 04:15:01,625 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:15:01,628 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:15:01,629 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:15:01,630 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:15:01.630417
2024-01-05 04:15:01,631 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -752.0652s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:15:01,637 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:15:01.637264
2024-01-05 04:15:01,638 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89682.710562s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:15:01,638 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:15:01,650 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:15:01,652 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:15:01,671 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424491.2984395, power=372.15000000000055, imported=3359972.1665256564, exported=0)
2024-01-05 04:15:01,673 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00288148, power1: 372.15, power2: 1954.65
2024-01-05 04:15:01,674 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 3.35231
2024-01-05 04:15:01,675 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 3.35231 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424501.6717505, power=1954.6499999999996, imported=3359975.5188340084, exported=0)
2024-01-05 04:15:01,689 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:15:01,690 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:15:01,692 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=2680.18, daily_exported=0, power=4290.92, imported=7209792.97, exported=0))
2024-01-05 04:15:01,693 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.04, 6.08, 6.0], daily_imported=2680.18, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7209792.97, phases_in_use=3, plug_state=True, power=4290.92, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.62, 238.88, 239.91]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3037.5999999996275, imported_since_plugged=3037.5999999996275, range_charged=15.187999999998137, time_charged='4:03', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x701f1b20>), 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))
2024-01-05 04:15:01,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=[])
2024-01-05 04:15:01,695 - {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'])
2024-01-05 04:15:01,696 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2303.0, 1981.0, 2007.0], currents=[7.2, 6.1, 6.6], voltages=[239.85, 239.99, 238.71], power_factors=[0.98, 0.97, 0.97], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=7752.0, imported=7335996.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6293.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40997.92, raw_currents_left=[61.8, 62.94, 62.480000000000004], surplus_power_left=0, state_str=''))
2024-01-05 04:15:01,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=1954.6499999999996, invalid_home_consumption=0, daily_yield_home_consumption=4898.2275600363, imported_home_consumption=3359975.5188340084, disengageable_smarthome_power=0))
2024-01-05 04:15:01,699 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:15:01,708 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:15:01,709 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:15:01,710 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:15:01,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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:15:01,711 - {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=20000, 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=66, soc_timestamp=1704424501.129822, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:15:01,711 - {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)
2024-01-05 04:15:01,712 - {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)
2024-01-05 04:15:01,712 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:15:01,713 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:15:01,713 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:15:01,714 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:15:01,714 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f744a78>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:15:01,715 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:15:01,715 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=47.43))
2024-01-05 04:15:01,717 - {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=8202091.902000001, power=47.43))
2024-01-05 04:15:01,719 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424491, 'time': '04:14:51', 'grid': 4.695, 'house-power': 0.372, 'charging-all': 4.279, 'pv-all': -0.044, 'cp1-power': 4.279, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:15:01,721 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:15:01,721 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:15:01,723 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:15:01,724 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:15:01,725 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:15:01,732 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:15:01,734 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:15:01,736 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:15:01,737 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:15:01,738 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:15:01,740 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [55.8, 56.94, 56.480000000000004]A verbleibende Ströme, 36857.92W verbleibende Leistung
2024-01-05 04:15:01,740 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:15:01,743 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:15:01,746 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:15:01,751 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:15:01,753 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:15:01,755 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:15:01,757 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6242.080000000002W
2024-01-05 04:15:01,758 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6242.080000000002W
2024-01-05 04:15:01,761 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:15:01,763 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:15:01,769 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3049.80999999959 counter 7209792.97
2024-01-05 04:15:01,775 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:15:01,781 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:15:01,818 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:15:02,274 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:15:02,283 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:15:02,284 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2024-01-05 04:15:02,333 - {root:107} - {DEBUG:MainThread} - 5 Minuten Handler ausführen.
2024-01-05 04:15:02,413 - {helpermodules.system:74} - {INFO:MainThread} - my IP: 192.168.1.31
2024-01-05 04:15:02,415 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2024-01-05 04:15:05,797 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:15:10,810 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:15:10,811 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:15:10,857 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:15:10,858 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:15:10,859 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:15:10,867 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:15:10,870 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:15:10,912 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:15:10,915 - {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":240.5, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424509},"temperature":{"tC":29.2, "tF":84.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:15","unixtime":1704424511,"uptime":3783873,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:15:10,919 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424500.849378, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:15:10,921 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00279729, power1: 0, power2: 0
2024-01-05 04:15:10,922 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:15:10,922 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424510.9196103, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:15:10,929 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:15:10,941 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6695, -2433, -2127, -2135], Scale 0
2024-01-05 04:15:10,969 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [99, 85, 86], Scale -1
2024-01-05 04:15:10,989 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23955, 24025, 23853, 0, 0, 0, 0], Scale -2
2024-01-05 04:15:11,009 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:15:11,028 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9969, 9909, 9959], Scale -2
2024-01-05 04:15:11,063 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336009, 3034537, 2160039, 2693376], Scale 0
2024-01-05 04:15:11,064 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[9.9, 8.5, 8.6], powers=[2433.0, 2127.0, 2135.0], voltages=[239.55, 240.25, 238.53], power_factors=[0.9969, 0.9909, 0.9959], imported=7336009.0, exported=4871307.0, power=6695.0, frequency=50.0)
2024-01-05 04:15:11,065 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:15:11,140 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4838], Scale -2
2024-01-05 04:15:11,160 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:15:11,180 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [31, 32, 32], Scale -2
2024-01-05 04:15:11,204 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4912], Scale -2
2024-01-05 04:15:11,205 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.31, 0.32, 0.32], power=48.38, exported=7869605.0, dc_power=49.120000000000005)
2024-01-05 04:15:11,206 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:15:11,263 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424501.209932, power=0.0, imported=154654.67883156077, exported=119765.68829225974)
2024-01-05 04:15:11,264 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00279259, power1: 0, power2: 0
2024-01-05 04:15:11,264 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:15:11,265 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424511.2632709, power=0.0, imported=154654.67883156077, exported=119765.68829225974)
2024-01-05 04:15:11,266 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.68829225974, power=0.0, soc=18.0)
2024-01-05 04:15:11,274 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:15:11,276 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.68829225974, power=0.0, soc=18.0)
2024-01-05 04:15:11,336 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:15:11,337 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:15:11,339 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:15:11,339 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=48.38, exported=7904493.99, dc_power=None)
2024-01-05 04:15:11,359 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:15:11,362 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=48.38, exported=7904493.99, dc_power=None)
2024-01-05 04:15:11,363 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:15:11,430 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:15:11,431 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[9.9, 8.5, 8.6], powers=[2433.0, 2127.0, 2135.0], voltages=[239.55, 240.25, 238.53], power_factors=[0.9969, 0.9909, 0.9959], imported=7336009.0, exported=4871307.0, power=6695.0, frequency=50.0)
2024-01-05 04:15:11,608 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:15:11,611 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:15:11,614 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [59.09, 60.53, 60.47]A
2024-01-05 04:15:11,615 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40585.8W
2024-01-05 04:15:11,617 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:15:11,619 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:15:11,620 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:15:11,622 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:15:11.621743
2024-01-05 04:15:11,623 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -762.056526s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:15:11,624 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:15:11.624163
2024-01-05 04:15:11,626 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89672.723663s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:15:11,627 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:15:11,632 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:15:11,643 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:15:11,665 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424501.6717505, power=1954.6499999999996, imported=3359975.5188340084, exported=0)
2024-01-05 04:15:11,666 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0027759, power1: 1954.65, power2: 2365.82
2024-01-05 04:15:11,667 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 5.99661
2024-01-05 04:15:11,667 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 5.99661 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424511.6650076, power=2365.8199999999997, imported=3359981.5154405735, exported=0)
2024-01-05 04:15:11,670 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:15:11,671 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:15:11,672 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3037.11, daily_exported=0, power=4280.8, imported=7209806.15, exported=0))
2024-01-05 04:15:11,673 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.03, 6.07, 5.99], daily_imported=3037.11, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7209806.15, phases_in_use=3, plug_state=True, power=4280.8, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.48, 238.75, 239.75]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3049.80999999959, imported_since_plugged=3049.80999999959, range_charged=15.249049999997952, time_charged='4:03', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f75f0b8>), 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))
2024-01-05 04:15:11,675 - {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=[])
2024-01-05 04:15:11,676 - {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'])
2024-01-05 04:15:11,679 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2433.0, 2127.0, 2135.0], currents=[9.9, 8.5, 8.6], voltages=[239.55, 240.25, 238.53], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=8135.0, imported=7336009.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6695.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40585.8, raw_currents_left=[59.09, 60.53, 60.47], surplus_power_left=0, state_str=''))
2024-01-05 04:15:11,681 - {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=2365.8199999999997, invalid_home_consumption=0, daily_yield_home_consumption=4922.5534027117, imported_home_consumption=3359981.5154405735, disengageable_smarthome_power=0))
2024-01-05 04:15:11,682 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:15:11,683 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:15:11,697 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:15:11,698 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:15:11,699 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:15:11,700 - {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=20000, 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=66, soc_timestamp=1704424501.129822, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:15:11,706 - {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)
2024-01-05 04:15:11,707 - {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)
2024-01-05 04:15:11,708 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:15:11,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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:15:11,711 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:15:11,713 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:15:11,717 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7445e0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:15:11,718 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:15:11,718 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=48.38))
2024-01-05 04:15: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=8202091.902000001, power=48.38))
2024-01-05 04:15:11,722 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424501, 'time': '04:15:01', 'grid': 6.293, 'house-power': 1.955, 'charging-all': 4.291, 'pv-all': -0.047, 'cp1-power': 4.291, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:15:11,726 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:15:11,727 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:15:11,728 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:15:11,729 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:15:11,731 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:15:11,732 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:15:11,735 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:15:11,737 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:15:11,738 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:15:11,740 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:15:11,743 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [53.09, 54.53, 54.47]A verbleibende Ströme, 36445.8W verbleibende Leistung
2024-01-05 04:15:11,745 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:15:11,748 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:15:11,750 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:15:11,751 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:15:11,753 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:15:11,760 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:15:11,761 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6654.199999999997W
2024-01-05 04:15:11,762 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6654.199999999997W
2024-01-05 04:15:11,763 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:15:11,764 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:15:11,766 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3062.9900000002235 counter 7209806.15
2024-01-05 04:15:11,770 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:15:11,773 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:15:11,804 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:15:12,119 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:15:12,120 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:15:15,129 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:15:15,130 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:15:20,142 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:15:20,143 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:15:20,220 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:15:20,221 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:15:20,225 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:15:20,233 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:15:20,235 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:15:20,279 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:15:20,282 - {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":240.2, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424519},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:15","unixtime":1704424521,"uptime":3783882,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:15:20,291 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424510.9196103, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:15:20,291 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00260314, power1: 0, power2: 0
2024-01-05 04:15:20,292 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:15:20,293 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424520.290906, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:15:20,294 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:15:20,329 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6685, -2433, -2119, -2131], Scale 0
2024-01-05 04:15:20,350 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [102, 89, 89], Scale -1
2024-01-05 04:15:20,376 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23922, 23987, 23808, 0, 0, 0, 0], Scale -2
2024-01-05 04:15:20,400 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:15:20,434 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9959, 9890, 9980], Scale -2
2024-01-05 04:15:20,466 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336039, 3034548, 2160048, 2693386], Scale 0
2024-01-05 04:15:20,468 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.200000000000001, 8.9, 8.9], powers=[2433.0, 2119.0, 2131.0], voltages=[239.22, 239.87, 238.08], power_factors=[0.9959, 0.9890000000000001, 0.998], imported=7336039.0, exported=4871307.0, power=6685.0, frequency=49.99)
2024-01-05 04:15:20,470 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:15:20,498 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4507], Scale -2
2024-01-05 04:15:20,543 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:15:20,584 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [31, 31, 34], Scale -2
2024-01-05 04:15:20,619 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4278], Scale -2
2024-01-05 04:15:20,620 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.31, 0.31, 0.34], power=45.07, exported=7869605.0, dc_power=42.78)
2024-01-05 04:15:20,621 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:15:20,759 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424511.2632709, power=0.0, imported=154654.67883156077, exported=119765.68829225974)
2024-01-05 04:15:20,760 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00263785, power1: 0, power2: 0
2024-01-05 04:15:20,760 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:15:20,760 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424520.7595305, power=0.0, imported=154654.67883156077, exported=119765.68829225974)
2024-01-05 04:15:20,761 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.68829225974, power=0.0, soc=18.0)
2024-01-05 04:15:20,765 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:15:20,767 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.68829225974, power=0.0, soc=18.0)
2024-01-05 04:15:20,811 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:15:20,812 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:15:20,813 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:15:20,817 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=45.07, exported=7904493.99, dc_power=None)
2024-01-05 04:15:20,818 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:15:20,819 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=45.07, exported=7904493.99, dc_power=None)
2024-01-05 04:15:20,820 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:15:20,880 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:15:20,881 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.200000000000001, 8.9, 8.9], powers=[2433.0, 2119.0, 2131.0], voltages=[239.22, 239.87, 238.08], power_factors=[0.9959, 0.9890000000000001, 0.998], imported=7336039.0, exported=4871307.0, power=6685.0, frequency=49.99)
2024-01-05 04:15:21,051 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:15:21,056 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:15:21,059 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.8, 60.14, 60.17]A
2024-01-05 04:15:21,060 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40604.56W
2024-01-05 04:15:21,062 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:15:21,067 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:15:21,069 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:15:21,071 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:15:21.070787
2024-01-05 04:15:21,072 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -771.50557s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:15:21,074 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:15:21.073802
2024-01-05 04:15:21,074 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89663.274024s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:15:21,076 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:15:21,079 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:15:21,081 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:15:21,087 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424511.6650076, power=2365.8199999999997, imported=3359981.5154405735, exported=0)
2024-01-05 04:15:21,088 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00261733, power1: 2365.82, power2: 2350.37
2024-01-05 04:15:21,089 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.1719
2024-01-05 04:15:21,090 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.1719 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424521.0873797, power=2350.37, imported=3359987.687342947, exported=0)
2024-01-05 04:15:21,091 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:15:21,092 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:15:21,092 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3037.11, daily_exported=0, power=4289.56, imported=7209817.87, exported=0))
2024-01-05 04:15:21,094 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.04, 6.07, 6.0], daily_imported=3037.11, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7209817.87, phases_in_use=3, plug_state=True, power=4289.56, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.24, 238.5, 239.55]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3062.9900000002235, imported_since_plugged=3062.9900000002235, range_charged=15.314950000001119, time_charged='4:03', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b2cfe8>), 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))
2024-01-05 04:15:21,096 - {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=[])
2024-01-05 04:15:21,098 - {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'])
2024-01-05 04:15:21,100 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2433.0, 2119.0, 2131.0], currents=[10.2, 8.9, 8.9], voltages=[239.22, 239.87, 238.08], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=8135.0, imported=7336039.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6685.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40604.56, raw_currents_left=[58.8, 60.14, 60.17], surplus_power_left=0, state_str=''))
2024-01-05 04:15:21,101 - {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=2350.37, invalid_home_consumption=0, daily_yield_home_consumption=4922.5534027117, imported_home_consumption=3359987.687342947, disengageable_smarthome_power=0))
2024-01-05 04:15:21,102 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:15:21,104 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:15:21,105 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:15:21,106 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:15:21,114 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:15:21,117 - {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=20000, 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=66, soc_timestamp=1704424501.129822, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:15:21,118 - {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)
2024-01-05 04:15:21,118 - {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)
2024-01-05 04:15:21,119 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:15:21,120 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:15:21,120 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:15:21,121 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:15:21,121 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x70b89760>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:15:21,122 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:15:21,122 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=45.07))
2024-01-05 04:15:21,122 - {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=8202091.902000001, power=45.07))
2024-01-05 04:15:21,123 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424511, 'time': '04:15:11', 'grid': 6.695, 'house-power': 2.366, 'charging-all': 4.281, 'pv-all': -0.048, 'cp1-power': 4.281, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:15:21,123 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:15:21,124 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:15:21,124 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:15:21,124 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:15:21,125 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:15:21,125 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:15:21,126 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:15:21,127 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:15:21,128 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:15:21,132 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:15:21,136 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.8, 54.14, 54.17]A verbleibende Ströme, 36464.56W verbleibende Leistung
2024-01-05 04:15:21,138 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:15:21,142 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:15:21,144 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:15:21,146 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:15:21,148 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:15:21,152 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:15:21,155 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6635.440000000002W
2024-01-05 04:15:21,157 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6635.440000000002W
2024-01-05 04:15:21,159 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:15:21,162 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:15:21,164 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3074.7099999999627 counter 7209817.87
2024-01-05 04:15:21,182 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:15:21,187 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:15:21,230 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:15:21,481 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:15:25,538 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:15:25,539 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:15:30,550 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:15:30,550 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:15:30,593 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:15:30,594 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:15:30,595 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:15:30,602 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:15:30,604 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:15:30,647 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:15:30,651 - {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":240.3, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424529},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:15","unixtime":1704424531,"uptime":3783893,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:15:30,659 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424520.290906, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:15:30,660 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00288007, power1: 0, power2: 0
2024-01-05 04:15:30,661 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:15:30,662 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424530.659147, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:15:30,663 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:15:30,739 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6688, -2430, -2124, -2133], Scale 0
2024-01-05 04:15:30,758 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [102, 89, 89], Scale -1
2024-01-05 04:15:30,779 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23931, 23999, 23824, 0, 0, 0, 0], Scale -2
2024-01-05 04:15:30,798 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:15:30,829 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9950, 9900, 9959], Scale -2
2024-01-05 04:15:30,871 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336053, 3034554, 2160053, 2693390], Scale 0
2024-01-05 04:15:30,872 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.200000000000001, 8.9, 8.9], powers=[2430.0, 2124.0, 2133.0], voltages=[239.31, 239.99, 238.24], power_factors=[0.995, 0.99, 0.9959], imported=7336053.0, exported=4871307.0, power=6688.0, frequency=50.0)
2024-01-05 04:15:30,874 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:15:30,918 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5229], Scale -2
2024-01-05 04:15:30,967 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:15:30,988 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [32, 33, 35], Scale -2
2024-01-05 04:15:31,008 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5308], Scale -2
2024-01-05 04:15:31,009 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.32, 0.33, 0.35000000000000003], power=52.29, exported=7869605.0, dc_power=53.08)
2024-01-05 04:15:31,010 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:15:31,139 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424520.7595305, power=0.0, imported=154654.67883156077, exported=119765.68829225974)
2024-01-05 04:15:31,140 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00288326, power1: 0, power2: 0
2024-01-05 04:15:31,140 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:15:31,141 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424531.1392496, power=0.0, imported=154654.67883156077, exported=119765.68829225974)
2024-01-05 04:15:31,142 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.68829225974, power=0.0, soc=18.0)
2024-01-05 04:15:31,148 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:15:31,157 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.68829225974, power=0.0, soc=18.0)
2024-01-05 04:15:31,203 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:15:31,216 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:15:31,218 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=52.29, exported=7904493.99, dc_power=None)
2024-01-05 04:15:31,219 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=52.29, exported=7904493.99, dc_power=None)
2024-01-05 04:15:31,220 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:15:31,222 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:15:31,223 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:15:31,283 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:15:31,285 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.200000000000001, 8.9, 8.9], powers=[2430.0, 2124.0, 2133.0], voltages=[239.31, 239.99, 238.24], power_factors=[0.995, 0.99, 0.9959], imported=7336053.0, exported=4871307.0, power=6688.0, frequency=50.0)
2024-01-05 04:15:31,456 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:15:31,458 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:15:31,461 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.79, 60.13, 60.17]A
2024-01-05 04:15:31,461 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40592.92W
2024-01-05 04:15:31,463 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:15:31,465 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:15:31,466 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:15:31,467 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:15:31.467108
2024-01-05 04:15:31,470 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -781.901891s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:15:31,471 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:15:31.471466
2024-01-05 04:15:31,475 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89652.87636s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:15:31,477 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:15:31,485 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:15:31,500 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:15:31,508 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424521.0873797, power=2350.37, imported=3359987.687342947, exported=0)
2024-01-05 04:15:31,509 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00289471, power1: 2350.37, power2: 2354.79
2024-01-05 04:15:31,509 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.81003
2024-01-05 04:15:31,509 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.81003 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424531.508327, power=2354.79, imported=3359994.497374122, exported=0)
2024-01-05 04:15:31,510 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:15:31,511 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:15:31,511 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3037.11, daily_exported=0, power=4280.92, imported=7209830.08, exported=0))
2024-01-05 04:15:31,512 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.03, 6.07, 5.99], daily_imported=3037.11, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7209830.08, phases_in_use=3, plug_state=True, power=4280.92, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.29, 238.59, 239.7]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3074.7099999999627, imported_since_plugged=3074.7099999999627, range_charged=15.373549999999813, time_charged='4:03', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7f12f8>), 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))
2024-01-05 04:15:31,513 - {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=[])
2024-01-05 04:15:31,513 - {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'])
2024-01-05 04:15:31,513 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2430.0, 2124.0, 2133.0], currents=[10.2, 8.9, 8.9], voltages=[239.31, 239.99, 238.24], power_factors=[0.99, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=8135.0, imported=7336053.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6688.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40592.92, raw_currents_left=[58.79, 60.13, 60.17], surplus_power_left=0, state_str=''))
2024-01-05 04:15:31,514 - {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=2354.79, invalid_home_consumption=0, daily_yield_home_consumption=4922.5534027117, imported_home_consumption=3359994.497374122, disengageable_smarthome_power=0))
2024-01-05 04:15:31,515 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:15:31,516 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:15:31,518 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:15:31,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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:15:31,520 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:15:31,526 - {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=20000, 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=66, soc_timestamp=1704424501.129822, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:15:31,537 - {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)
2024-01-05 04:15:31,542 - {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)
2024-01-05 04:15:31,544 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:15:31,545 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:15:31,553 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:15:31,555 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:15:31,558 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x71d2d1f0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:15:31,560 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:15:31,561 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=52.29))
2024-01-05 04:15:31,561 - {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=8202091.902000001, power=52.29))
2024-01-05 04:15:31,562 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424521, 'time': '04:15:21', 'grid': 6.685, 'house-power': 2.35, 'charging-all': 4.29, 'pv-all': -0.045, 'cp1-power': 4.29, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:15:31,567 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:15:31,569 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:15:31,571 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:15:31,572 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:15:31,573 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:15:31,574 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:15:31,577 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:15:31,578 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:15:31,579 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:15:31,582 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:15:31,583 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.79, 54.13, 54.17]A verbleibende Ströme, 36452.92W verbleibende Leistung
2024-01-05 04:15:31,587 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:15:31,591 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:15:31,592 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:15:31,592 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:15:31,593 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:15:31,595 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:15:31,596 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6647.080000000002W
2024-01-05 04:15:31,597 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6647.080000000002W
2024-01-05 04:15:31,598 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:15:31,600 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:15:31,602 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3086.9199999999255 counter 7209830.08
2024-01-05 04:15:31,606 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:15:31,610 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:15:31,662 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:15:31,949 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:15:31,951 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:15:35,961 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:15:40,975 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:15:40,976 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:15:41,022 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:15:41,024 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:15:41,026 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:15:41,033 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:15:41,036 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:15:41,069 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6678, -2425, -2121, -2131], Scale 0
2024-01-05 04:15:41,082 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:15:41,089 - {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":240.3, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424539},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:15","unixtime":1704424541,"uptime":3783903,"ram_size":249000,"ram_free":145092,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:15:41,099 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [102, 89, 89], Scale -1
2024-01-05 04:15:41,104 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424530.659147, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:15:41,105 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00290132, power1: 0, power2: 0
2024-01-05 04:15:41,106 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:15:41,108 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424541.1039152, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:15:41,109 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:15:41,149 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23931, 23993, 23819, 0, 0, 0, 0], Scale -2
2024-01-05 04:15:41,168 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:15:41,211 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9959, 9909, 10000], Scale -2
2024-01-05 04:15:41,342 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336068, 3034559, 2160058, 2693395], Scale 0
2024-01-05 04:15:41,342 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.200000000000001, 8.9, 8.9], powers=[2425.0, 2121.0, 2131.0], voltages=[239.31, 239.93, 238.19], power_factors=[0.9959, 0.9909, 1.0], imported=7336068.0, exported=4871307.0, power=6678.0, frequency=50.0)
2024-01-05 04:15:41,344 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:15:41,368 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-3847], Scale -2
2024-01-05 04:15:41,389 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:15:41,419 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 31, 33], Scale -2
2024-01-05 04:15:41,451 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-3906], Scale -2
2024-01-05 04:15:41,451 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.31, 0.33], power=38.47, exported=7869605.0, dc_power=39.06)
2024-01-05 04:15:41,453 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:15:41,499 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424531.1392496, power=0.0, imported=154654.67883156077, exported=119765.68829225974)
2024-01-05 04:15:41,500 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.0028779, power1: 0, power2: 0
2024-01-05 04:15:41,500 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:15:41,501 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424541.4997003, power=0.0, imported=154654.67883156077, exported=119765.68829225974)
2024-01-05 04:15:41,502 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.68829225974, power=0.0, soc=18.0)
2024-01-05 04:15:41,511 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:15:41,514 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.68829225974, power=0.0, soc=18.0)
2024-01-05 04:15:41,555 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:15:41,557 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:15:41,558 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:15:41,564 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=38.47, exported=7904493.99, dc_power=None)
2024-01-05 04:15:41,566 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:15:41,571 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=38.47, exported=7904493.99, dc_power=None)
2024-01-05 04:15:41,571 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:15:41,624 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:15:41,624 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.200000000000001, 8.9, 8.9], powers=[2425.0, 2121.0, 2131.0], voltages=[239.31, 239.93, 238.19], power_factors=[0.9959, 0.9909, 1.0], imported=7336068.0, exported=4871307.0, power=6678.0, frequency=50.0)
2024-01-05 04:15:41,803 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:15:41,805 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:15:41,809 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.79, 60.13, 60.17]A
2024-01-05 04:15:41,810 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40609.95W
2024-01-05 04:15:41,811 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:15:41,813 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:15:41,815 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:15:41,817 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:15:41.816740
2024-01-05 04:15:41,818 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -792.251523s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:15:41,820 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:15:41.819754
2024-01-05 04:15:41,821 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89642.528072s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:15:41,822 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:15:41,827 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:15:41,828 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:15:41,832 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424531.508327, power=2354.79, imported=3359994.497374122, exported=0)
2024-01-05 04:15:41,833 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00286786, power1: 2354.79, power2: 2351.58
2024-01-05 04:15:41,837 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.7486
2024-01-05 04:15:41,838 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.7486 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424541.8326082, power=2351.58, imported=3360001.245969592, exported=0)
2024-01-05 04:15:41,840 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:15:41,842 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:15:41,845 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3037.11, daily_exported=0, power=4287.95, imported=7209841.8, exported=0))
2024-01-05 04:15:41,847 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.03, 6.07, 5.99], daily_imported=3037.11, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7209841.8, phases_in_use=3, plug_state=True, power=4287.95, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.34, 238.56, 239.67]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3086.9199999999255, imported_since_plugged=3086.9199999999255, range_charged=15.434599999999627, time_charged='4:03', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d4e20>), 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))
2024-01-05 04:15:41,848 - {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=[])
2024-01-05 04:15:41,850 - {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'])
2024-01-05 04:15:41,851 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2425.0, 2121.0, 2131.0], currents=[10.2, 8.9, 8.9], voltages=[239.31, 239.93, 238.19], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=8135.0, imported=7336068.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6678.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40609.95, raw_currents_left=[58.79, 60.13, 60.17], surplus_power_left=0, state_str=''))
2024-01-05 04:15:41,852 - {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=2351.58, invalid_home_consumption=0, daily_yield_home_consumption=4922.5534027117, imported_home_consumption=3360001.245969592, disengageable_smarthome_power=0))
2024-01-05 04:15:41,853 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:15:41,857 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:15:41,859 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:15:41,861 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:15:41,863 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:15: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=20000, 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=66, soc_timestamp=1704424501.129822, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:15:41,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)
2024-01-05 04:15:41,885 - {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)
2024-01-05 04:15:41,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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:15:41,890 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:15:41,893 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:15:41,899 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:15:41,902 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x70b2c940>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:15:41,903 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:15:41,905 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=38.47))
2024-01-05 04:15:41,909 - {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=8202091.902000001, power=38.47))
2024-01-05 04:15:41,910 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424531, 'time': '04:15:31', 'grid': 6.688, 'house-power': 2.355, 'charging-all': 4.281, 'pv-all': -0.052, 'cp1-power': 4.281, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:15:41,917 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:15:41,918 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:15:41,919 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:15:41,924 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:15:41,925 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:15:41,930 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:15:41,931 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:15:41,933 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:15:41,935 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:15:41,947 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:15:41,949 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.79, 54.13, 54.17]A verbleibende Ströme, 36469.95W verbleibende Leistung
2024-01-05 04:15:41,950 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:15:41,953 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:15:41,957 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:15:41,964 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:15:41,965 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:15:41,967 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:15:41,971 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6630.050000000003W
2024-01-05 04:15:41,973 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6630.050000000003W
2024-01-05 04:15:41,974 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:15:41,975 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:15:41,979 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3098.6399999996647 counter 7209841.8
2024-01-05 04:15:41,982 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:15:41,985 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:15:42,009 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:15:42,306 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:15:42,315 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:15:45,323 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:15:45,324 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:15:50,334 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:15:50,335 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:15:50,381 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:15:50,382 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:15:50,389 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:15:50,391 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:15:50,394 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:15:50,439 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:15:50,449 - {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":240.3, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424549},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:15","unixtime":1704424551,"uptime":3783913,"ram_size":249000,"ram_free":145092,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:15:50,453 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424541.1039152, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:15:50,454 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00259701, power1: 0, power2: 0
2024-01-05 04:15:50,455 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6691, -2427, -2125, -2139], Scale 0
2024-01-05 04:15:50,461 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:15:50,469 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424550.4531417, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:15:50,475 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:15:50,480 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [101, 89, 89], Scale -1
2024-01-05 04:15:50,508 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23925, 23988, 23807, 0, 0, 0, 0], Scale -2
2024-01-05 04:15:50,552 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:15:50,589 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9959, 9900, 9990], Scale -2
2024-01-05 04:15:50,631 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336083, 3034564, 2160063, 2693400], Scale 0
2024-01-05 04:15:50,633 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.100000000000001, 8.9, 8.9], powers=[2427.0, 2125.0, 2139.0], voltages=[239.25, 239.88, 238.07], power_factors=[0.9959, 0.99, 0.9990000000000001], imported=7336083.0, exported=4871307.0, power=6691.0, frequency=50.0)
2024-01-05 04:15:50,638 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:15:50,659 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5244], Scale -2
2024-01-05 04:15:50,703 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:15:50,732 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 32, 34], Scale -2
2024-01-05 04:15:50,771 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4372], Scale -2
2024-01-05 04:15:50,772 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.32, 0.34], power=52.44, exported=7869605.0, dc_power=43.72)
2024-01-05 04:15:50,773 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:15:50,829 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424541.4997003, power=0.0, imported=154654.67883156077, exported=119765.68829225974)
2024-01-05 04:15:50,829 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00259147, power1: 0, power2: 0
2024-01-05 04:15:50,830 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:15:50,830 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424550.8289895, power=0.0, imported=154654.67883156077, exported=119765.68829225974)
2024-01-05 04:15:50,835 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.68829225974, power=0.0, soc=18.0)
2024-01-05 04:15:50,838 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:15:50,839 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.68829225974, power=0.0, soc=18.0)
2024-01-05 04:15:50,881 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:15:50,882 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:15:50,886 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=52.44, exported=7904493.99, dc_power=None)
2024-01-05 04:15:50,885 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:15:50,887 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=52.44, exported=7904493.99, dc_power=None)
2024-01-05 04:15:50,895 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:15:50,903 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:15:50,956 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:15:50,956 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.9, 8.9], powers=[2427.0, 2125.0, 2139.0], voltages=[239.25, 239.88, 238.07], power_factors=[0.9959, 0.99, 0.9990000000000001], imported=7336083.0, exported=4871307.0, power=6691.0, frequency=50.0)
2024-01-05 04:15:51,111 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:15:51,112 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:15:51,114 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.91, 60.14, 60.18]A
2024-01-05 04:15:51,116 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40596.21W
2024-01-05 04:15:51,117 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:15:51,120 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:15:51,121 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:15:51,124 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:15:51.123911
2024-01-05 04:15:51,125 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -801.558694s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:15:51,128 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:15:51.127782
2024-01-05 04:15:51,130 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89633.220044s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:15:51,132 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:15:51,137 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:15:51,139 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:15:51,149 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424541.8326082, power=2351.58, imported=3360001.245969592, exported=0)
2024-01-05 04:15:51,150 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0025879, power1: 2351.58, power2: 2351.35
2024-01-05 04:15:51,151 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.08535
2024-01-05 04:15:51,153 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.08535 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424551.1490366, power=2351.3500000000004, imported=3360007.3313183035, exported=0)
2024-01-05 04:15:51,156 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:15:51,157 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:15:51,159 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3037.11, daily_exported=0, power=4287.21, imported=7209854.0, exported=0))
2024-01-05 04:15:51,160 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.04, 6.08, 6.01], daily_imported=3037.11, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7209854.0, phases_in_use=3, plug_state=True, power=4287.21, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.36, 238.54, 239.68]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3098.6399999996647, imported_since_plugged=3098.6399999996647, range_charged=15.493199999998325, time_charged='4:04', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7ea460>), 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))
2024-01-05 04:15:51,161 - {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=[])
2024-01-05 04:15:51,163 - {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'])
2024-01-05 04:15:51,164 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2427.0, 2125.0, 2139.0], currents=[10.1, 8.9, 8.9], voltages=[239.25, 239.88, 238.07], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=8135.0, imported=7336083.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6691.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40596.21, raw_currents_left=[58.91, 60.14, 60.18], surplus_power_left=0, state_str=''))
2024-01-05 04:15:51,167 - {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=2351.3500000000004, invalid_home_consumption=0, daily_yield_home_consumption=4922.5534027117, imported_home_consumption=3360007.3313183035, disengageable_smarthome_power=0))
2024-01-05 04:15:51,168 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:15:51,170 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:15:51,172 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:15:51,173 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:15:51,175 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:15:51,177 - {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=20000, 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=66, soc_timestamp=1704424501.129822, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:15:51,178 - {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)
2024-01-05 04:15:51,180 - {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)
2024-01-05 04:15:51,181 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:15:51,181 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:15:51,183 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:15:51,184 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:15:51,186 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7feb08>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:15:51,187 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:15:51,188 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=52.44))
2024-01-05 04:15:51,189 - {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=8202091.902000001, power=52.44))
2024-01-05 04:15:51,190 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424542, 'time': '04:15:42', 'grid': 6.678, 'house-power': 2.352, 'charging-all': 4.288, 'pv-all': -0.038, 'cp1-power': 4.288, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:15:51,192 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:15:51,193 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:15:51,196 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:15:51,197 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:15:51,198 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:15:51,200 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:15:51,202 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:15:51,204 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:15:51,209 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:15:51,210 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:15:51,217 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.91, 54.14, 54.18]A verbleibende Ströme, 36456.21W verbleibende Leistung
2024-01-05 04:15:51,223 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:15:51,228 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:15:51,236 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:15:51,243 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:15:51,245 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:15:51,252 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:15:51,256 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6643.790000000001W
2024-01-05 04:15:51,257 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6643.790000000001W
2024-01-05 04:15:51,258 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:15:51,259 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:15:51,261 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3110.839999999851 counter 7209854.0
2024-01-05 04:15:51,264 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:15:51,267 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:15:51,313 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:15:51,551 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:15:55,568 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:15:55,569 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:16:00,580 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:16:00,581 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:16:00,625 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:16:00,629 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:16:00,631 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:16:00,641 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:16:00,643 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:16:00,700 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6675, -2425, -2120, -2129], Scale 0
2024-01-05 04:16:00,719 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:16:00,725 - {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":240.6, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424559},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:16","unixtime":1704424561,"uptime":3783923,"ram_size":248948,"ram_free":144508,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:16:00,729 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [101, 89, 89], Scale -1
2024-01-05 04:16:00,735 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424550.4531417, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:16:00,762 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00285624, power1: 0, power2: 0
2024-01-05 04:16:00,764 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:16:00,766 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424560.7356002, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:16:00,769 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23921, 23987, 23803, 0, 0, 0, 0], Scale -2
2024-01-05 04:16:00,773 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:16:00,851 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:16:00,878 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9980, 9890, 9990], Scale -2
2024-01-05 04:16:00,902 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336105, 3034575, 2160072, 2693410], Scale 0
2024-01-05 04:16:00,905 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.100000000000001, 8.9, 8.9], powers=[2425.0, 2120.0, 2129.0], voltages=[239.21, 239.87, 238.03], power_factors=[0.998, 0.9890000000000001, 0.9990000000000001], imported=7336105.0, exported=4871307.0, power=6675.0, frequency=50.0)
2024-01-05 04:16:00,907 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:16:01,023 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4788], Scale -2
2024-01-05 04:16:01,060 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:16:01,080 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 32], Scale -2
2024-01-05 04:16:01,099 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4861], Scale -2
2024-01-05 04:16:01,099 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.32], power=47.88, exported=7869605.0, dc_power=48.61)
2024-01-05 04:16:01,101 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:16:01,142 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424550.8289895, power=0.0, imported=154654.67883156077, exported=119765.68829225974)
2024-01-05 04:16:01,143 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00286482, power1: 0, power2: 0
2024-01-05 04:16:01,143 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:16:01,144 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424561.1423385, power=0.0, imported=154654.67883156077, exported=119765.68829225974)
2024-01-05 04:16:01,145 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.68829225974, power=0.0, soc=18.0)
2024-01-05 04:16:01,149 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:16:01,150 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.68829225974, power=0.0, soc=18.0)
2024-01-05 04:16:01,238 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:16:01,239 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:16:01,241 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.88, exported=7904493.99, dc_power=None)
2024-01-05 04:16:01,242 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:16:01,243 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.88, exported=7904493.99, dc_power=None)
2024-01-05 04:16:01,254 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:16:01,256 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:16:01,317 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:16:01,318 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.9, 8.9], powers=[2425.0, 2120.0, 2129.0], voltages=[239.21, 239.87, 238.03], power_factors=[0.998, 0.9890000000000001, 0.9990000000000001], imported=7336105.0, exported=4871307.0, power=6675.0, frequency=50.0)
2024-01-05 04:16:01,480 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:16:01,484 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:16:01,488 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.89, 60.13, 60.17]A
2024-01-05 04:16:01,490 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40609.33W
2024-01-05 04:16:01,492 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:16:01,495 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:16:01,497 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:16:01,498 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:16:01.498114
2024-01-05 04:16:01,500 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -811.932897s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:16:01,503 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:16:01.503079
2024-01-05 04:16:01,504 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89622.844747s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:16:01,506 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:16:01,511 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:16:01,512 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:16:01,541 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424551.1490366, power=2351.3500000000004, imported=3360007.3313183035, exported=0)
2024-01-05 04:16:01,543 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00288677, power1: 2351.35, power2: 2342.79
2024-01-05 04:16:01,544 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.77546
2024-01-05 04:16:01,546 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.77546 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424561.5414214, power=2342.79, imported=3360014.1067778915, exported=0)
2024-01-05 04:16:01,552 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:16:01,553 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:16:01,555 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3037.11, daily_exported=0, power=4284.33, imported=7209866.21, exported=0))
2024-01-05 04:16:01,557 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.03, 6.07, 5.99], daily_imported=3037.11, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7209866.21, phases_in_use=3, plug_state=True, power=4284.33, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.54, 238.73, 239.87]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3110.839999999851, imported_since_plugged=3110.839999999851, range_charged=15.554199999999256, time_charged='4:04', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x701f1850>), 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))
2024-01-05 04:16:01,558 - {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=[])
2024-01-05 04:16:01,559 - {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'])
2024-01-05 04:16:01,561 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2425.0, 2120.0, 2129.0], currents=[10.1, 8.9, 8.9], voltages=[239.21, 239.87, 238.03], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=8135.0, imported=7336105.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6675.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40609.33, raw_currents_left=[58.89, 60.13, 60.17], surplus_power_left=0, state_str=''))
2024-01-05 04:16:01,563 - {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=2342.79, invalid_home_consumption=0, daily_yield_home_consumption=4922.5534027117, imported_home_consumption=3360014.1067778915, disengageable_smarthome_power=0))
2024-01-05 04:16:01,565 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:16:01,567 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:16:01,568 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:16:01,569 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:16:01,571 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:16:01,572 - {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=20000, 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=66, soc_timestamp=1704424557.255695, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:16:01,573 - {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)
2024-01-05 04:16:01,574 - {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)
2024-01-05 04:16:01,576 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:16:01,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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:16:01,579 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:16:01,580 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:16:01,581 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x70b3be98>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:16:01,582 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:16:01,585 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=47.88))
2024-01-05 04:16:01,586 - {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=8202091.902000001, power=47.88))
2024-01-05 04:16:01,587 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424551, 'time': '04:15:51', 'grid': 6.691, 'house-power': 2.351, 'charging-all': 4.287, 'pv-all': -0.052, 'cp1-power': 4.287, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:16:01,589 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:16:01,590 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:16:01,593 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:16:01,598 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:16:01,599 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:16:01,602 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:16:01,604 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:16:01,605 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:16:01,606 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:16:01,608 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:16:01,610 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.89, 54.13, 54.17]A verbleibende Ströme, 36469.33W verbleibende Leistung
2024-01-05 04:16:01,611 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:16:01,616 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:16:01,617 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:16:01,619 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:16:01,621 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:16:01,623 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:16:01,624 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6630.669999999998W
2024-01-05 04:16:01,625 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6630.669999999998W
2024-01-05 04:16:01,627 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:16:01,629 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:16:01,631 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3123.0499999998137 counter 7209866.21
2024-01-05 04:16:01,635 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:16:01,640 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:16:01,673 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:16:01,968 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:16:01,975 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:16:05,989 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:16:10,002 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:16:10,003 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:16:10,048 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:16:10,049 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:16:10,056 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:16:10,058 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:16:10,060 - {pymodbus.client.sync:218} - {ERROR:device0} - Connection to (solaredge, 1502) failed: [Errno 111] Connection refused
2024-01-05 04:16:10,099 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:16:10,101 - {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":240.7, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424568},"temperature":{"tC":29.3, "tF":84.7}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:16","unixtime":1704424570,"uptime":3783932,"ram_size":248932,"ram_free":144292,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:16:10,105 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424560.7356002, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:16:10,106 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00260277, power1: 0, power2: 0
2024-01-05 04:16:10,107 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:16:10,108 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424570.1055732, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:16:10,109 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:16:10,166 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:16:10,167 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.68829225974, power=0.0, soc=18.0)
2024-01-05 04:16:10,212 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:16:10,221 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:16:10,222 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:16:10,225 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.88, exported=7939382.98, dc_power=None)
2024-01-05 04:16:10,226 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:16:10,227 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.88, exported=7939382.98, dc_power=None)
2024-01-05 04:16:10,229 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:16:10,290 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:16:10,291 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.9, 8.9], powers=[2425.0, 2120.0, 2129.0], voltages=[239.21, 239.87, 238.03], power_factors=[0.998, 0.9890000000000001, 0.9990000000000001], imported=7336105.0, exported=4871307.0, power=6675.0, frequency=50.0)
2024-01-05 04:16:10,487 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:16:10,489 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:16:10,492 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.89, 60.13, 60.16]A
2024-01-05 04:16:10,493 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40610.05W
2024-01-05 04:16:10,495 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:16:10,497 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:16:10,499 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:16:10,501 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:16:10.500446
2024-01-05 04:16:10,502 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -820.935229s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:16:10,503 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:16:10.502963
2024-01-05 04:16:10,505 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89613.844863s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:16:10,506 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:16:10,532 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:16:10,541 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.06
2024-01-05 04:16:10,567 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424561.5414214, power=2342.79, imported=3360014.1067778915, exported=0)
2024-01-05 04:16:10,570 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00250715, power1: 2342.79, power2: 2342.07
2024-01-05 04:16:10,571 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 5.87282
2024-01-05 04:16:10,573 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 5.87282 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424570.567154, power=2342.0699999999997, imported=3360019.9795963974, exported=0)
2024-01-05 04:16:10,575 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:16:10,577 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:16:10,578 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3037.11, daily_exported=0, power=4285.05, imported=7209875.0, exported=0))
2024-01-05 04:16:10,580 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.03, 6.06, 5.99], daily_imported=3037.11, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7209875.0, phases_in_use=3, plug_state=True, power=4285.05, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.66, 238.86, 239.98]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3123.0499999998137, imported_since_plugged=3123.0499999998137, range_charged=15.615249999999067, time_charged='4:04', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b3d838>), 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))
2024-01-05 04:16:10,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=[])
2024-01-05 04:16:10,586 - {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'])
2024-01-05 04:16:10,588 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2425.0, 2120.0, 2129.0], currents=[10.1, 8.9, 8.9], voltages=[239.21, 239.87, 238.03], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=8135.0, imported=7336105.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6675.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40610.05, raw_currents_left=[58.89, 60.13, 60.16], surplus_power_left=0, state_str=''))
2024-01-05 04:16:10,590 - {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=2342.0699999999997, invalid_home_consumption=0, daily_yield_home_consumption=4922.5534027117, imported_home_consumption=3360019.9795963974, disengageable_smarthome_power=0))
2024-01-05 04:16:10,591 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:16:10,595 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:16:10,597 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:16:10,602 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:16:10,604 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:16:10,612 - {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=20000, 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=66, soc_timestamp=1704424557.255695, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:16:10,616 - {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)
2024-01-05 04:16:10,618 - {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)
2024-01-05 04:16:10,620 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:16:10,632 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:16:10,632 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:16:10,633 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:16:10,634 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f744988>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:16:10,634 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:16:10,636 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7939382.98, fault_state=0, fault_str='Kein Fehler.', power=47.88))
2024-01-05 04:16:10,638 - {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=8236980.892000001, power=47.88))
2024-01-05 04:16:10,639 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424561, 'time': '04:16:01', 'grid': 6.675, 'house-power': 2.343, 'charging-all': 4.284, 'pv-all': -0.048, 'cp1-power': 4.284, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:16:10,640 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:16:10,644 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:16:10,648 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:16:10,651 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:16:10,652 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:16:10,653 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:16:10,653 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:16:10,655 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:16:10,657 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:16:10,659 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:16:10,661 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.89, 54.13, 54.16]A verbleibende Ströme, 36470.05W verbleibende Leistung
2024-01-05 04:16:10,662 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:16:10,665 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:16:10,667 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:16:10,668 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:16:10,669 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:16:10,672 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:16:10,673 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6629.949999999997W
2024-01-05 04:16:10,674 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6629.949999999997W
2024-01-05 04:16:10,675 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:16:10,676 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:16:10,677 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3131.839999999851 counter 7209875.0
2024-01-05 04:16:10,680 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:16:10,682 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:16:10,755 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:16:11,143 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:16:11,144 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:16:15,157 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:16:15,158 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:16:20,170 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:16:20,170 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:16:20,215 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:16:20,216 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:16:20,217 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:16:20,223 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:16:20,275 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:16:20,277 - {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":240.6, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424579},"temperature":{"tC":29.2, "tF":84.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:16","unixtime":1704424581,"uptime":3783942,"ram_size":248948,"ram_free":144508,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:16:20,279 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424570.1055732, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:16:20,279 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00282601, power1: 0, power2: 0
2024-01-05 04:16:20,280 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:16:20,280 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424580.2792194, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:16:20,281 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:16:23,228 - {pymodbus.client.sync:218} - {ERROR:device0} - Connection to (solaredge, 1502) failed: timed out
2024-01-05 04:16:23,235 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:16:23,236 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.68829225974, power=0.0, soc=18.0)
2024-01-05 04:16:23,271 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:16:23,273 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:16:23,274 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.88, exported=7974271.970000001, dc_power=None)
2024-01-05 04:16:23,276 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:16:23,276 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.88, exported=7974271.970000001, dc_power=None)
2024-01-05 04:16:23,278 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:16:23,281 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:16:23,336 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:16:23,337 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.9, 8.9], powers=[2425.0, 2120.0, 2129.0], voltages=[239.21, 239.87, 238.03], power_factors=[0.998, 0.9890000000000001, 0.9990000000000001], imported=7336105.0, exported=4871307.0, power=6675.0, frequency=50.0)
2024-01-05 04:16:23,493 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:16:23,496 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:16:23,498 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.9, 60.14, 60.18]A
2024-01-05 04:16:23,500 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40612.22W
2024-01-05 04:16:23,501 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:16:23,503 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:16:23,504 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:16:23,506 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:16:23.506514
2024-01-05 04:16:23,507 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -833.941297s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:16:23,510 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:16:23.509754
2024-01-05 04:16:23,512 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89600.838072s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:16:23,514 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:16:23,518 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:16:23,522 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:16:23,532 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424570.567154, power=2342.0699999999997, imported=3360019.9795963974, exported=0)
2024-01-05 04:16:23,534 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00360159, power1: 2342.07, power2: 2339.9
2024-01-05 04:16:23,536 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 8.43127
2024-01-05 04:16:23,537 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 8.43127 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424583.5328777, power=2339.8999999999996, imported=3360028.410864403, exported=0)
2024-01-05 04:16:23,540 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:16:23,542 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:16:23,547 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3037.11, daily_exported=0, power=4287.22, imported=7209892.09, exported=0))
2024-01-05 04:16:23,548 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.04, 6.08, 6.0], daily_imported=3037.11, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7209892.09, phases_in_use=3, plug_state=True, power=4287.22, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.63, 238.87, 239.97]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3131.839999999851, imported_since_plugged=3131.839999999851, range_charged=15.659199999999254, time_charged='4:04', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b3dfa0>), 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))
2024-01-05 04:16:23,551 - {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=[])
2024-01-05 04:16:23,552 - {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'])
2024-01-05 04:16:23,553 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2425.0, 2120.0, 2129.0], currents=[10.1, 8.9, 8.9], voltages=[239.21, 239.87, 238.03], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=8135.0, imported=7336105.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6675.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40612.22, raw_currents_left=[58.9, 60.14, 60.18], surplus_power_left=0, state_str=''))
2024-01-05 04:16:23,561 - {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=2339.8999999999996, invalid_home_consumption=0, daily_yield_home_consumption=4922.5534027117, imported_home_consumption=3360028.410864403, disengageable_smarthome_power=0))
2024-01-05 04:16:23,562 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:16:23,563 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:16:23,567 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:16:23,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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:16:23,568 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:16:23,569 - {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=20000, 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=66, soc_timestamp=1704424557.255695, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:16:23,569 - {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)
2024-01-05 04:16:23,569 - {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)
2024-01-05 04:16:23,570 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:16:23,570 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:16:23,571 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:16:23,571 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:16:23,571 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f75f538>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:16:23,572 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:16:23,572 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7974271.97, fault_state=0, fault_str='Kein Fehler.', power=47.88))
2024-01-05 04:16:23,573 - {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=8271869.881999999, power=47.88))
2024-01-05 04:16:23,573 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424570, 'time': '04:16:10', 'grid': 6.675, 'house-power': 2.342, 'charging-all': 4.285, 'pv-all': -0.048, 'cp1-power': 4.285, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:16:23,574 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:16:23,574 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:16:23,574 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:16:23,575 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:16:23,576 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:16:23,582 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:16:23,584 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:16:23,585 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:16:23,586 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:16:23,588 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:16:23,597 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.9, 54.14, 54.18]A verbleibende Ströme, 36472.22W verbleibende Leistung
2024-01-05 04:16:23,598 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:16:23,601 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:16:23,606 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:16:23,607 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:16:23,609 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:16:23,611 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:16:23,614 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6627.779999999999W
2024-01-05 04:16:23,615 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6627.779999999999W
2024-01-05 04:16:23,619 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:16:23,620 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:16:23,625 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3148.929999999702 counter 7209892.09
2024-01-05 04:16:23,628 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:16:23,634 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:16:23,685 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:16:23,935 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:16:25,965 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:16:25,966 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:16:30,980 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:16:30,982 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:16:31,045 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:16:31,048 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:16:31,051 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:16:31,066 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:16:31,122 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:16:31,124 - {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":240.6, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424589},"temperature":{"tC":29.0, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:16","unixtime":1704424591,"uptime":3783953,"ram_size":248948,"ram_free":144508,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:16:31,129 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424580.2792194, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:16:31,130 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00301381, power1: 0, power2: 0
2024-01-05 04:16:31,131 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:16:31,132 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424591.1289203, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:16:31,133 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:16:34,065 - {pymodbus.client.sync:218} - {ERROR:device0} - Connection to (solaredge, 1502) failed: timed out
2024-01-05 04:16:34,075 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:16:34,076 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.68829225974, power=0.0, soc=18.0)
2024-01-05 04:16:34,121 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:16:34,133 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:16:34,135 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:16:34,137 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.88, exported=8009160.960000001, dc_power=None)
2024-01-05 04:16:34,138 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:16:34,139 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.88, exported=8009160.960000001, dc_power=None)
2024-01-05 04:16:34,139 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:16:34,199 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:16:34,200 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.9, 8.9], powers=[2425.0, 2120.0, 2129.0], voltages=[239.21, 239.87, 238.03], power_factors=[0.998, 0.9890000000000001, 0.9990000000000001], imported=7336105.0, exported=4871307.0, power=6675.0, frequency=50.0)
2024-01-05 04:16:34,394 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:16:34,400 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:16:34,410 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.89, 60.13, 60.17]A
2024-01-05 04:16:34,417 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40612.42W
2024-01-05 04:16:34,418 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:16:34,428 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:16:34,433 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:16:34,442 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:16:34.442015
2024-01-05 04:16:34,448 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -844.876798s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:16:34,452 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:16:34.452289
2024-01-05 04:16:34,456 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89589.895537s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:16:34,457 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:16:34,465 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:16:34,468 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:16:34,503 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424583.5328777, power=2339.8999999999996, imported=3360028.410864403, exported=0)
2024-01-05 04:16:34,509 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00304747, power1: 2339.9, power2: 2339.7
2024-01-05 04:16:34,511 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.13046
2024-01-05 04:16:34,512 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.13046 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424594.503759, power=2339.7, imported=3360035.541327705, exported=0)
2024-01-05 04:16:34,518 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:16:34,522 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:16:34,524 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3037.11, daily_exported=0, power=4287.42, imported=7209903.81, exported=0))
2024-01-05 04:16:34,527 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.03, 6.07, 5.99], daily_imported=3037.11, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7209903.81, phases_in_use=3, plug_state=True, power=4287.42, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.66, 238.85, 239.99]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3148.929999999702, imported_since_plugged=3148.929999999702, range_charged=15.744649999998511, time_charged='4:04', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b77118>), 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))
2024-01-05 04:16:34,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=[])
2024-01-05 04:16:34,533 - {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'])
2024-01-05 04:16:34,535 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2425.0, 2120.0, 2129.0], currents=[10.1, 8.9, 8.9], voltages=[239.21, 239.87, 238.03], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=8135.0, imported=7336105.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6675.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40612.42, raw_currents_left=[58.89, 60.13, 60.17], surplus_power_left=0, state_str=''))
2024-01-05 04:16:34,538 - {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=2339.7, invalid_home_consumption=0, daily_yield_home_consumption=4922.5534027117, imported_home_consumption=3360035.541327705, disengageable_smarthome_power=0))
2024-01-05 04:16:34,539 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:16:34,540 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:16:34,541 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:16:34,542 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:16:34,543 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:16:34,544 - {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=20000, 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=66, soc_timestamp=1704424557.255695, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:16:34,546 - {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)
2024-01-05 04:16:34,546 - {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)
2024-01-05 04:16:34,551 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:16:34,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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:16:34,558 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:16:34,559 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:16:34,560 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x701fa2f8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:16:34,561 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:16:34,562 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8009160.96, fault_state=0, fault_str='Kein Fehler.', power=47.88))
2024-01-05 04:16:34,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=8306758.8719999995, power=47.88))
2024-01-05 04:16:34,563 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424583, 'time': '04:16:23', 'grid': 6.675, 'house-power': 2.34, 'charging-all': 4.287, 'pv-all': -0.048, 'cp1-power': 4.287, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:16:34,564 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:16:34,564 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:16:34,564 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:16:34,565 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:16:34,565 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:16:34,566 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:16:34,566 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:16:34,567 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:16:34,567 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:16:34,568 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:16:34,569 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.89, 54.13, 54.17]A verbleibende Ströme, 36472.42W verbleibende Leistung
2024-01-05 04:16:34,570 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:16:34,572 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:16:34,573 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:16:34,574 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:16:34,574 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:16:34,576 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:16:34,576 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6627.580000000002W
2024-01-05 04:16:34,577 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6627.580000000002W
2024-01-05 04:16:34,577 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:16:34,578 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:16:34,579 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3160.649999999441 counter 7209903.81
2024-01-05 04:16:34,586 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:16:34,608 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:16:34,633 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:16:34,896 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:16:34,897 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:16:35,900 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:16:35,901 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:16:40,914 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:16:40,915 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:16:40,991 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:16:40,992 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:16:40,994 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:16:41,005 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:16:41,053 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:16:41,056 - {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":240.6, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424599},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:16","unixtime":1704424601,"uptime":3783963,"ram_size":249000,"ram_free":145092,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-05 04:16:41,083 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424591.1289203, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:16:41,086 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00276503, power1: 0, power2: 0
2024-01-05 04:16:41,088 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:16:41,089 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424601.0830297, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:16:41,099 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:16:44,011 - {pymodbus.client.sync:218} - {ERROR:device0} - Connection to (solaredge, 1502) failed: timed out
2024-01-05 04:16:44,022 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:16:44,023 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.68829225974, power=0.0, soc=18.0)
2024-01-05 04:16:44,081 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:16:44,082 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:16:44,084 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.88, exported=8044049.950000001, dc_power=None)
2024-01-05 04:16:44,086 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:16:44,086 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.88, exported=8044049.950000001, dc_power=None)
2024-01-05 04:16:44,096 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:16:44,105 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:16:44,176 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:16:44,177 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.9, 8.9], powers=[2425.0, 2120.0, 2129.0], voltages=[239.21, 239.87, 238.03], power_factors=[0.998, 0.9890000000000001, 0.9990000000000001], imported=7336105.0, exported=4871307.0, power=6675.0, frequency=50.0)
2024-01-05 04:16:44,375 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:16:44,379 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:16:44,383 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.9, 60.14, 60.18]A
2024-01-05 04:16:44,385 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40615.11W
2024-01-05 04:16:44,387 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:16:44,389 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:16:44,390 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:16:44,392 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:16:44.392101
2024-01-05 04:16:44,393 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -854.826884s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:16:44,394 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:16:44.394536
2024-01-05 04:16:44,395 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89579.95329s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:16:44,396 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:16:44,399 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:16:44,400 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:16:44,407 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424594.503759, power=2339.7, imported=3360035.541327705, exported=0)
2024-01-05 04:16:44,409 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00275109, power1: 2339.7, power2: 2337.01
2024-01-05 04:16:44,411 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.43302
2024-01-05 04:16:44,412 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.43302 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424604.4076824, power=2337.01, imported=3360041.974352445, exported=0)
2024-01-05 04:16:44,416 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:16:44,423 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:16:44,423 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3037.11, daily_exported=0, power=4290.11, imported=7209916.02, exported=0))
2024-01-05 04:16:44,426 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.04, 6.08, 6.0], daily_imported=3037.11, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7209916.02, phases_in_use=3, plug_state=True, power=4290.11, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.7, 238.79, 239.94]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3160.649999999441, imported_since_plugged=3160.649999999441, range_charged=15.803249999997208, time_charged='4:04', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b27eb0>), 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))
2024-01-05 04:16:44,427 - {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=[])
2024-01-05 04:16:44,434 - {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'])
2024-01-05 04:16:44,436 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2425.0, 2120.0, 2129.0], currents=[10.1, 8.9, 8.9], voltages=[239.21, 239.87, 238.03], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=8135.0, imported=7336105.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6675.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40615.11, raw_currents_left=[58.9, 60.14, 60.18], surplus_power_left=0, state_str=''))
2024-01-05 04:16:44,437 - {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=2337.01, invalid_home_consumption=0, daily_yield_home_consumption=4922.5534027117, imported_home_consumption=3360041.974352445, disengageable_smarthome_power=0))
2024-01-05 04:16:44,438 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:16:44,438 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:16:44,439 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:16:44,439 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:16:44,440 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:16:44,440 - {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=20000, 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=66, soc_timestamp=1704424557.255695, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:16:44,441 - {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)
2024-01-05 04:16:44,441 - {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)
2024-01-05 04:16:44,441 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:16:44,442 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:16:44,442 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:16:44,443 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:16:44,443 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7edf58>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:16:44,443 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:16:44,444 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8044049.95, fault_state=0, fault_str='Kein Fehler.', power=47.88))
2024-01-05 04:16:44,444 - {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=8341647.862, power=47.88))
2024-01-05 04:16:44,445 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424594, 'time': '04:16:34', 'grid': 6.675, 'house-power': 2.34, 'charging-all': 4.287, 'pv-all': -0.048, 'cp1-power': 4.287, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:16:44,446 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:16:44,447 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:16:44,448 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:16:44,449 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:16:44,450 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:16:44,451 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:16:44,452 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:16:44,452 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:16:44,453 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:16:44,453 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:16:44,456 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.9, 54.14, 54.18]A verbleibende Ströme, 36475.11W verbleibende Leistung
2024-01-05 04:16:44,457 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:16:44,459 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:16:44,461 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:16:44,462 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:16:44,463 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:16:44,465 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:16:44,467 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6624.889999999999W
2024-01-05 04:16:44,468 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6624.889999999999W
2024-01-05 04:16:44,469 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:16:44,470 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:16:44,471 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3172.859999999404 counter 7209916.02
2024-01-05 04:16:44,473 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:16:44,477 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:16:44,507 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:16:44,773 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:16:45,796 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:16:45,797 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:16:50,808 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:16:50,809 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:16:50,849 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:16:50,856 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:16:50,863 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:16:50,864 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:16:50,864 - {pymodbus.client.sync:218} - {ERROR:device0} - Connection to (solaredge, 1502) failed: [Errno 111] Connection refused
2024-01-05 04:16:50,911 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:16:50,913 - {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":240.7, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424609},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:16","unixtime":1704424611,"uptime":3783973,"ram_size":249000,"ram_free":145092,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:16:50,919 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424601.0830297, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:16:50,920 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00273225, power1: 0, power2: 0
2024-01-05 04:16:50,921 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:16:50,923 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424610.919136, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:16:50,926 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:16:50,951 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:16:50,956 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.68829225974, power=0.0, soc=18.0)
2024-01-05 04:16:51,014 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:16:51,025 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:16:51,027 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:16:51,029 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.88, exported=8078938.940000001, dc_power=None)
2024-01-05 04:16:51,030 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:16:51,031 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.88, exported=8078938.940000001, dc_power=None)
2024-01-05 04:16:51,033 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:16:51,091 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:16:51,092 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.9, 8.9], powers=[2425.0, 2120.0, 2129.0], voltages=[239.21, 239.87, 238.03], power_factors=[0.998, 0.9890000000000001, 0.9990000000000001], imported=7336105.0, exported=4871307.0, power=6675.0, frequency=50.0)
2024-01-05 04:16:51,570 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:16:51,572 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:16:51,582 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.9, 60.14, 60.18]A
2024-01-05 04:16:51,583 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40616.66W
2024-01-05 04:16:51,585 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:16:51,587 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:16:51,592 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:16:51,599 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:16:51.599442
2024-01-05 04:16:51,603 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -862.034225s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:16:51,609 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:16:51.608560
2024-01-05 04:16:51,612 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89572.739266s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:16:51,614 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:16:51,634 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:16:51,635 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:16:51,676 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424604.4076824, power=2337.01, imported=3360041.974352445, exported=0)
2024-01-05 04:16:51,678 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00201911, power1: 2337.01, power2: 2335.46
2024-01-05 04:16:51,681 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 4.71711
2024-01-05 04:16:51,683 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 4.71711 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424611.6764684, power=2335.46, imported=3360046.691461376, exported=0)
2024-01-05 04:16:51,686 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:16:51,695 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:16:51,701 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3037.11, daily_exported=0, power=4291.66, imported=7209925.78, exported=0))
2024-01-05 04:16:51,703 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.04, 6.08, 6.0], daily_imported=3037.11, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7209925.78, phases_in_use=3, plug_state=True, power=4291.66, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.73, 238.9, 240.02]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3172.859999999404, imported_since_plugged=3172.859999999404, range_charged=15.86429999999702, time_charged='4:05', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x701f1028>), 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))
2024-01-05 04:16:51,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=[])
2024-01-05 04:16:51,715 - {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'])
2024-01-05 04:16:51,716 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2425.0, 2120.0, 2129.0], currents=[10.1, 8.9, 8.9], voltages=[239.21, 239.87, 238.03], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=8135.0, imported=7336105.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6675.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40616.66, raw_currents_left=[58.9, 60.14, 60.18], surplus_power_left=0, state_str=''))
2024-01-05 04:16:51,717 - {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=2335.46, invalid_home_consumption=0, daily_yield_home_consumption=4922.5534027117, imported_home_consumption=3360046.691461376, disengageable_smarthome_power=0))
2024-01-05 04:16:51,719 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:16:51,721 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:16:51,724 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:16:51,726 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:16:51,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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:16:51,729 - {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=20000, 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=66, soc_timestamp=1704424557.255695, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:16:51,731 - {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)
2024-01-05 04:16:51,733 - {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)
2024-01-05 04:16:51,734 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:16:51,735 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:16:51,736 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:16:51,737 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:16:51,738 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x701f1850>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:16:51,739 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:16:51,740 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8078938.94, fault_state=0, fault_str='Kein Fehler.', power=47.88))
2024-01-05 04:16:51,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=8376536.852, power=47.88))
2024-01-05 04:16:51,742 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424604, 'time': '04:16:44', 'grid': 6.675, 'house-power': 2.337, 'charging-all': 4.29, 'pv-all': -0.048, 'cp1-power': 4.29, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:16:51,742 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:16:51,743 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:16:51,743 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:16:51,743 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:16:51,744 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:16:51,744 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:16:51,744 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:16:51,745 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:16:51,745 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:16:51,746 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:16:51,747 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.9, 54.14, 54.18]A verbleibende Ströme, 36476.66W verbleibende Leistung
2024-01-05 04:16:51,747 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:16:51,749 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:16:51,750 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:16:51,751 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:16:51,751 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:16:51,752 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:16:51,753 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6623.3399999999965W
2024-01-05 04:16:51,753 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6623.3399999999965W
2024-01-05 04:16:51,754 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:16:51,754 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:16:51,755 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3182.6200000001118 counter 7209925.78
2024-01-05 04:16:51,757 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:16:51,759 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:16:51,792 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:16:52,067 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:16:52,069 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:16:55,079 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:16:55,080 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:17:00,092 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:17:00,092 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:17:00,140 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:17:00,141 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:17:00,142 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:17:00,153 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:17:00,157 - {pymodbus.client.sync:218} - {ERROR:device0} - Connection to (solaredge, 1502) failed: [Errno 111] Connection refused
2024-01-05 04:17:00,208 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:17:00,210 - {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":240.7, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424619},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:17","unixtime":1704424620,"uptime":3783982,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:17:00,214 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424610.919136, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:17:00,215 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00258189, power1: 0, power2: 0
2024-01-05 04:17:00,216 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:17:00,217 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424620.2139282, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:17:00,224 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:17:00,231 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:17:00,235 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.68829225974, power=0.0, soc=18.0)
2024-01-05 04:17:00,293 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:17:00,294 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:17:00,297 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:17:00,299 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.88, exported=8113827.930000002, dc_power=None)
2024-01-05 04:17:00,301 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:17:00,302 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.88, exported=8113827.930000002, dc_power=None)
2024-01-05 04:17:00,305 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:17:00,361 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:17:00,362 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.9, 8.9], powers=[2425.0, 2120.0, 2129.0], voltages=[239.21, 239.87, 238.03], power_factors=[0.998, 0.9890000000000001, 0.9990000000000001], imported=7336105.0, exported=4871307.0, power=6675.0, frequency=50.0)
2024-01-05 04:17:00,527 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:17:00,530 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:17:00,532 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.9, 60.14, 60.18]A
2024-01-05 04:17:00,533 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40612.68W
2024-01-05 04:17:00,534 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:17:00,537 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:17:00,538 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:17:00,541 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:17:00.541030
2024-01-05 04:17:00,542 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -870.975813s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:17:00,544 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:17:00.543612
2024-01-05 04:17:00,544 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89563.804214s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:17:00,547 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:17:00,549 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:17:00,552 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:17:00,571 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424611.6764684, power=2335.46, imported=3360046.691461376, exported=0)
2024-01-05 04:17:00,573 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00247072, power1: 2335.46, power2: 2339.44
2024-01-05 04:17:00,574 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 5.77517
2024-01-05 04:17:00,575 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 5.77517 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424620.5710452, power=2339.4399999999996, imported=3360052.466635963, exported=0)
2024-01-05 04:17:00,579 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:17:00,580 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:17:00,581 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3037.11, daily_exported=0, power=4287.68, imported=7209936.04, exported=0))
2024-01-05 04:17:00,583 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.04, 6.08, 6.0], daily_imported=3037.11, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7209936.04, phases_in_use=3, plug_state=True, power=4287.68, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.74, 238.92, 239.95]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3182.6200000001118, imported_since_plugged=3182.6200000001118, range_charged=15.91310000000056, time_charged='4:05', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x71d2d418>), 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))
2024-01-05 04:17:00,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=[])
2024-01-05 04:17:00,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'])
2024-01-05 04:17:00,587 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2425.0, 2120.0, 2129.0], currents=[10.1, 8.9, 8.9], voltages=[239.21, 239.87, 238.03], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=8135.0, imported=7336105.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6675.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40612.68, raw_currents_left=[58.9, 60.14, 60.18], surplus_power_left=0, state_str=''))
2024-01-05 04:17:00,588 - {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=2339.4399999999996, invalid_home_consumption=0, daily_yield_home_consumption=4922.5534027117, imported_home_consumption=3360052.466635963, disengageable_smarthome_power=0))
2024-01-05 04:17:00,589 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:17:00,590 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:17:00,591 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:17:00,593 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:17:00,595 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:17:00,596 - {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=20000, 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=66, soc_timestamp=1704424616.59203, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:17:00,597 - {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)
2024-01-05 04:17:00,598 - {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)
2024-01-05 04:17:00,599 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:17:00,600 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:17:00,601 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:17:00,602 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:17:00,606 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7d3dc0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:17:00,609 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:17:00,613 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8113827.93, fault_state=0, fault_str='Kein Fehler.', power=47.88))
2024-01-05 04:17:00,614 - {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=8411425.842, power=47.88))
2024-01-05 04:17:00,614 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424611, 'time': '04:16:51', 'grid': 6.675, 'house-power': 2.335, 'charging-all': 4.292, 'pv-all': -0.048, 'cp1-power': 4.292, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:17:00,616 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:17:00,617 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:17:00,621 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:17:00,626 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:17:00,627 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:17:00,628 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:17:00,629 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:17:00,631 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:17:00,633 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:17:00,634 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:17:00,636 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.9, 54.14, 54.18]A verbleibende Ströme, 36472.68W verbleibende Leistung
2024-01-05 04:17:00,638 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:17:00,642 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:17:00,643 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:17:00,644 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:17:00,645 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:17:00,647 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:17:00,648 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6627.32W
2024-01-05 04:17:00,651 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6627.32W
2024-01-05 04:17:00,653 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:17:00,657 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:17:00,662 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3192.8799999998882 counter 7209936.04
2024-01-05 04:17:00,667 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:17:00,670 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:17:00,694 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:17:00,958 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:17:05,993 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:17:05,994 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:17:10,003 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:17:10,004 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:17:10,044 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:17:10,049 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:17:10,052 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:17:10,059 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:17:10,068 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:17:10,107 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:17:10,109 - {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":240.7, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424628},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:17","unixtime":1704424630,"uptime":3783992,"ram_size":248928,"ram_free":144160,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-05 04:17:10,111 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424620.2139282, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:17:10,112 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00274928, power1: 0, power2: 0
2024-01-05 04:17:10,112 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:17:10,112 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424630.1113427, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:17:10,115 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:17:10,117 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-32768, -32768, -32768, -32768], Scale -32768
2024-01-05 04:17:10,136 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-32768, -32768, -32768], Scale -32768
2024-01-05 04:17:10,159 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-32768, -32768, -32768, -32768, -32768, -32768, -32768], Scale -32768
2024-01-05 04:17:10,195 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-32768], Scale -32768
2024-01-05 04:17:10,235 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-32768, -32768, -32768], Scale -32768
2024-01-05 04:17:10,258 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0, 0, 0, 0, 0, 0, 0, 0], Scale 0
2024-01-05 04:17:10,259 - {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)
2024-01-05 04:17:10,260 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:17:10,368 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2024-01-05 04:17:10,386 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:17:10,408 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 32], Scale -2
2024-01-05 04:17:10,425 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2024-01-05 04:17:10,426 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [0.29, 0.32, 0.32]
2024-01-05 04:17:10,426 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.32], power=-0.0, exported=7869605.0, dc_power=-0.0)
2024-01-05 04:17:10,428 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:17:10,497 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424561.1423385, power=0.0, imported=154654.67883156077, exported=119765.68829225974)
2024-01-05 04:17:10,498 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.0192654, power1: 0, power2: 0
2024-01-05 04:17:10,498 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:17:10,499 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424630.4976325, power=0.0, imported=154654.67883156077, exported=119765.68829225974)
2024-01-05 04:17:10,500 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.68829225974, power=0.0, soc=-3.4028234663852886e+38)
2024-01-05 04:17:10,518 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:17:10,519 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.68829225974, power=0.0, soc=-3.4028234663852886e+38)
2024-01-05 04:17:10,529 - {helpermodules.setdata:339} - {ERROR:Setdata} - Payload ungültig: Topic openWB/set/bat/4/get/soc, Payload -340282346638528859811704183484516925440 liegt in keinem der angegebenen Wertebereiche.
2024-01-05 04:17:10,566 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:17:10,568 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:17:10,572 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:17:10,581 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=7904493.99, dc_power=None)
2024-01-05 04:17:10,582 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:17:10,583 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=7904493.99, dc_power=None)
2024-01-05 04:17:10,583 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:17:10,642 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:17:10,643 - {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)
2024-01-05 04:17:10,824 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:17:10,825 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:17:10,827 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [68.99, 69.03, 69.06]A
2024-01-05 04:17:10,829 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 47286.89W
2024-01-05 04:17:10,832 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:17:10,834 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:17:10,836 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:17:10,839 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:17:10.839468
2024-01-05 04:17:10,842 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -881.274251s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:17:10,843 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:17:10.843407
2024-01-05 04:17:10,846 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89553.504419s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:17:10,848 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:17:10,850 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:17:10,855 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.06
2024-01-05 04:17:10,863 - {control.counter_all:101} - {ERROR:MainThread} - Ungültiger Hausverbrauch: -4286.89W, 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': []}]
2024-01-05 04:17:10,866 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:17:10,875 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:17:10,888 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3037.11, daily_exported=0, power=4286.89, imported=7209948.24, exported=0))
2024-01-05 04:17:10,889 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.03, 6.06, 5.99], daily_imported=3037.11, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7209948.24, phases_in_use=3, plug_state=True, power=4286.89, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.64, 238.86, 239.89]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3192.8799999998882, imported_since_plugged=3192.8799999998882, range_charged=15.96439999999944, time_charged='4:05', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7dc6b8>), 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))
2024-01-05 04:17:10,891 - {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=[])
2024-01-05 04:17:10,896 - {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'])
2024-01-05 04:17:10,898 - {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=8135.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=47286.89, raw_currents_left=[68.99, 69.03, 69.06], surplus_power_left=0, state_str=''))
2024-01-05 04:17:10,899 - {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=2339.4399999999996, invalid_home_consumption=1, daily_yield_home_consumption=4922.5534027117, imported_home_consumption=3360052.466635963, disengageable_smarthome_power=0))
2024-01-05 04:17:10,901 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:17:10,903 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:17:10,905 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:17:10,907 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:17:10,908 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:17:10,910 - {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=20000, 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=66, soc_timestamp=1704424616.59203, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:17:10,912 - {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)
2024-01-05 04:17:10,913 - {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)
2024-01-05 04:17:10,914 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:17:10,919 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:17:10,921 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:17:10,922 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:17:10,923 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f744550>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:17:10,936 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:17:10,940 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:17:10,942 - {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=8202091.902000001, power=0))
2024-01-05 04:17:10,943 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424620, 'time': '04:17:00', 'grid': 6.675, 'house-power': 2.339, 'charging-all': 4.288, 'pv-all': -0.048, 'cp1-power': 4.288, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:17:10,948 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:17:10,950 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:17:10,951 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:17:10,953 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:17:10,956 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:17:10,957 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:17:10,958 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:17:10,959 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:17:10,961 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:17:10,963 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:17:10,965 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [62.989999999999995, 63.03, 63.06]A verbleibende Ströme, 43146.89W verbleibende Leistung
2024-01-05 04:17:10,966 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:17:10,970 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:17:10,971 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:17:10,972 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:17:10,974 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:17:10,977 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:17:10,980 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 46.88999999999942W
2024-01-05 04:17:10,982 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 46.88999999999942W
2024-01-05 04:17:10,984 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2024-01-05 04:17:10,987 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:17:10,990 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3205.0800000000745 counter 7209948.24
2024-01-05 04:17:10,995 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:17:11,011 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:17:11,068 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:17:11,326 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:17:11,334 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:17:15,351 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:17:20,378 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:17:20,379 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:17:20,432 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:17:20,434 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:17:20,445 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:17:20,446 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:17:20,449 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:17:20,469 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-32768, -32768, -32768, -32768], Scale -32768
2024-01-05 04:17:20,488 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-32768, -32768, -32768], Scale -32768
2024-01-05 04:17:20,507 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-32768, -32768, -32768, -32768, -32768, -32768, -32768], Scale -32768
2024-01-05 04:17:20,509 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:17:20,513 - {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":240.7, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424639},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:17","unixtime":1704424641,"uptime":3784003,"ram_size":248936,"ram_free":144376,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-05 04:17:20,516 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424630.1113427, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:17:20,517 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00289032, power1: 0, power2: 0
2024-01-05 04:17:20,517 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:17:20,518 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424640.5165029, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:17:20,519 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:17:20,532 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-32768], Scale -32768
2024-01-05 04:17:20,558 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-32768, -32768, -32768], Scale -32768
2024-01-05 04:17:20,576 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0, 0, 0, 0, 0, 0, 0, 0], Scale 0
2024-01-05 04:17:20,577 - {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)
2024-01-05 04:17:20,578 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:17:20,595 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2024-01-05 04:17:20,615 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:17:20,635 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 32], Scale -2
2024-01-05 04:17:20,696 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2024-01-05 04:17:20,696 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [0.29, 0.31, 0.32]
2024-01-05 04:17:20,697 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.32], power=-0.0, exported=7869605.0, dc_power=-0.0)
2024-01-05 04:17:20,698 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:17:20,737 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424630.4976325, power=0.0, imported=154654.67883156077, exported=119765.68829225974)
2024-01-05 04:17:20,738 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00284449, power1: 0, power2: 0
2024-01-05 04:17:20,739 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:17:20,739 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424640.7377977, power=0.0, imported=154654.67883156077, exported=119765.68829225974)
2024-01-05 04:17:20,740 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.68829225974, power=0.0, soc=18.0)
2024-01-05 04:17:20,743 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:17:20,746 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.68829225974, power=0.0, soc=18.0)
2024-01-05 04:17:20,799 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:17:20,801 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:17:20,802 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:17:20,805 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=7904493.99, dc_power=None)
2024-01-05 04:17:20,817 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:17:20,818 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=7904493.99, dc_power=None)
2024-01-05 04:17:20,819 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:17:20,876 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:17:20,877 - {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)
2024-01-05 04:17:21,070 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:17:21,072 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:17:21,074 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [69.01, 69.04, 69.07]A
2024-01-05 04:17:21,075 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 47288.72W
2024-01-05 04:17:21,076 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:17:21,079 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:17:21,081 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:17:21,083 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:17:21.083307
2024-01-05 04:17:21,085 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -891.51809s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:17:21,086 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:17:21.086054
2024-01-05 04:17:21,087 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89543.261772s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:17:21,088 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:17:21,091 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:17:21,092 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:17:21,114 - {control.counter_all:101} - {ERROR:MainThread} - Ungültiger Hausverbrauch: -4288.72W, 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': []}]
2024-01-05 04:17:21,124 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:17:21,128 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:17:21,129 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3037.11, daily_exported=0, power=4288.72, imported=7209959.96, exported=0))
2024-01-05 04:17:21,132 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.04, 6.07, 6.01], daily_imported=3037.11, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7209959.96, phases_in_use=3, plug_state=True, power=4288.72, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.58, 238.71, 239.89]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3205.0800000000745, imported_since_plugged=3205.0800000000745, range_charged=16.025400000000374, time_charged='4:05', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d25b0>), 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))
2024-01-05 04:17:21,134 - {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=[])
2024-01-05 04:17:21,135 - {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'])
2024-01-05 04:17:21,137 - {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=8135.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=47288.72, raw_currents_left=[69.01, 69.04, 69.07], surplus_power_left=0, state_str=''))
2024-01-05 04:17:21,138 - {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=2339.4399999999996, invalid_home_consumption=2, daily_yield_home_consumption=4922.5534027117, imported_home_consumption=3360052.466635963, disengageable_smarthome_power=0))
2024-01-05 04:17:21,140 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:17:21,142 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:17:21,145 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:17:21,146 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:17:21,148 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:17:21,149 - {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=20000, 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=66, soc_timestamp=1704424616.59203, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:17:21,151 - {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)
2024-01-05 04:17:21,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)
2024-01-05 04:17:21,153 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:17:21,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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:17:21,156 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:17:21,157 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:17:21,158 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7441f0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:17:21,159 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:17:21,161 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:17:21,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=8202091.902000001, power=0))
2024-01-05 04:17:21,164 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424631, 'time': '04:17:11', 'grid': 0.0, 'house-power': 2.339, 'charging-all': 4.287, 'pv-all': -0.0, 'cp1-power': 4.287, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:17:21,165 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:17:21,166 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:17:21,167 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:17:21,168 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:17:21,171 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:17:21,172 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:17:21,173 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:17:21,174 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:17:21,175 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:17:21,177 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:17:21,179 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [63.010000000000005, 63.040000000000006, 63.06999999999999]A verbleibende Ströme, 43148.72W verbleibende Leistung
2024-01-05 04:17:21,181 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:17:21,184 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:17:21,186 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:17:21,187 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:17:21,189 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:17:21,192 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:17:21,194 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: 48.720000000001164W
2024-01-05 04:17:21,195 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf 48.720000000001164W
2024-01-05 04:17:21,196 - {control.algorithm.algorithm:38} - {INFO:MainThread} - **PV-geführten Strom setzen**
2024-01-05 04:17:21,198 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:17:21,200 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3216.7999999998137 counter 7209959.96
2024-01-05 04:17:21,204 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:17:21,213 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:17:21,248 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:17:21,639 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:17:21,640 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:17:25,650 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:17:25,651 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:17:30,665 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:17:30,666 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:17:30,747 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:17:30,750 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:17:30,752 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:17:30,762 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:17:30,777 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:17:30,797 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6621, -2411, -2097, -2113], Scale 0
2024-01-05 04:17:30,805 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:17:30,808 - {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":240.5, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424649},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:17","unixtime":1704424651,"uptime":3784013,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:17:30,811 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424640.5165029, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:17:30,812 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00285982, power1: 0, power2: 0
2024-01-05 04:17:30,814 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:17:30,823 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424650.811858, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:17:30,818 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [101, 87, 88], Scale -1
2024-01-05 04:17:30,830 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:17:30,876 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23939, 24010, 23830, 0, 0, 0, 0], Scale -2
2024-01-05 04:17:30,896 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:17:30,915 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9959, 9919, 9990], Scale -2
2024-01-05 04:17:30,967 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336276, 3034634, 2160124, 2693462], Scale 0
2024-01-05 04:17:30,967 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.100000000000001, 8.700000000000001, 8.8], powers=[2411.0, 2097.0, 2113.0], voltages=[239.39000000000001, 240.1, 238.3], power_factors=[0.9959, 0.9919, 0.9990000000000001], imported=7336276.0, exported=4871307.0, power=6621.0, frequency=50.0)
2024-01-05 04:17:30,969 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:17:31,048 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2024-01-05 04:17:31,066 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:17:31,086 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 32], Scale -2
2024-01-05 04:17:31,106 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2024-01-05 04:17:31,106 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [0.29, 0.32, 0.32]
2024-01-05 04:17:31,107 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.32], power=-0.0, exported=7869605.0, dc_power=-0.0)
2024-01-05 04:17:31,109 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:17:31,208 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424640.7377977, power=0.0, imported=154654.67883156077, exported=119765.68829225974)
2024-01-05 04:17:31,209 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00290848, power1: 0, power2: 0
2024-01-05 04:17:31,211 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:17:31,213 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424651.2083263, power=0.0, imported=154654.67883156077, exported=119765.68829225974)
2024-01-05 04:17:31,215 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.68829225974, power=0.0, soc=18.0)
2024-01-05 04:17:31,219 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:17:31,220 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.68829225974, power=0.0, soc=18.0)
2024-01-05 04:17:31,403 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:17:31,408 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:17:31,410 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=7904493.99, dc_power=None)
2024-01-05 04:17:31,412 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:17:31,417 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=7904493.99, dc_power=None)
2024-01-05 04:17:31,418 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:17:31,427 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:17:31,503 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:17:31,504 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.700000000000001, 8.8], powers=[2411.0, 2097.0, 2113.0], voltages=[239.39000000000001, 240.1, 238.3], power_factors=[0.9959, 0.9919, 0.9990000000000001], imported=7336276.0, exported=4871307.0, power=6621.0, frequency=50.0)
2024-01-05 04:17:31,686 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:17:31,687 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:17:31,690 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.9, 60.34, 60.28]A
2024-01-05 04:17:31,691 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40669.08W
2024-01-05 04:17:31,693 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:17:31,695 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:17:31,696 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:17:31,697 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:17:31.697271
2024-01-05 04:17:31,699 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -902.132054s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:17:31,700 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:17:31.700463
2024-01-05 04:17:31,702 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89532.647363s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:17:31,703 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:17:31,713 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:17:31,716 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:17:31,720 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424620.5710452, power=2339.4399999999996, imported=3360052.466635963, exported=0)
2024-01-05 04:17:31,724 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00865267, power1: 2339.44, power2: 2330.92
2024-01-05 04:17:31,726 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 20.2055
2024-01-05 04:17:31,728 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 20.2055 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424651.7206588, power=2330.92, imported=3360072.6721789436, exported=0)
2024-01-05 04:17:31,734 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:17:31,739 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:17:31,744 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3037.11, daily_exported=0, power=4290.08, imported=7209974.12, exported=0))
2024-01-05 04:17:31,746 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.04, 6.08, 6.0], daily_imported=3037.11, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7209974.12, phases_in_use=3, plug_state=True, power=4290.08, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.56, 238.85, 239.98]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3216.7999999998137, imported_since_plugged=3216.7999999998137, range_charged=16.08399999999907, time_charged='4:05', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7630a0>), 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))
2024-01-05 04:17:31,748 - {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=[])
2024-01-05 04:17:31,749 - {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'])
2024-01-05 04:17:31,751 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2411.0, 2097.0, 2113.0], currents=[10.1, 8.7, 8.8], voltages=[239.39, 240.1, 238.3], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=8135.0, imported=7336276.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6621.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40669.08, raw_currents_left=[58.9, 60.34, 60.28], surplus_power_left=0, state_str=''))
2024-01-05 04:17:31,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=2330.92, invalid_home_consumption=0, daily_yield_home_consumption=4922.5534027117, imported_home_consumption=3360072.6721789436, disengageable_smarthome_power=0))
2024-01-05 04:17:31,754 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:17:31,755 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:17:31,757 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:17:31,758 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:17:31,760 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:17:31,761 - {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=20000, 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=66, soc_timestamp=1704424616.59203, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:17:31,762 - {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)
2024-01-05 04:17:31,764 - {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)
2024-01-05 04:17:31,766 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:17:31,767 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:17:31,768 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:17:31,769 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:17:31,771 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7ea208>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:17:31,772 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:17:31,774 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:17:31,775 - {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=8202091.902000001, power=0))
2024-01-05 04:17:31,776 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424641, 'time': '04:17:21', 'grid': 0.0, 'house-power': 2.339, 'charging-all': 4.289, 'pv-all': -0.0, 'cp1-power': 4.289, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:17:31,781 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:17:31,786 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:17:31,787 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:17:31,789 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:17:31,792 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:17:31,793 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:17:31,793 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:17:31,794 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:17:31,796 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:17:31,798 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:17:31,799 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.9, 54.34, 54.28]A verbleibende Ströme, 36529.08W verbleibende Leistung
2024-01-05 04:17:31,800 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:17:31,805 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:17:31,808 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:17:31,810 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:17:31,811 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:17:31,813 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:17:31,815 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6570.919999999998W
2024-01-05 04:17:31,816 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6570.919999999998W
2024-01-05 04:17:31,816 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:17:31,821 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:17:31,823 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3230.9599999999627 counter 7209974.12
2024-01-05 04:17:31,826 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:17:31,831 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:17:31,851 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:17:32,114 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:17:35,148 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:17:35,149 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:17:40,161 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:17:40,162 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:17:40,216 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:17:40,219 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:17:40,227 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:17:40,229 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:17:40,233 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:17:40,272 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:17:40,275 - {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":240.5, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424659},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:17","unixtime":1704424661,"uptime":3784022,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:17:40,277 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424650.811858, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:17:40,278 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00262926, power1: 0, power2: 0
2024-01-05 04:17:40,278 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:17:40,279 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424660.2772, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:17:40,280 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:17:40,414 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6625, -2410, -2097, -2118], Scale 0
2024-01-05 04:17:40,435 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [101, 88, 89], Scale -1
2024-01-05 04:17:40,455 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23941, 24016, 23829, 0, 0, 0, 0], Scale -2
2024-01-05 04:17:40,649 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:17:40,699 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9950, 9909, 9959], Scale -2
2024-01-05 04:17:40,746 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336291, 3034640, 2160128, 2693466], Scale 0
2024-01-05 04:17:40,747 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2410.0, 2097.0, 2118.0], voltages=[239.41, 240.16, 238.29], power_factors=[0.995, 0.9909, 0.9959], imported=7336291.0, exported=4871307.0, power=6625.0, frequency=50.0)
2024-01-05 04:17:40,748 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:17:40,796 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6540], Scale -2
2024-01-05 04:17:40,839 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:17:40,886 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 32, 34], Scale -2
2024-01-05 04:17:41,026 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6640], Scale -2
2024-01-05 04:17:41,027 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.32, 0.34], power=65.4, exported=7869605.0, dc_power=66.4)
2024-01-05 04:17:41,028 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:17:41,067 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424651.2083263, power=0.0, imported=154654.67883156077, exported=119765.68829225974)
2024-01-05 04:17:41,068 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00273865, power1: 0, power2: -2
2024-01-05 04:17:41,068 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: -0.00273865
2024-01-05 04:17:41,068 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0.00273865 Wh, new state: SimCounterState(timestamp=1704424661.0674632, power=-2.0, imported=154654.67883156077, exported=119765.69103090886)
2024-01-05 04:17:41,069 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69103090886, power=-2.0, soc=18.0)
2024-01-05 04:17:41,074 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:17:41,076 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69103090886, power=-2.0, soc=18.0)
2024-01-05 04:17:41,128 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:17:41,138 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:17:41,140 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:17:41,143 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=67.4, exported=7904493.99, dc_power=None)
2024-01-05 04:17:41,145 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:17:41,146 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=67.4, exported=7904493.99, dc_power=None)
2024-01-05 04:17:41,148 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:17:41,251 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:17:41,255 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2410.0, 2097.0, 2118.0], voltages=[239.41, 240.16, 238.29], power_factors=[0.995, 0.9909, 0.9959], imported=7336291.0, exported=4871307.0, power=6625.0, frequency=50.0)
2024-01-05 04:17:41,543 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload -2.0, vorherige Payload: 0.0
2024-01-05 04:17:41,650 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:17:41,652 - {control.bat_all:174} - {INFO:MainThread} - -2.0W verbleibende Speicher-Leistung
2024-01-05 04:17:41,655 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.89, 60.23, 60.17]A
2024-01-05 04:17:41,657 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40658.57W
2024-01-05 04:17:41,660 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:17:41,662 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:17:41,663 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:17:41,665 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:17:41.664996
2024-01-05 04:17:41,668 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -912.099779s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:17:41,670 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:17:41.670050
2024-01-05 04:17:41,673 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89522.677776s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:17:41,675 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:17:41,679 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:17:41,680 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:17:41,687 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424651.7206588, power=2330.92, imported=3360072.6721789436, exported=0)
2024-01-05 04:17:41,696 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00276851, power1: 2330.92, power2: 2276.03
2024-01-05 04:17:41,698 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.3772
2024-01-05 04:17:41,699 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.3772 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424661.6873024, power=2276.0300000000007, imported=3360079.049377361, exported=0)
2024-01-05 04:17:41,705 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=-2.0))
2024-01-05 04:17:41,707 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=-2.0), set=Set(charging_power_left=-2.0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:17:41,708 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3037.11, daily_exported=0, power=4283.57, imported=7209985.84, exported=0))
2024-01-05 04:17:41,711 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.03, 6.07, 5.99], daily_imported=3037.11, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7209985.84, phases_in_use=3, plug_state=True, power=4283.57, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.53, 238.7, 239.81]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3230.9599999999627, imported_since_plugged=3230.9599999999627, range_charged=16.154799999999813, time_charged='4:05', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d4868>), 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))
2024-01-05 04:17:41,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=[])
2024-01-05 04:17:41,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'])
2024-01-05 04:17:41,714 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2410.0, 2097.0, 2118.0], currents=[10.1, 8.8, 8.9], voltages=[239.41, 240.16, 238.29], power_factors=[0.99, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=8135.0, imported=7336291.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6625.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40658.57, raw_currents_left=[58.89, 60.23, 60.17], surplus_power_left=0, state_str=''))
2024-01-05 04:17:41,716 - {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=2276.0300000000007, invalid_home_consumption=0, daily_yield_home_consumption=4922.5534027117, imported_home_consumption=3360079.049377361, disengageable_smarthome_power=0))
2024-01-05 04:17:41,717 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:17:41,719 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:17:41,721 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:17:41,722 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:17:41,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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:17:41,724 - {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=20000, 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=66, soc_timestamp=1704424616.59203, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:17:41,725 - {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)
2024-01-05 04:17:41,727 - {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)
2024-01-05 04:17:41,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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:17:41,731 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:17:41,732 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:17:41,733 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:17:41,733 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f75f088>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:17:41,734 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:17:41,735 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=67.4))
2024-01-05 04:17:41,736 - {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=8202091.902000001, power=67.4))
2024-01-05 04:17:41,737 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424651, 'time': '04:17:31', 'grid': 6.621, 'house-power': 2.331, 'charging-all': 4.29, 'pv-all': -0.0, 'cp1-power': 4.29, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:17:41,739 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:17:41,739 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:17:41,740 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:17:41,741 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:17:41,741 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:17:41,743 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:17:41,744 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:17:41,744 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:17:41,745 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:17:41,748 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:17:41,750 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.89, 54.23, 54.17]A verbleibende Ströme, 36518.57W verbleibende Leistung
2024-01-05 04:17:41,752 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:17:41,755 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:17:41,757 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:17:41,765 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:17:41,772 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:17:41,775 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:17:41,777 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6583.43W
2024-01-05 04:17:41,779 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6583.43W
2024-01-05 04:17:41,781 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:17:41,783 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:17:41,784 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3242.679999999702 counter 7209985.84
2024-01-05 04:17:41,791 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:17:41,794 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:17:41,833 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:17:42,161 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:17:42,162 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:17:45,187 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:17:45,188 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:17:50,200 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:17:50,201 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:17:50,243 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:17:50,244 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:17:50,250 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:17:50,252 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:17:50,256 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:17:50,294 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:17:50,299 - {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":240.5, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424669},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:17","unixtime":1704424671,"uptime":3784032,"ram_size":249000,"ram_free":145092,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-05 04:17:50,306 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424660.2772, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:17:50,309 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00278584, power1: 0, power2: 0
2024-01-05 04:17:50,311 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:17:50,312 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424670.30624, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:17:50,318 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6642, -2416, -2106, -2120], Scale 0
2024-01-05 04:17:50,319 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:17:50,341 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [101, 88, 89], Scale -1
2024-01-05 04:17:50,358 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23938, 24016, 23831, 0, 0, 0, 0], Scale -2
2024-01-05 04:17:50,378 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:17:50,427 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9969, 9879, 9969], Scale -2
2024-01-05 04:17:50,456 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336305, 3034645, 2160133, 2693471], Scale 0
2024-01-05 04:17:50,456 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2416.0, 2106.0, 2120.0], voltages=[239.38, 240.16, 238.31], power_factors=[0.9969, 0.9879000000000001, 0.9969], imported=7336305.0, exported=4871307.0, power=6642.0, frequency=49.99)
2024-01-05 04:17:50,458 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:17:50,585 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5583], Scale -2
2024-01-05 04:17:50,607 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:17:50,625 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 33, 33], Scale -2
2024-01-05 04:17:50,786 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5668], Scale -2
2024-01-05 04:17:50,786 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.33, 0.33], power=55.83, exported=7869605.0, dc_power=56.68)
2024-01-05 04:17:50,787 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:17:50,846 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424661.0674632, power=-2.0, imported=154654.67883156077, exported=119765.69103090886)
2024-01-05 04:17:50,846 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00271632, power1: -2, power2: 0
2024-01-05 04:17:50,847 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: -0.00271632
2024-01-05 04:17:50,847 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0.00271632 Wh, new state: SimCounterState(timestamp=1704424670.846199, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:17:50,848 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:17:50,854 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:17:50,856 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:17:50,899 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:17:50,903 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:17:50,904 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=55.83, exported=7904493.99, dc_power=None)
2024-01-05 04:17:50,904 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=55.83, exported=7904493.99, dc_power=None)
2024-01-05 04:17:50,907 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:17:50,908 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:17:50,910 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:17:50,977 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:17:50,978 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2416.0, 2106.0, 2120.0], voltages=[239.38, 240.16, 238.31], power_factors=[0.9969, 0.9879000000000001, 0.9969], imported=7336305.0, exported=4871307.0, power=6642.0, frequency=49.99)
2024-01-05 04:17:51,052 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/bat/get/power, Payload 0.0, vorherige Payload: -2.0
2024-01-05 04:17:51,192 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:17:51,193 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:17:51,199 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.9, 60.23, 60.18]A
2024-01-05 04:17:51,200 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40642.38W
2024-01-05 04:17:51,201 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:17:51,204 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:17:51,207 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:17:51,210 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:17:51.210511
2024-01-05 04:17:51,211 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -921.645294s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:17:51,216 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:17:51.216471
2024-01-05 04:17:51,217 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89513.131355s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:17:51,219 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:17:51,228 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:17:51,233 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:17:51,240 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424661.6873024, power=2276.0300000000007, imported=3360079.049377361, exported=0)
2024-01-05 04:17:51,244 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00265365, power1: 2276.03, power2: 2301.79
2024-01-05 04:17:51,247 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.07398
2024-01-05 04:17:51,252 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.07398 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424671.2404592, power=2301.79, imported=3360085.1233540974, exported=0)
2024-01-05 04:17:51,254 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:17:51,257 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:17:51,258 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3037.11, daily_exported=0, power=4284.38, imported=7209995.12, exported=0))
2024-01-05 04:17:51,260 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.03, 6.08, 6.0], daily_imported=3037.11, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7209995.12, phases_in_use=3, plug_state=True, power=4284.38, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.56, 238.63, 239.75]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3242.679999999702, imported_since_plugged=3242.679999999702, range_charged=16.213399999998508, time_charged='4:06', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7f9c40>), 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))
2024-01-05 04:17:51,261 - {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=[])
2024-01-05 04:17:51,263 - {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'])
2024-01-05 04:17:51,264 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2416.0, 2106.0, 2120.0], currents=[10.1, 8.8, 8.9], voltages=[239.38, 240.16, 238.31], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=8135.0, imported=7336305.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6642.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40642.38, raw_currents_left=[58.9, 60.23, 60.18], surplus_power_left=0, state_str=''))
2024-01-05 04:17:51,266 - {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=2301.79, invalid_home_consumption=0, daily_yield_home_consumption=4922.5534027117, imported_home_consumption=3360085.1233540974, disengageable_smarthome_power=0))
2024-01-05 04:17:51,269 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:17:51,270 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:17:51,272 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:17:51,275 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:17:51,276 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:17:51,282 - {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=20000, 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=66, soc_timestamp=1704424616.59203, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:17: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)
2024-01-05 04:17:51,293 - {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)
2024-01-05 04:17:51,294 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:17:51,296 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:17:51,297 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:17:51,298 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:17:51,300 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7edb50>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:17:51,302 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:17:51,303 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=55.83))
2024-01-05 04:17:51,303 - {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=8202091.902000001, power=55.83))
2024-01-05 04:17:51,309 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424661, 'time': '04:17:41', 'grid': 6.625, 'house-power': 2.276, 'charging-all': 4.284, 'pv-all': -0.067, 'cp1-power': 4.284, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': -0.002, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:17:51,310 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:17:51,311 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:17:51,312 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:17:51,313 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:17:51,316 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:17:51,317 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:17:51,317 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:17:51,318 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:17:51,318 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:17:51,320 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:17:51,321 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.9, 54.23, 54.18]A verbleibende Ströme, 36502.38W verbleibende Leistung
2024-01-05 04:17:51,323 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:17:51,326 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:17:51,331 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:17:51,333 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:17:51,337 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:17:51,339 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:17:51,339 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6597.620000000003W
2024-01-05 04:17:51,340 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6597.620000000003W
2024-01-05 04:17:51,340 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:17:51,340 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:17:51,341 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3251.9599999999627 counter 7209995.12
2024-01-05 04:17:51,344 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:17:51,346 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:17:51,384 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:17:51,702 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:17:55,744 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:17:55,746 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:18:00,760 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:18:00,761 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:18:00,806 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:18:00,807 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:18:00,814 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:18:00,816 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:18:00,817 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:18:00,856 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:18: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":240.6, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424679},"temperature":{"tC":29.2, "tF":84.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:18","unixtime":1704424681,"uptime":3784043,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:18:00,863 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424670.30624, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:18:00,865 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00293249, power1: 0, power2: 0
2024-01-05 04:18:00,867 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:18:00,868 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424680.8632126, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:18:00,870 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:18:01,096 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6636, -2414, -2105, -2116], Scale 0
2024-01-05 04:18:01,116 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [101, 88, 89], Scale -1
2024-01-05 04:18:01,173 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23955, 24024, 23833, 0, 0, 0, 0], Scale -2
2024-01-05 04:18:01,206 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:18:01,226 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9969, 9879, 9969], Scale -2
2024-01-05 04:18:01,399 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336334, 3034656, 2160142, 2693480], Scale 0
2024-01-05 04:18:01,399 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2414.0, 2105.0, 2116.0], voltages=[239.55, 240.24, 238.33], power_factors=[0.9969, 0.9879000000000001, 0.9969], imported=7336334.0, exported=4871307.0, power=6636.0, frequency=49.99)
2024-01-05 04:18:01,401 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:18:01,426 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6098], Scale -2
2024-01-05 04:18:01,448 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:18:01,529 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 34], Scale -2
2024-01-05 04:18:01,580 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5725], Scale -2
2024-01-05 04:18:01,581 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.34], power=60.980000000000004, exported=7869605.0, dc_power=57.25)
2024-01-05 04:18:01,582 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:18:01,649 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424670.846199, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:18:01,651 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00300082, power1: 0, power2: 0
2024-01-05 04:18:01,652 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:18:01,653 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424681.649167, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:18:01,654 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:18:01,659 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:18:01,660 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:18:01,796 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:18:01,797 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:18:01,798 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:18:01,801 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=60.980000000000004, exported=7904493.99, dc_power=None)
2024-01-05 04:18:01,803 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:18:01,811 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=60.980000000000004, exported=7904493.99, dc_power=None)
2024-01-05 04:18:01,812 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:18:01,873 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:18:01,874 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2414.0, 2105.0, 2116.0], voltages=[239.55, 240.24, 238.33], power_factors=[0.9969, 0.9879000000000001, 0.9969], imported=7336334.0, exported=4871307.0, power=6636.0, frequency=49.99)
2024-01-05 04:18:02,054 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:18:02,057 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:18:02,059 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.89, 60.23, 60.17]A
2024-01-05 04:18:02,061 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40650.86W
2024-01-05 04:18:02,063 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:18:02,065 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:18:02,066 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:18:02,069 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:18:02.068819
2024-01-05 04:18:02,071 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -932.503602s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:18:02,074 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:18:02.073615
2024-01-05 04:18:02,075 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89502.274211s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:18:02,076 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:18:02,080 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:18:02,082 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:18:02,110 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424671.2404592, power=2301.79, imported=3360085.1233540974, exported=0)
2024-01-05 04:18:02,111 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00301922, power1: 2301.79, power2: 2288.16
2024-01-05 04:18:02,113 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.92904
2024-01-05 04:18:02,114 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.92904 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424682.1096625, power=2288.1600000000008, imported=3360092.052395739, exported=0)
2024-01-05 04:18:02,119 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:18:02,121 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:18:02,124 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3037.11, daily_exported=0, power=4286.86, imported=7210009.77, exported=0))
2024-01-05 04:18:02,126 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.03, 6.07, 5.99], daily_imported=3037.11, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210009.77, phases_in_use=3, plug_state=True, power=4286.86, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.57, 238.77, 239.92]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3251.9599999999627, imported_since_plugged=3251.9599999999627, range_charged=16.259799999999814, time_charged='4:06', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7dc988>), 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))
2024-01-05 04:18:02,127 - {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=[])
2024-01-05 04:18:02,130 - {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'])
2024-01-05 04:18:02,131 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2414.0, 2105.0, 2116.0], currents=[10.1, 8.8, 8.9], voltages=[239.55, 240.24, 238.33], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=8135.0, imported=7336334.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6636.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40650.86, raw_currents_left=[58.89, 60.23, 60.17], surplus_power_left=0, state_str=''))
2024-01-05 04:18:02,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=2288.1600000000008, invalid_home_consumption=0, daily_yield_home_consumption=4922.5534027117, imported_home_consumption=3360092.052395739, disengageable_smarthome_power=0))
2024-01-05 04:18:02,135 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:18:02,136 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:18:02,138 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:18:02,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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:18:02,142 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:18:02,144 - {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=20000, 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=66, soc_timestamp=1704424672.107265, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:18:02,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)
2024-01-05 04:18:02,148 - {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)
2024-01-05 04:18:02,149 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:18:02,150 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:18:02,154 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:18:02,156 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:18:02,158 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7d3970>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:18:02,160 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:18:02,161 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=60.98))
2024-01-05 04:18: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=8202091.902000001, power=60.98))
2024-01-05 04:18:02,164 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424671, 'time': '04:17:51', 'grid': 6.642, 'house-power': 2.302, 'charging-all': 4.284, 'pv-all': -0.056, 'cp1-power': 4.284, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:18:02,166 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:18:02,168 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:18:02,170 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:18:02,174 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:18:02,177 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:18:02,178 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:18:02,181 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:18:02,182 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:18:02,184 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:18:02,185 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:18:02,187 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.89, 54.23, 54.17]A verbleibende Ströme, 36510.86W verbleibende Leistung
2024-01-05 04:18:02,189 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:18:02,193 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:18:02,195 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:18:02,196 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:18:02,198 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:18:02,201 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:18:02,204 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6589.139999999999W
2024-01-05 04:18:02,205 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6589.139999999999W
2024-01-05 04:18:02,207 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:18:02,209 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:18:02,211 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3266.609999999404 counter 7210009.77
2024-01-05 04:18:02,215 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:18:02,221 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:18:02,286 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:18:02,555 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:18:02,565 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:18:05,574 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:18:10,592 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:18:10,593 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:18:10,639 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:18:10,640 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:18:10,647 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:18:10,650 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:18:10,657 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:18:10,689 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:18:10,691 - {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":240.7, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424689},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:18","unixtime":1704424691,"uptime":3784053,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:18:10,694 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424680.8632126, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:18:10,695 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00273085, power1: 0, power2: 0
2024-01-05 04:18:10,696 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:18:10,697 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424690.6942754, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:18:10,698 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:18:10,736 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6648, -2420, -2106, -2121], Scale 0
2024-01-05 04:18:10,763 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [101, 88, 89], Scale -1
2024-01-05 04:18:10,778 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23960, 24022, 23836, 0, 0, 0, 0], Scale -2
2024-01-05 04:18:10,801 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:18:10,846 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9959, 9900, 9990], Scale -2
2024-01-05 04:18:10,886 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336350, 3034661, 2160147, 2693485], Scale 0
2024-01-05 04:18:10,887 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2420.0, 2106.0, 2121.0], voltages=[239.6, 240.22, 238.36], power_factors=[0.9959, 0.99, 0.9990000000000001], imported=7336350.0, exported=4871307.0, power=6648.0, frequency=49.97)
2024-01-05 04:18:10,895 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:18:10,936 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5514], Scale -2
2024-01-05 04:18:10,996 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:18:11,015 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 32, 34], Scale -2
2024-01-05 04:18:11,126 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5598], Scale -2
2024-01-05 04:18:11,127 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.32, 0.34], power=55.14, exported=7869605.0, dc_power=55.980000000000004)
2024-01-05 04:18:11,128 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:18:11,168 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424681.649167, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:18:11,169 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00264418, power1: 0, power2: 0
2024-01-05 04:18:11,169 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:18:11,169 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424691.1682246, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:18:11,170 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:18:11,174 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:18:11,175 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:18:11,227 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:18:11,229 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:18:11,245 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=55.14, exported=7904493.99, dc_power=None)
2024-01-05 04:18:11,246 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=55.14, exported=7904493.99, dc_power=None)
2024-01-05 04:18:11,231 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:18:11,249 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:18:11,250 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:18:11,306 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:18:11,306 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2420.0, 2106.0, 2121.0], voltages=[239.6, 240.22, 238.36], power_factors=[0.9959, 0.99, 0.9990000000000001], imported=7336350.0, exported=4871307.0, power=6648.0, frequency=49.97)
2024-01-05 04:18:11,495 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:18:11,497 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:18:11,499 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.89, 60.23, 60.17]A
2024-01-05 04:18:11,502 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40637.229999999996W
2024-01-05 04:18:11,503 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:18:11,505 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:18:11,506 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:18:11,508 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:18:11.507699
2024-01-05 04:18:11,509 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -941.942482s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:18:11,511 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:18:11.510856
2024-01-05 04:18:11,512 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89492.83697s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:18:11,513 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:18:11,516 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:18:11,517 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:18:11,537 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424682.1096625, power=2288.1600000000008, imported=3360092.052395739, exported=0)
2024-01-05 04:18:11,540 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00261893, power1: 2288.16, power2: 2307.63
2024-01-05 04:18:11,541 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.01804
2024-01-05 04:18:11,544 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.01804 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424691.537826, power=2307.63, imported=3360098.0704318034, exported=0)
2024-01-05 04:18:11,546 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:18:11,549 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:18:11,551 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3037.11, daily_exported=0, power=4285.23, imported=7210019.04, exported=0))
2024-01-05 04:18:11,556 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.03, 6.07, 5.99], daily_imported=3037.11, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210019.04, phases_in_use=3, plug_state=True, power=4285.23, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.64, 238.8, 239.97]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3266.609999999404, imported_since_plugged=3266.609999999404, range_charged=16.33304999999702, time_charged='4:06', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70be2f88>), 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))
2024-01-05 04:18:11,557 - {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=[])
2024-01-05 04:18:11,561 - {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'])
2024-01-05 04:18:11,563 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2420.0, 2106.0, 2121.0], currents=[10.1, 8.8, 8.9], voltages=[239.6, 240.22, 238.36], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=8135.0, imported=7336350.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6648.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40637.229999999996, raw_currents_left=[58.89, 60.23, 60.17], surplus_power_left=0, state_str=''))
2024-01-05 04:18:11,565 - {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=2307.63, invalid_home_consumption=0, daily_yield_home_consumption=4922.5534027117, imported_home_consumption=3360098.0704318034, disengageable_smarthome_power=0))
2024-01-05 04:18:11,567 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:18:11,570 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:18:11,572 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:18:11,574 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:18:11,575 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:18:11,577 - {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=20000, 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=66, soc_timestamp=1704424672.107265, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:18:11,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)
2024-01-05 04:18:11,580 - {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)
2024-01-05 04:18:11,582 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:18:11,583 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:18:11,585 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:18:11,588 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:18:11,591 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x701d13b8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:18:11,593 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:18:11,595 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=55.14))
2024-01-05 04:18:11,597 - {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=8202091.902000001, power=55.14))
2024-01-05 04:18:11,598 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424682, 'time': '04:18:02', 'grid': 6.636, 'house-power': 2.288, 'charging-all': 4.287, 'pv-all': -0.061, 'cp1-power': 4.287, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:18:11,599 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:18:11,601 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:18:11,602 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:18:11,604 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:18:11,606 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:18:11,608 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:18:11,610 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:18:11,613 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:18:11,614 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:18:11,616 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:18:11,618 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.89, 54.23, 54.17]A verbleibende Ströme, 36497.229999999996W verbleibende Leistung
2024-01-05 04:18:11,620 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:18:11,624 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:18:11,626 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:18:11,629 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:18:11,631 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:18:11,633 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:18:11,635 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6602.770000000004W
2024-01-05 04:18:11,636 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6602.770000000004W
2024-01-05 04:18:11,638 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:18:11,639 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:18:11,641 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3275.8799999998882 counter 7210019.04
2024-01-05 04:18:11,644 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:18:11,646 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:18:11,661 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:18:12,086 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:18:12,094 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:18:15,104 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:18:15,105 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:18:20,116 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:18:20,117 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:18:20,153 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:18:20,157 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:18:20,160 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:18:20,166 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:18:20,170 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:18:20,218 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:18:20,220 - {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":240.5, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424699},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:18","unixtime":1704424700,"uptime":3784062,"ram_size":248936,"ram_free":144376,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:18:20,222 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424690.6942754, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:18:20,223 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00264668, power1: 0, power2: 0
2024-01-05 04:18:20,223 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:18:20,223 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424700.2223349, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:18:20,224 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:18:20,426 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6628, -2413, -2099, -2115], Scale 0
2024-01-05 04:18:20,476 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [101, 88, 88], Scale -1
2024-01-05 04:18:20,495 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23954, 24027, 23832, 0, 0, 0, 0], Scale -2
2024-01-05 04:18:20,515 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:18:20,535 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9969, 9879, 10000], Scale -2
2024-01-05 04:18:20,727 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336364, 3034667, 2160152, 2693490], Scale 0
2024-01-05 04:18:20,729 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.100000000000001, 8.8, 8.8], powers=[2413.0, 2099.0, 2115.0], voltages=[239.54, 240.27, 238.32], power_factors=[0.9969, 0.9879000000000001, 1.0], imported=7336364.0, exported=4871307.0, power=6628.0, frequency=49.99)
2024-01-05 04:18:20,732 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:18:20,757 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4382], Scale -2
2024-01-05 04:18:20,776 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:18:20,795 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 33, 33], Scale -2
2024-01-05 04:18:20,856 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4449], Scale -2
2024-01-05 04:18:20,858 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.33, 0.33], power=43.82, exported=7869605.0, dc_power=44.49)
2024-01-05 04:18:20,860 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:18:20,918 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424691.1682246, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:18:20,919 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00270844, power1: 0, power2: 0
2024-01-05 04:18:20,920 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:18:20,920 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424700.9186196, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:18:20,922 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:18:20,927 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:18:20,928 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:18:21,004 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:18:21,007 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:18:21,009 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=43.82, exported=7904493.99, dc_power=None)
2024-01-05 04:18:21,012 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:18:21,015 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:18:21,017 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:18:21,012 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=43.82, exported=7904493.99, dc_power=None)
2024-01-05 04:18:21,100 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:18:21,101 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.8, 8.8], powers=[2413.0, 2099.0, 2115.0], voltages=[239.54, 240.27, 238.32], power_factors=[0.9969, 0.9879000000000001, 1.0], imported=7336364.0, exported=4871307.0, power=6628.0, frequency=49.99)
2024-01-05 04:18:21,266 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:18:21,267 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:18:21,271 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.91, 60.25, 60.29]A
2024-01-05 04:18:21,272 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40664.25W
2024-01-05 04:18:21,273 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:18:21,275 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:18:21,277 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:18:21,279 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:18:21.278635
2024-01-05 04:18:21,280 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -951.713418s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:18:21,282 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:18:21.282118
2024-01-05 04:18:21,283 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89483.065708s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:18:21,283 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:18:21,287 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:18:21,288 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.09
2024-01-05 04:18:21,292 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424691.537826, power=2307.63, imported=3360098.0704318034, exported=0)
2024-01-05 04:18:21,299 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00270958, power1: 2307.63, power2: 2291.93
2024-01-05 04:18:21,299 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.23143
2024-01-05 04:18:21,302 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.23143 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424701.2923033, power=2291.9300000000003, imported=3360104.3018628363, exported=0)
2024-01-05 04:18:21,310 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:18:21,317 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:18:21,318 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3037.11, daily_exported=0, power=4292.25, imported=7210030.76, exported=0))
2024-01-05 04:18:21,322 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.05, 6.09, 6.01], daily_imported=3037.11, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210030.76, phases_in_use=3, plug_state=True, power=4292.25, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.47, 238.68, 239.85]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3275.8799999998882, imported_since_plugged=3275.8799999998882, range_charged=16.379399999999443, time_charged='4:06', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7fe5b0>), 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))
2024-01-05 04:18:21,324 - {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=[])
2024-01-05 04:18:21,325 - {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'])
2024-01-05 04:18:21,326 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2413.0, 2099.0, 2115.0], currents=[10.1, 8.8, 8.8], voltages=[239.54, 240.27, 238.32], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=8135.0, imported=7336364.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6628.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40664.25, raw_currents_left=[58.91, 60.25, 60.29], surplus_power_left=0, state_str=''))
2024-01-05 04:18:21,327 - {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=2291.9300000000003, invalid_home_consumption=0, daily_yield_home_consumption=4922.5534027117, imported_home_consumption=3360104.3018628363, disengageable_smarthome_power=0))
2024-01-05 04:18:21,328 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:18:21,330 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:18:21,331 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:18:21,333 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:18:21,334 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:18:21,336 - {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=20000, 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=66, soc_timestamp=1704424672.107265, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:18:21,339 - {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)
2024-01-05 04:18:21,340 - {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)
2024-01-05 04:18:21,341 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:18:21,342 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:18:21,343 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:18:21,346 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:18:21,348 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x70b3df28>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:18:21,354 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:18:21,356 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=43.82))
2024-01-05 04:18:21,357 - {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=8202091.902000001, power=43.82))
2024-01-05 04:18:21,359 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424691, 'time': '04:18:11', 'grid': 6.648, 'house-power': 2.308, 'charging-all': 4.285, 'pv-all': -0.055, 'cp1-power': 4.285, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:18:21,361 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:18:21,363 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:18:21,364 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:18:21,365 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:18:21,366 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:18:21,367 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:18:21,368 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:18:21,371 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:18:21,371 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:18:21,373 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:18:21,375 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.91, 54.25, 54.29]A verbleibende Ströme, 36524.25W verbleibende Leistung
2024-01-05 04:18:21,377 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:18:21,380 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:18:21,382 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:18:21,384 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:18:21,385 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:18:21,387 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:18:21,388 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6575.75W
2024-01-05 04:18:21,389 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6575.75W
2024-01-05 04:18:21,390 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:18:21,391 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:18:21,392 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3287.5999999996275 counter 7210030.76
2024-01-05 04:18:21,396 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:18:21,400 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:18:21,425 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:18:21,880 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:18:25,932 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:18:25,938 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:18:30,950 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:18:30,951 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:18:30,998 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:18:31,001 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:18:31,002 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:18:31,010 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:18:31,013 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:18:31,055 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:18:31,057 - {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":240.6, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424709},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:18","unixtime":1704424711,"uptime":3784073,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:18:31,060 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424700.2223349, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:18:31,062 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00301062, power1: 0, power2: 0
2024-01-05 04:18:31,063 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:18:31,063 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424711.0605607, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:18:31,066 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:18:31,069 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6647, -2422, -2101, -2123], Scale 0
2024-01-05 04:18:31,109 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [101, 88, 89], Scale -1
2024-01-05 04:18:31,130 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23965, 24025, 23838, 0, 0, 0, 0], Scale -2
2024-01-05 04:18:31,278 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:18:31,296 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9940, 9900, 9990], Scale -2
2024-01-05 04:18:31,317 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336379, 3034672, 2160156, 2693494], Scale 0
2024-01-05 04:18:31,318 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2422.0, 2101.0, 2123.0], voltages=[239.65, 240.25, 238.38], power_factors=[0.9940000000000001, 0.99, 0.9990000000000001], imported=7336379.0, exported=4871307.0, power=6647.0, frequency=49.97)
2024-01-05 04:18:31,320 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:18:31,337 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-3970], Scale -2
2024-01-05 04:18:31,366 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:18:31,387 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 32, 32], Scale -2
2024-01-05 04:18:31,410 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4030], Scale -2
2024-01-05 04:18:31,411 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.32, 0.32], power=39.7, exported=7869605.0, dc_power=40.300000000000004)
2024-01-05 04:18:31,414 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:18:31,498 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424700.9186196, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:18:31,499 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00293885, power1: 0, power2: 0
2024-01-05 04:18:31,502 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:18:31,503 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424711.4984772, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:18:31,505 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:18:31,508 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:18:31,511 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:18:31,673 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:18:31,675 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:18:31,679 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:18:31,680 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=39.7, exported=7904493.99, dc_power=None)
2024-01-05 04:18:31,686 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:18:31,687 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=39.7, exported=7904493.99, dc_power=None)
2024-01-05 04:18:31,692 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:18:31,790 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:18:31,791 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2422.0, 2101.0, 2123.0], voltages=[239.65, 240.25, 238.38], power_factors=[0.9940000000000001, 0.99, 0.9990000000000001], imported=7336379.0, exported=4871307.0, power=6647.0, frequency=49.97)
2024-01-05 04:18:31,985 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:18:31,987 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:18:31,991 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.9, 60.25, 60.18]A
2024-01-05 04:18:31,992 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40645.24W
2024-01-05 04:18:31,993 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:18:31,995 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:18:31,996 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:18:31,998 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:18:31.998039
2024-01-05 04:18:31,999 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -962.432822s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:18:32,001 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:18:32.000571
2024-01-05 04:18:32,001 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89472.347255s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:18:32,002 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:18:32,006 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:18:32,007 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:18:32,040 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424701.2923033, power=2291.9300000000003, imported=3360104.3018628363, exported=0)
2024-01-05 04:18:32,043 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00298556, power1: 2291.93, power2: 2315.06
2024-01-05 04:18:32,050 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.87722
2024-01-05 04:18:32,051 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.87722 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424712.0403135, power=2315.0600000000004, imported=3360111.179081631, exported=0)
2024-01-05 04:18:32,057 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:18:32,061 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:18:32,062 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3037.11, daily_exported=0, power=4292.24, imported=7210045.9, exported=0))
2024-01-05 04:18:32,064 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.05, 6.08, 6.0], daily_imported=3037.11, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210045.9, phases_in_use=3, plug_state=True, power=4292.24, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.64, 238.76, 240.0]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3287.5999999996275, imported_since_plugged=3287.5999999996275, range_charged=16.437999999998137, time_charged='4:06', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7f0be0>), 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))
2024-01-05 04:18:32,066 - {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=[])
2024-01-05 04:18:32,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'])
2024-01-05 04:18:32,072 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2422.0, 2101.0, 2123.0], currents=[10.1, 8.8, 8.9], voltages=[239.65, 240.25, 238.38], power_factors=[0.99, 0.99, 1.0], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=8135.0, imported=7336379.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6647.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40645.24, raw_currents_left=[58.9, 60.25, 60.18], surplus_power_left=0, state_str=''))
2024-01-05 04:18:32,076 - {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=2315.0600000000004, invalid_home_consumption=0, daily_yield_home_consumption=4922.5534027117, imported_home_consumption=3360111.179081631, disengageable_smarthome_power=0))
2024-01-05 04:18:32,081 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:18:32,084 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:18:32,085 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:18:32,086 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:18:32,088 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:18:32,089 - {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=20000, 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=66, soc_timestamp=1704424672.107265, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:18:32,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)
2024-01-05 04:18:32,094 - {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)
2024-01-05 04:18:32,096 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:18:32,098 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:18:32,103 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:18:32,104 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:18:32,105 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f744d78>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:18:32,107 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:18:32,108 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=39.7))
2024-01-05 04:18:32,110 - {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=8202091.902000001, power=39.7))
2024-01-05 04:18:32,114 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424701, 'time': '04:18:21', 'grid': 6.628, 'house-power': 2.292, 'charging-all': 4.292, 'pv-all': -0.044, 'cp1-power': 4.292, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:18:32,116 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:18:32,117 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:18:32,118 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:18:32,120 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:18:32,121 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:18:32,123 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:18:32,125 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:18:32,126 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:18:32,127 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:18:32,129 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:18:32,131 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.9, 54.25, 54.18]A verbleibende Ströme, 36505.24W verbleibende Leistung
2024-01-05 04:18:32,133 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:18:32,138 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:18:32,140 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:18:32,142 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:18:32,143 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:18:32,146 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:18:32,147 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6594.760000000002W
2024-01-05 04:18:32,151 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6594.760000000002W
2024-01-05 04:18:32,152 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:18:32,154 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:18:32,156 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3302.7400000002235 counter 7210045.9
2024-01-05 04:18:32,169 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:18:32,176 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:18:32,206 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:18:32,481 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:18:32,482 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:18:35,491 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:18:35,493 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:18:40,516 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:18:40,517 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:18:40,595 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:18:40,597 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:18:40,598 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:18:40,610 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:18:40,655 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:18:40,657 - {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":240.6, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424719},"temperature":{"tC":29.3, "tF":84.7}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:18","unixtime":1704424721,"uptime":3784083,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:18:40,659 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:18:40,660 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424711.0605607, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:18:40,661 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00266667, power1: 0, power2: 0
2024-01-05 04:18:40,663 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:18:40,664 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424720.6605687, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:18:40,665 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:18:40,777 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6641, -2417, -2105, -2118], Scale 0
2024-01-05 04:18:40,857 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [101, 88, 89], Scale -1
2024-01-05 04:18:40,916 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23962, 24028, 23839, 0, 0, 0, 0], Scale -2
2024-01-05 04:18:40,966 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:18:41,009 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9969, 9890, 9969], Scale -2
2024-01-05 04:18:41,057 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336394, 3034677, 2160161, 2693499], Scale 0
2024-01-05 04:18:41,057 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2417.0, 2105.0, 2118.0], voltages=[239.62, 240.28, 238.39000000000001], power_factors=[0.9969, 0.9890000000000001, 0.9969], imported=7336394.0, exported=4871307.0, power=6641.0, frequency=49.97)
2024-01-05 04:18:41,059 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:18:41,095 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4265], Scale -2
2024-01-05 04:18:41,115 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:18:41,158 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 33, 32], Scale -2
2024-01-05 04:18:41,316 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4819], Scale -2
2024-01-05 04:18:41,317 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.33, 0.32], power=42.65, exported=7869605.0, dc_power=48.19)
2024-01-05 04:18:41,318 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:18:41,357 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424711.4984772, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:18:41,358 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00273846, power1: 0, power2: 0
2024-01-05 04:18:41,358 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:18:41,359 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424721.3569503, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:18:41,361 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:18:41,372 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:18:41,375 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:18:41,443 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:18:41,445 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:18:41,446 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=42.65, exported=7904493.99, dc_power=None)
2024-01-05 04:18:41,448 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:18:41,448 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=42.65, exported=7904493.99, dc_power=None)
2024-01-05 04:18:41,451 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:18:41,454 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:18:41,592 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:18:41,593 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2417.0, 2105.0, 2118.0], voltages=[239.62, 240.28, 238.39000000000001], power_factors=[0.9969, 0.9890000000000001, 0.9969], imported=7336394.0, exported=4871307.0, power=6641.0, frequency=49.97)
2024-01-05 04:18:41,915 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:18:41,916 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:18:41,918 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.89, 60.23, 60.17]A
2024-01-05 04:18:41,919 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40644.06W
2024-01-05 04:18:41,921 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:18:41,923 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:18:41,924 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:18:41,926 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:18:41.925785
2024-01-05 04:18:41,927 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -972.360568s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:18:41,928 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:18:41.928111
2024-01-05 04:18:41,929 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89462.419715s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:18:41,930 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:18:41,937 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:18:41,943 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:18:41,956 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424712.0403135, power=2315.0600000000004, imported=3360111.179081631, exported=0)
2024-01-05 04:18:41,959 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00275443, power1: 2315.06, power2: 2313.29
2024-01-05 04:18:41,961 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.37422
2024-01-05 04:18:41,963 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.37422 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424721.9562454, power=2313.29, imported=3360117.5533043523, exported=0)
2024-01-05 04:18:41,967 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:18:41,968 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:18:41,969 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3037.11, daily_exported=0, power=4285.06, imported=7210058.11, exported=0))
2024-01-05 04:18:41,970 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.03, 6.07, 5.99], daily_imported=3037.11, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210058.11, phases_in_use=3, plug_state=True, power=4285.06, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.7, 238.8, 240.05]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3302.7400000002235, imported_since_plugged=3302.7400000002235, range_charged=16.513700000001116, time_charged='4:06', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b3bc28>), 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))
2024-01-05 04:18:41,971 - {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=[])
2024-01-05 04:18:41,972 - {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'])
2024-01-05 04:18:41,974 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2417.0, 2105.0, 2118.0], currents=[10.1, 8.8, 8.9], voltages=[239.62, 240.28, 238.39], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=8135.0, imported=7336394.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6641.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40644.06, raw_currents_left=[58.89, 60.23, 60.17], surplus_power_left=0, state_str=''))
2024-01-05 04:18:41,976 - {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=2313.29, invalid_home_consumption=0, daily_yield_home_consumption=4922.5534027117, imported_home_consumption=3360117.5533043523, disengageable_smarthome_power=0))
2024-01-05 04:18:41,978 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:18:41,979 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:18:41,982 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:18:41,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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:18:41,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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:18:41,987 - {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=20000, 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=66, soc_timestamp=1704424672.107265, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:18:41,988 - {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)
2024-01-05 04:18:41,989 - {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)
2024-01-05 04:18:41,989 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:18:41,990 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:18:41,991 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:18:41,993 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:18:41,994 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7cddd8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:18:41,995 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:18:41,997 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=42.65))
2024-01-05 04:18:41,999 - {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=8202091.902000001, power=42.65))
2024-01-05 04:18:42,000 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424712, 'time': '04:18:32', 'grid': 6.647, 'house-power': 2.315, 'charging-all': 4.292, 'pv-all': -0.04, 'cp1-power': 4.292, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:18:42,001 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:18:42,002 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:18:42,003 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:18:42,003 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:18:42,004 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:18:42,005 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:18:42,006 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:18:42,007 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:18:42,009 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:18:42,011 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:18:42,012 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.89, 54.23, 54.17]A verbleibende Ströme, 36504.06W verbleibende Leistung
2024-01-05 04:18:42,014 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:18:42,019 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:18:42,021 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:18:42,023 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:18:42,025 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:18:42,027 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:18:42,029 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6595.940000000002W
2024-01-05 04:18:42,029 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6595.940000000002W
2024-01-05 04:18:42,030 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:18:42,031 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:18:42,032 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3314.9500000001863 counter 7210058.11
2024-01-05 04:18:42,034 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:18:42,040 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:18:42,065 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:18:42,318 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:18:45,348 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:18:45,349 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:18:50,361 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:18:50,362 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:18:50,408 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:18:50,410 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:18:50,417 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:18:50,419 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:18:50,421 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:18:50,459 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:18:50,461 - {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":240.6, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424729},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:18","unixtime":1704424731,"uptime":3784093,"ram_size":249000,"ram_free":145096,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:18:50,463 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424720.6605687, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:18:50,464 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00272311, power1: 0, power2: 0
2024-01-05 04:18:50,465 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:18:50,465 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424730.4637578, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:18:50,466 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:18:50,480 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6647, -2420, -2105, -2121], Scale 0
2024-01-05 04:18:50,506 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [101, 88, 89], Scale -1
2024-01-05 04:18:50,557 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23967, 24031, 23836, 0, 0, 0, 0], Scale -2
2024-01-05 04:18:50,576 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:18:50,606 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9969, 9900, 10000], Scale -2
2024-01-05 04:18:50,698 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336423, 3034688, 2160170, 2693509], Scale 0
2024-01-05 04:18:50,699 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2420.0, 2105.0, 2121.0], voltages=[239.67000000000002, 240.31, 238.36], power_factors=[0.9969, 0.99, 1.0], imported=7336423.0, exported=4871307.0, power=6647.0, frequency=50.0)
2024-01-05 04:18:50,705 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:18:50,727 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4403], Scale -2
2024-01-05 04:18:50,748 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:18:50,777 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 32], Scale -2
2024-01-05 04:18:50,795 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4470], Scale -2
2024-01-05 04:18:50,796 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.32], power=44.03, exported=7869605.0, dc_power=44.7)
2024-01-05 04:18:50,798 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:18:50,835 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424721.3569503, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:18:50,836 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00263298, power1: 0, power2: 0
2024-01-05 04:18:50,836 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:18:50,837 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424730.8356822, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:18:50,838 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:18:50,848 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:18:50,850 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:18:50,904 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:18:50,905 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:18:50,907 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:18:50,908 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=44.03, exported=7904493.99, dc_power=None)
2024-01-05 04:18:50,910 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:18:50,913 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=44.03, exported=7904493.99, dc_power=None)
2024-01-05 04:18:50,917 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:18:51,003 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:18:51,004 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2420.0, 2105.0, 2121.0], voltages=[239.67000000000002, 240.31, 238.36], power_factors=[0.9969, 0.99, 1.0], imported=7336423.0, exported=4871307.0, power=6647.0, frequency=50.0)
2024-01-05 04:18:51,183 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:18:51,190 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:18:51,201 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.89, 60.23, 60.17]A
2024-01-05 04:18:51,203 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40638.96W
2024-01-05 04:18:51,206 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:18:51,208 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:18:51,209 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:18:51,215 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:18:51.215456
2024-01-05 04:18:51,217 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -981.650239s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:18:51,221 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:18:51.220642
2024-01-05 04:18:51,225 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89453.127184s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:18:51,226 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:18:51,245 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:18:51,248 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:18:51,283 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424721.9562454, power=2313.29, imported=3360117.5533043523, exported=0)
2024-01-05 04:18:51,289 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00259081, power1: 2313.29, power2: 2317.01
2024-01-05 04:18:51,294 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 5.9981
2024-01-05 04:18:51,299 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 5.9981 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424731.2831473, power=2317.01, imported=3360123.5514090643, exported=0)
2024-01-05 04:18:51,304 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:18:51,307 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:18:51,311 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3037.11, daily_exported=0, power=4285.96, imported=7210066.89, exported=0))
2024-01-05 04:18:51,320 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.03, 6.07, 5.99], daily_imported=3037.11, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210066.89, phases_in_use=3, plug_state=True, power=4285.96, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.69, 238.75, 240.02]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3314.9500000001863, imported_since_plugged=3314.9500000001863, range_charged=16.574750000000932, time_charged='4:07', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x701fbef8>), 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))
2024-01-05 04:18:51,322 - {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=[])
2024-01-05 04:18:51,324 - {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'])
2024-01-05 04:18:51,325 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2420.0, 2105.0, 2121.0], currents=[10.1, 8.8, 8.9], voltages=[239.67, 240.31, 238.36], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=8135.0, imported=7336423.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6647.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40638.96, raw_currents_left=[58.89, 60.23, 60.17], surplus_power_left=0, state_str=''))
2024-01-05 04:18:51,328 - {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=2317.01, invalid_home_consumption=0, daily_yield_home_consumption=4922.5534027117, imported_home_consumption=3360123.5514090643, disengageable_smarthome_power=0))
2024-01-05 04:18:51,330 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:18:51,332 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:18:51,333 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:18:51,336 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:18:51,337 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:18:51,339 - {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=20000, 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=66, soc_timestamp=1704424727.805092, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:18:51,341 - {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)
2024-01-05 04:18:51,343 - {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)
2024-01-05 04:18:51,344 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:18:51,345 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:18:51,346 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:18:51,346 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:18:51,347 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x70b896a0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:18:51,347 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:18:51,348 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=44.03))
2024-01-05 04:18:51,348 - {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=8202091.902000001, power=44.03))
2024-01-05 04:18:51,349 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424722, 'time': '04:18:42', 'grid': 6.641, 'house-power': 2.313, 'charging-all': 4.285, 'pv-all': -0.043, 'cp1-power': 4.285, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:18:51,349 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:18:51,350 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:18:51,350 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:18:51,351 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:18:51,351 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:18:51,351 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:18:51,352 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:18:51,352 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:18:51,353 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:18:51,353 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:18:51,354 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.89, 54.23, 54.17]A verbleibende Ströme, 36498.96W verbleibende Leistung
2024-01-05 04:18:51,355 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:18:51,357 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:18:51,359 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:18:51,359 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:18:51,360 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:18:51,361 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:18:51,362 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6601.040000000001W
2024-01-05 04:18:51,362 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6601.040000000001W
2024-01-05 04:18:51,363 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:18:51,363 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:18:51,365 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3323.7299999995157 counter 7210066.89
2024-01-05 04:18:51,371 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:18:51,399 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:18:51,429 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:18:51,848 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:18:51,850 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:18:55,875 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:18:55,876 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:19:00,893 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:19:00,894 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:19:00,976 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:19:00,977 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:19:00,979 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:19:00,990 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:19:00,993 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:19:01,017 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6631, -2411, -2101, -2117], Scale 0
2024-01-05 04:19:01,037 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:19:01,039 - {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":240.7, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424739},"temperature":{"tC":29.0, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:19","unixtime":1704424741,"uptime":3784103,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:19:01,042 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424730.4637578, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:19:01,043 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0029385, power1: 0, power2: 0
2024-01-05 04:19:01,044 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:19:01,045 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424741.0423713, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:19:01,046 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:19:01,100 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [101, 88, 89], Scale -1
2024-01-05 04:19:01,139 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23960, 24022, 23835, 0, 0, 0, 0], Scale -2
2024-01-05 04:19:01,167 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:19:01,198 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9969, 9900, 10000], Scale -2
2024-01-05 04:19:01,248 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336438, 3034693, 2160175, 2693513], Scale 0
2024-01-05 04:19:01,248 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2411.0, 2101.0, 2117.0], voltages=[239.6, 240.22, 238.35], power_factors=[0.9969, 0.99, 1.0], imported=7336438.0, exported=4871307.0, power=6631.0, frequency=49.99)
2024-01-05 04:19:01,250 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:19:01,278 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4425], Scale -2
2024-01-05 04:19:01,335 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:19:01,375 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 32], Scale -2
2024-01-05 04:19:01,396 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4492], Scale -2
2024-01-05 04:19:01,396 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.32], power=44.25, exported=7869605.0, dc_power=44.92)
2024-01-05 04:19:01,397 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:19:01,557 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424730.8356822, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:19:01,557 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00297817, power1: 0, power2: 0
2024-01-05 04:19:01,558 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:19:01,558 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424741.5571089, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:19:01,559 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:19:01,562 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:19:01,563 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:19:01,647 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:19:01,647 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:19:01,649 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:19:01,651 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=44.25, exported=7904493.99, dc_power=None)
2024-01-05 04:19:01,659 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:19:01,661 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=44.25, exported=7904493.99, dc_power=None)
2024-01-05 04:19:01,662 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:19:01,759 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:19:01,761 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2411.0, 2101.0, 2117.0], voltages=[239.6, 240.22, 238.35], power_factors=[0.9969, 0.99, 1.0], imported=7336438.0, exported=4871307.0, power=6631.0, frequency=49.99)
2024-01-05 04:19:02,118 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:19:02,120 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:19:02,123 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.89, 60.23, 60.17]A
2024-01-05 04:19:02,124 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40653.97W
2024-01-05 04:19:02,125 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:19:02,127 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:19:02,128 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:19:02,129 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:19:02.129262
2024-01-05 04:19:02,131 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -992.564045s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:19:02,136 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:19:02.135817
2024-01-05 04:19:02,138 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89442.212009s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:19:02,139 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:19:02,144 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:19:02,146 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:19:02,154 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424731.2831473, power=2317.01, imported=3360123.5514090643, exported=0)
2024-01-05 04:19:02,156 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00301979, power1: 2317.01, power2: 2301.78
2024-01-05 04:19:02,157 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.97389
2024-01-05 04:19:02,159 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.97389 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424742.1543884, power=2301.7799999999997, imported=3360130.5252951263, exported=0)
2024-01-05 04:19:02,164 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:19:02,165 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:19:02,167 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3037.11, daily_exported=0, power=4284.97, imported=7210082.03, exported=0))
2024-01-05 04:19:02,168 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.03, 6.07, 5.99], daily_imported=3037.11, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210082.03, phases_in_use=3, plug_state=True, power=4284.97, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.69, 238.75, 239.97]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3323.7299999995157, imported_since_plugged=3323.7299999995157, range_charged=16.61864999999758, time_charged='4:07', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b27ac0>), 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))
2024-01-05 04:19:02,170 - {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=[])
2024-01-05 04:19:02,170 - {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'])
2024-01-05 04:19:02,171 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2411.0, 2101.0, 2117.0], currents=[10.1, 8.8, 8.9], voltages=[239.6, 240.22, 238.35], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=8135.0, imported=7336438.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6631.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40653.97, raw_currents_left=[58.89, 60.23, 60.17], surplus_power_left=0, state_str=''))
2024-01-05 04:19:02,172 - {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=2301.7799999999997, invalid_home_consumption=0, daily_yield_home_consumption=4922.5534027117, imported_home_consumption=3360130.5252951263, disengageable_smarthome_power=0))
2024-01-05 04:19:02,174 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:19:02,175 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:19:02,176 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:19:02,177 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:19:02,180 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:19:02,182 - {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=20000, 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=66, soc_timestamp=1704424727.805092, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:19:02,183 - {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)
2024-01-05 04:19:02,184 - {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)
2024-01-05 04:19:02,186 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:19:02,187 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:19:02,188 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:19:02,189 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:19:02,190 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7ed5e0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:19:02,192 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:19:02,193 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=44.25))
2024-01-05 04:19:02,194 - {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=8202091.902000001, power=44.25))
2024-01-05 04:19:02,195 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424731, 'time': '04:18:51', 'grid': 6.647, 'house-power': 2.317, 'charging-all': 4.286, 'pv-all': -0.044, 'cp1-power': 4.286, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:19:02,197 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:19:02,199 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:19:02,200 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:19:02,201 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:19:02,203 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:19:02,204 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:19:02,205 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:19:02,208 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:19:02,209 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:19:02,211 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:19:02,213 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.89, 54.23, 54.17]A verbleibende Ströme, 36513.97W verbleibende Leistung
2024-01-05 04:19:02,215 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:19:02,217 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:19:02,219 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:19:02,221 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:19:02,222 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:19:02,227 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:19:02,228 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6586.029999999999W
2024-01-05 04:19:02,230 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6586.029999999999W
2024-01-05 04:19:02,231 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:19:02,232 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:19:02,235 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3338.8700000001118 counter 7210082.03
2024-01-05 04:19:02,240 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:19:02,245 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:19:02,273 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:19:02,518 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:19:05,539 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:19:05,540 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:19:10,551 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:19:10,553 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:19:10,598 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:19:10,600 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:19:10,601 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:19:10,608 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:19:10,656 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:19:10,657 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:19:10,661 - {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":240.7, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424749},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:19","unixtime":1704424751,"uptime":3784113,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-71},"ws":{"connected":false}}

2024-01-05 04:19:10,668 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424741.0423713, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:19:10,671 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00267381, power1: 0, power2: 0
2024-01-05 04:19:10,672 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:19:10,673 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424750.6680982, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:19:10,680 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:19:10,769 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6652, -2420, -2103, -2127], Scale 0
2024-01-05 04:19:10,796 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [101, 88, 88], Scale -1
2024-01-05 04:19:10,817 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23961, 24031, 23834, 0, 0, 0, 0], Scale -2
2024-01-05 04:19:10,836 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:19:10,886 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9950, 9879, 9990], Scale -2
2024-01-05 04:19:10,941 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336453, 3034699, 2160180, 2693518], Scale 0
2024-01-05 04:19:10,942 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.100000000000001, 8.8, 8.8], powers=[2420.0, 2103.0, 2127.0], voltages=[239.61, 240.31, 238.34], power_factors=[0.995, 0.9879000000000001, 0.9990000000000001], imported=7336453.0, exported=4871307.0, power=6652.0, frequency=50.0)
2024-01-05 04:19:10,944 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:19:11,025 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5119], Scale -2
2024-01-05 04:19:11,045 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:19:11,065 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 32], Scale -2
2024-01-05 04:19:11,276 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5197], Scale -2
2024-01-05 04:19:11,276 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.32], power=51.19, exported=7869605.0, dc_power=51.97)
2024-01-05 04:19:11,278 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:19:11,416 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424741.5571089, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:19:11,417 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00273863, power1: 0, power2: 0
2024-01-05 04:19:11,417 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:19:11,417 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424751.4161873, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:19:11,419 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:19:11,435 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:19:11,437 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:19:11,484 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:19:11,487 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:19:11,488 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=51.19, exported=7904493.99, dc_power=None)
2024-01-05 04:19:11,490 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=51.19, exported=7904493.99, dc_power=None)
2024-01-05 04:19:11,491 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:19:11,495 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:19:11,496 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:19:11,570 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:19:11,571 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.8, 8.8], powers=[2420.0, 2103.0, 2127.0], voltages=[239.61, 240.31, 238.34], power_factors=[0.995, 0.9879000000000001, 0.9990000000000001], imported=7336453.0, exported=4871307.0, power=6652.0, frequency=50.0)
2024-01-05 04:19:11,761 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:19:11,763 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:19:11,771 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.89, 60.23, 60.269999999999996]A
2024-01-05 04:19:11,773 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40632.46W
2024-01-05 04:19:11,774 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:19:11,778 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:19:11,779 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:19:11,782 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:19:11.782302
2024-01-05 04:19:11,785 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1002.217085s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:19:11,786 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:19:11.786256
2024-01-05 04:19:11,788 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89432.56157s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:19:11,789 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:19:11,792 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:19:11,799 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:19:11,817 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424742.1543884, power=2301.7799999999997, imported=3360130.5252951263, exported=0)
2024-01-05 04:19:11,819 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00268416, power1: 2301.78, power2: 2316.35
2024-01-05 04:19:11,820 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.19791
2024-01-05 04:19:11,822 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.19791 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424751.817377, power=2316.3500000000004, imported=3360136.7232031585, exported=0)
2024-01-05 04:19:11,827 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:19:11,828 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:19:11,829 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3037.11, daily_exported=0, power=4284.46, imported=7210090.82, exported=0))
2024-01-05 04:19:11,831 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.03, 6.07, 5.99], daily_imported=3037.11, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210090.82, phases_in_use=3, plug_state=True, power=4284.46, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.67, 238.8, 239.97]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3338.8700000001118, imported_since_plugged=3338.8700000001118, range_charged=16.69435000000056, time_charged='4:07', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x701fb088>), 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))
2024-01-05 04:19:11,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=[])
2024-01-05 04:19:11,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'])
2024-01-05 04:19:11,837 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2420.0, 2103.0, 2127.0], currents=[10.1, 8.8, 8.8], voltages=[239.61, 240.31, 238.34], power_factors=[0.99, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=8135.0, imported=7336453.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6652.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40632.46, raw_currents_left=[58.89, 60.23, 60.269999999999996], surplus_power_left=0, state_str=''))
2024-01-05 04:19:11,848 - {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=2316.3500000000004, invalid_home_consumption=0, daily_yield_home_consumption=4922.5534027117, imported_home_consumption=3360136.7232031585, disengageable_smarthome_power=0))
2024-01-05 04:19:11,850 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:19:11,851 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:19:11,852 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:19:11,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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:19:11,857 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:19:11,858 - {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=20000, 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=66, soc_timestamp=1704424727.805092, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:19:11,859 - {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)
2024-01-05 04:19:11,861 - {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)
2024-01-05 04:19:11,875 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:19:11,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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:19:11,878 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:19:11,879 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:19:11,880 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f744b08>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:19:11,881 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:19:11,881 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=51.19))
2024-01-05 04:19:11,882 - {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=8202091.902000001, power=51.19))
2024-01-05 04:19:11,882 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424742, 'time': '04:19:02', 'grid': 6.631, 'house-power': 2.302, 'charging-all': 4.285, 'pv-all': -0.044, 'cp1-power': 4.285, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:19:11,883 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:19:11,883 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:19:11,884 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:19:11,884 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:19:11,884 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:19:11,885 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:19:11,885 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:19:11,887 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:19:11,890 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:19:11,892 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:19:11,893 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.89, 54.23, 54.269999999999996]A verbleibende Ströme, 36492.46W verbleibende Leistung
2024-01-05 04:19:11,895 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:19:11,898 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:19:11,900 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:19:11,904 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:19:11,905 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:19:11,908 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:19:11,910 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6607.540000000001W
2024-01-05 04:19:11,912 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6607.540000000001W
2024-01-05 04:19:11,913 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:19:11,914 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:19:11,916 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3347.660000000149 counter 7210090.82
2024-01-05 04:19:11,920 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:19:11,923 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:19:11,961 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:19:12,438 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:19:12,442 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:19:15,449 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:19:15,450 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:19:20,463 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:19:20,463 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:19:20,507 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:19:20,510 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:19:20,511 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:19:20,519 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:19:20,556 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:19:20,585 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:19:20,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":240.5, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424759},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:19","unixtime":1704424761,"uptime":3784123,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:19:20,589 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424750.6680982, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:19:20,589 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00275579, power1: 0, power2: 0
2024-01-05 04:19:20,590 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:19:20,590 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424760.5889595, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:19:20,591 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:19:20,656 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6643, -2415, -2101, -2126], Scale 0
2024-01-05 04:19:20,686 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [101, 88, 89], Scale -1
2024-01-05 04:19:20,733 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23931, 24015, 23854, 0, 0, 0, 0], Scale -2
2024-01-05 04:19:20,789 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:19:20,836 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9959, 9919, 9969], Scale -2
2024-01-05 04:19:20,868 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336482, 3034710, 2160189, 2693527], Scale 0
2024-01-05 04:19:20,869 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2415.0, 2101.0, 2126.0], voltages=[239.31, 240.15, 238.54], power_factors=[0.9959, 0.9919, 0.9969], imported=7336482.0, exported=4871307.0, power=6643.0, frequency=50.0)
2024-01-05 04:19:20,870 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:19:20,895 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4770], Scale -2
2024-01-05 04:19:20,916 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:19:21,045 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 33], Scale -2
2024-01-05 04:19:21,067 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4842], Scale -2
2024-01-05 04:19:21,068 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.33], power=47.7, exported=7869605.0, dc_power=48.42)
2024-01-05 04:19:21,070 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:19:21,126 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424751.4161873, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:19:21,127 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00269735, power1: 0, power2: 0
2024-01-05 04:19:21,128 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:19:21,128 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424761.1266491, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:19:21,130 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:19:21,143 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:19:21,144 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:19:21,209 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:19:21,211 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:19:21,217 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.7, exported=7904493.99, dc_power=None)
2024-01-05 04:19:21,219 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.7, exported=7904493.99, dc_power=None)
2024-01-05 04:19:21,222 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:19:21,239 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:19:21,241 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:19:21,299 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:19:21,300 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2415.0, 2101.0, 2126.0], voltages=[239.31, 240.15, 238.54], power_factors=[0.9959, 0.9919, 0.9969], imported=7336482.0, exported=4871307.0, power=6643.0, frequency=50.0)
2024-01-05 04:19:21,509 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:19:21,513 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:19:21,517 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.91, 60.24, 60.18]A
2024-01-05 04:19:21,518 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40650.33W
2024-01-05 04:19:21,519 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:19:21,522 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:19:21,523 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:19:21,525 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:19:21.524858
2024-01-05 04:19:21,526 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1011.959641s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:19:21,529 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:19:21.529008
2024-01-05 04:19:21,532 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89422.818818s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:19:21,533 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:19:21,538 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:19:21,540 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:19:21,544 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424751.817377, power=2316.3500000000004, imported=3360136.7232031585, exported=0)
2024-01-05 04:19:21,546 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00270202, power1: 2316.35, power2: 2301.97
2024-01-05 04:19:21,550 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.2394
2024-01-05 04:19:21,553 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.2394 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424761.5446606, power=2301.9700000000003, imported=3360142.962607024, exported=0)
2024-01-05 04:19:21,558 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:19:21,560 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:19:21,565 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3037.11, daily_exported=0, power=4293.33, imported=7210104.0, exported=0))
2024-01-05 04:19:21,567 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.04, 6.08, 6.01], daily_imported=3037.11, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210104.0, phases_in_use=3, plug_state=True, power=4293.33, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.54, 238.9, 239.7]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3347.660000000149, imported_since_plugged=3347.660000000149, range_charged=16.738300000000745, time_charged='4:07', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bcfdd8>), 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))
2024-01-05 04:19:21,569 - {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=[])
2024-01-05 04:19:21,570 - {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'])
2024-01-05 04:19:21,572 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2415.0, 2101.0, 2126.0], currents=[10.1, 8.8, 8.9], voltages=[239.31, 240.15, 238.54], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=8135.0, imported=7336482.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6643.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40650.33, raw_currents_left=[58.91, 60.24, 60.18], surplus_power_left=0, state_str=''))
2024-01-05 04:19:21,574 - {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=2301.9700000000003, invalid_home_consumption=0, daily_yield_home_consumption=4922.5534027117, imported_home_consumption=3360142.962607024, disengageable_smarthome_power=0))
2024-01-05 04:19:21,578 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:19:21,579 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:19:21,580 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:19:21,583 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:19:21,584 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:19:21,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=20000, 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=66, soc_timestamp=1704424727.805092, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:19:21,593 - {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)
2024-01-05 04:19:21,594 - {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)
2024-01-05 04:19:21,595 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:19:21,596 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:19:21,597 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:19:21,600 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:19:21,601 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7f9cb8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:19:21,603 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:19:21,604 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=47.7))
2024-01-05 04:19:21,606 - {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=8202091.902000001, power=47.7))
2024-01-05 04:19:21,607 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424751, 'time': '04:19:11', 'grid': 6.652, 'house-power': 2.316, 'charging-all': 4.284, 'pv-all': -0.051, 'cp1-power': 4.284, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:19:21,608 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:19:21,611 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:19:21,613 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:19:21,614 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:19:21,615 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:19:21,616 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:19:21,616 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:19:21,617 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:19:21,617 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:19:21,618 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:19:21,619 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.91, 54.24, 54.18]A verbleibende Ströme, 36510.33W verbleibende Leistung
2024-01-05 04:19:21,619 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:19:21,621 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:19:21,622 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:19:21,623 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:19:21,623 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:19:21,625 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:19:21,626 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6589.669999999998W
2024-01-05 04:19:21,629 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6589.669999999998W
2024-01-05 04:19:21,630 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:19:21,631 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:19:21,633 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3360.839999999851 counter 7210104.0
2024-01-05 04:19:21,646 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:19:21,648 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:19:21,680 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:19:21,927 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:19:25,964 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:19:25,965 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:19:30,978 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:19:30,979 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:19:31,026 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:19:31,027 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:19:31,034 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:19:31,035 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:19:31,038 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:19:31,080 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:19:31,083 - {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":240.4, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424769},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:19","unixtime":1704424771,"uptime":3784133,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:19:31,088 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424760.5889595, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:19:31,090 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00291644, power1: 0, power2: 0
2024-01-05 04:19:31,092 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:19:31,093 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424771.0881264, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:19:31,096 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:19:31,109 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6644, -2413, -2103, -2127], Scale 0
2024-01-05 04:19:31,127 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [101, 88, 89], Scale -1
2024-01-05 04:19:31,147 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23931, 24011, 23863, 0, 0, 0, 0], Scale -2
2024-01-05 04:19:31,227 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:19:31,255 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9969, 9890, 9980], Scale -2
2024-01-05 04:19:31,278 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336497, 3034715, 2160194, 2693532], Scale 0
2024-01-05 04:19:31,279 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2413.0, 2103.0, 2127.0], voltages=[239.31, 240.11, 238.63], power_factors=[0.9969, 0.9890000000000001, 0.998], imported=7336497.0, exported=4871307.0, power=6644.0, frequency=50.0)
2024-01-05 04:19:31,285 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:19:31,306 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4587], Scale -2
2024-01-05 04:19:31,326 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:19:31,372 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 32], Scale -2
2024-01-05 04:19:31,396 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4683], Scale -2
2024-01-05 04:19:31,397 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.32], power=45.87, exported=7869605.0, dc_power=46.83)
2024-01-05 04:19:31,398 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:19:31,456 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424761.1266491, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:19:31,457 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00286938, power1: 0, power2: 0
2024-01-05 04:19:31,457 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:19:31,458 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424771.4564, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:19:31,459 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:19:31,462 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:19:31,463 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:19:31,517 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:19:31,526 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:19:31,527 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:19:31,531 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=45.87, exported=7904493.99, dc_power=None)
2024-01-05 04:19:31,535 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:19:31,537 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=45.87, exported=7904493.99, dc_power=None)
2024-01-05 04:19:31,538 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:19:31,605 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:19:31,606 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2413.0, 2103.0, 2127.0], voltages=[239.31, 240.11, 238.63], power_factors=[0.9969, 0.9890000000000001, 0.998], imported=7336497.0, exported=4871307.0, power=6644.0, frequency=50.0)
2024-01-05 04:19:31,802 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:19:31,804 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:19:31,808 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.9, 60.24, 60.17]A
2024-01-05 04:19:31,810 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40642.72W
2024-01-05 04:19:31,811 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:19:31,814 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:19:31,815 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:19:31,817 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:19:31.816726
2024-01-05 04:19:31,818 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1022.251509s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:19:31,819 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:19:31.819044
2024-01-05 04:19:31,820 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89412.528782s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:19:31,823 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:19:31,835 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:19:31,849 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:19:31,877 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424761.5446606, power=2301.9700000000003, imported=3360142.962607024, exported=0)
2024-01-05 04:19:31,879 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00287012, power1: 2301.97, power2: 2311.41
2024-01-05 04:19:31,880 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.62047
2024-01-05 04:19:31,883 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.62047 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424771.8770792, power=2311.41, imported=3360149.583075592, exported=0)
2024-01-05 04:19:31,892 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:19:31,893 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:19:31,895 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3037.11, daily_exported=0, power=4286.72, imported=7210115.23, exported=0))
2024-01-05 04:19:31,897 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.04, 6.07, 6.0], daily_imported=3037.11, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210115.23, phases_in_use=3, plug_state=True, power=4286.72, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.41, 238.92, 239.57]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3360.839999999851, imported_since_plugged=3360.839999999851, range_charged=16.804199999999256, time_charged='4:07', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7fed78>), 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))
2024-01-05 04:19:31,899 - {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=[])
2024-01-05 04:19:31,904 - {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'])
2024-01-05 04:19:31,906 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2413.0, 2103.0, 2127.0], currents=[10.1, 8.8, 8.9], voltages=[239.31, 240.11, 238.63], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=8135.0, imported=7336497.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6644.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40642.72, raw_currents_left=[58.9, 60.24, 60.17], surplus_power_left=0, state_str=''))
2024-01-05 04:19:31,907 - {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=2311.41, invalid_home_consumption=0, daily_yield_home_consumption=4922.5534027117, imported_home_consumption=3360149.583075592, disengageable_smarthome_power=0))
2024-01-05 04:19:31,917 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:19:31,919 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:19:31,921 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:19:31,924 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:19:31,925 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:19:31,926 - {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=20000, 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=66, soc_timestamp=1704424727.805092, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:19:31,927 - {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)
2024-01-05 04:19:31,928 - {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)
2024-01-05 04:19:31,928 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:19:31,930 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:19:31,930 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:19:31,931 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:19:31,932 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7faef8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:19:31,933 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:19:31,934 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=45.87))
2024-01-05 04:19:31,934 - {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=8202091.902000001, power=45.87))
2024-01-05 04:19:31,936 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424761, 'time': '04:19:21', 'grid': 6.643, 'house-power': 2.302, 'charging-all': 4.293, 'pv-all': -0.048, 'cp1-power': 4.293, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:19:31,938 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:19:31,952 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:19:31,953 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:19:31,954 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:19:31,956 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:19:31,960 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:19:31,961 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:19:31,962 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:19:31,966 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:19:31,975 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:19:31,976 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.9, 54.24, 54.17]A verbleibende Ströme, 36502.72W verbleibende Leistung
2024-01-05 04:19:31,979 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:19:31,981 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:19:31,989 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:19:31,994 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:19:31,995 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:19:31,997 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:19:31,999 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6597.279999999999W
2024-01-05 04:19:32,000 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6597.279999999999W
2024-01-05 04:19:32,001 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:19:32,004 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:19:32,006 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3372.070000000298 counter 7210115.23
2024-01-05 04:19:32,009 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:19:32,011 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:19:32,066 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:19:32,513 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:19:32,514 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:19:35,532 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:19:35,533 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:19:40,545 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:19:40,546 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:19:40,585 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:19:40,588 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:19:40,591 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:19:40,596 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:19:40,598 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:19:40,641 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:19:40,643 - {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":240.6, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424779},"temperature":{"tC":29.0, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:19","unixtime":1704424781,"uptime":3784143,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:19:40,646 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424771.0881264, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:19:40,646 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00265501, power1: 0, power2: 0
2024-01-05 04:19:40,647 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:19:40,647 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424780.6461573, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:19:40,649 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:19:40,677 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6643, -2414, -2100, -2129], Scale 0
2024-01-05 04:19:40,707 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [101, 88, 89], Scale -1
2024-01-05 04:19:40,735 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23921, 24011, 23869, 0, 0, 0, 0], Scale -2
2024-01-05 04:19:40,755 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:19:40,775 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9959, 9909, 9990], Scale -2
2024-01-05 04:19:40,796 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336512, 3034720, 2160198, 2693537], Scale 0
2024-01-05 04:19:40,796 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2414.0, 2100.0, 2129.0], voltages=[239.21, 240.11, 238.69], power_factors=[0.9959, 0.9909, 0.9990000000000001], imported=7336512.0, exported=4871307.0, power=6643.0, frequency=50.0)
2024-01-05 04:19:40,799 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:19:40,838 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4840], Scale -2
2024-01-05 04:19:40,938 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:19:41,006 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 32], Scale -2
2024-01-05 04:19:41,028 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4798], Scale -2
2024-01-05 04:19:41,029 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.32], power=48.4, exported=7869605.0, dc_power=47.980000000000004)
2024-01-05 04:19:41,031 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:19:41,286 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424771.4564, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:19:41,287 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00273056, power1: 0, power2: 0
2024-01-05 04:19:41,288 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:19:41,288 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424781.286426, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:19:41,290 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:19:41,305 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:19:41,311 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:19:41,372 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:19:41,374 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:19:41,375 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:19:41,381 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=48.4, exported=7904493.99, dc_power=None)
2024-01-05 04:19:41,388 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:19:41,391 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=48.4, exported=7904493.99, dc_power=None)
2024-01-05 04:19:41,392 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:19:41,458 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:19:41,458 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2414.0, 2100.0, 2129.0], voltages=[239.21, 240.11, 238.69], power_factors=[0.9959, 0.9909, 0.9990000000000001], imported=7336512.0, exported=4871307.0, power=6643.0, frequency=50.0)
2024-01-05 04:19:41,617 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:19:41,619 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:19:41,627 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.91, 60.24, 60.17]A
2024-01-05 04:19:41,629 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40650.8W
2024-01-05 04:19:41,630 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:19:41,633 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:19:41,634 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:19:41,641 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:19:41.640988
2024-01-05 04:19:41,643 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1032.075771s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:19:41,645 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:19:41.644718
2024-01-05 04:19:41,646 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89402.703108s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:19:41,647 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:19:41,649 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:19:41,650 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:19:41,658 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424771.8770792, power=2311.41, imported=3360149.583075592, exported=0)
2024-01-05 04:19:41,660 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00271717, power1: 2311.41, power2: 2300.8
2024-01-05 04:19:41,663 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.26607
2024-01-05 04:19:41,663 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.26607 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424781.6588762, power=2300.8, imported=3360155.8491452625, exported=0)
2024-01-05 04:19:41,672 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:19:41,682 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:19:41,683 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3037.11, daily_exported=0, power=4293.8, imported=7210127.93, exported=0))
2024-01-05 04:19:41,685 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.04, 6.07, 6.01], daily_imported=3037.11, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210127.93, phases_in_use=3, plug_state=True, power=4293.8, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.64, 239.23, 239.63]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3372.070000000298, imported_since_plugged=3372.070000000298, range_charged=16.86035000000149, time_charged='4:07', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x71d44bc8>), 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))
2024-01-05 04:19:41,686 - {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=[])
2024-01-05 04:19:41,686 - {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'])
2024-01-05 04:19:41,686 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2414.0, 2100.0, 2129.0], currents=[10.1, 8.8, 8.9], voltages=[239.21, 240.11, 238.69], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=8135.0, imported=7336512.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6643.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40650.8, raw_currents_left=[58.91, 60.24, 60.17], surplus_power_left=0, state_str=''))
2024-01-05 04:19:41,687 - {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=2300.8, invalid_home_consumption=0, daily_yield_home_consumption=4922.5534027117, imported_home_consumption=3360155.8491452625, disengageable_smarthome_power=0))
2024-01-05 04:19:41,687 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:19:41,688 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:19:41,689 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:19:41,689 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:19:41,690 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:19:41,690 - {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=20000, 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=66, soc_timestamp=1704424727.805092, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:19:41,691 - {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)
2024-01-05 04:19:41,691 - {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)
2024-01-05 04:19:41,691 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:19:41,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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:19:41,692 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:19:41,693 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:19:41,693 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x70b3d1c0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:19:41,694 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:19:41,694 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=48.4))
2024-01-05 04:19:41,694 - {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=8202091.902000001, power=48.4))
2024-01-05 04:19:41,695 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424772, 'time': '04:19:32', 'grid': 6.644, 'house-power': 2.311, 'charging-all': 4.287, 'pv-all': -0.046, 'cp1-power': 4.287, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:19:41,696 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:19:41,696 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:19:41,698 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:19:41,700 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:19:41,704 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:19:41,704 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:19:41,704 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:19:41,705 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:19:41,707 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:19:41,708 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:19:41,709 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.91, 54.24, 54.17]A verbleibende Ströme, 36510.8W verbleibende Leistung
2024-01-05 04:19:41,715 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:19:41,718 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:19:41,719 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:19:41,731 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:19:41,734 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:19:41,737 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:19:41,739 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6589.199999999997W
2024-01-05 04:19:41,740 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6589.199999999997W
2024-01-05 04:19:41,741 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:19:41,742 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:19:41,744 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3384.769999999553 counter 7210127.93
2024-01-05 04:19:41,752 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:19:41,756 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:19:41,780 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:19:42,045 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:19:45,065 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:19:45,066 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:19:50,078 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:19:50,079 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:19:50,124 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:19:50,125 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:19:50,132 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:19:50,134 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:19:50,138 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:19:50,179 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:19:50,181 - {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":240.7, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424789},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:19","unixtime":1704424790,"uptime":3784152,"ram_size":249000,"ram_free":145092,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-05 04:19:50,186 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424780.6461573, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:19:50,187 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6661, -2419, -2107, -2135], Scale 0
2024-01-05 04:19:50,188 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00265009, power1: 0, power2: 0
2024-01-05 04:19:50,190 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:19:50,191 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424790.1864839, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:19:50,192 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:19:50,266 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [101, 88, 89], Scale -1
2024-01-05 04:19:50,308 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23927, 24026, 23888, 0, 0, 0, 0], Scale -2
2024-01-05 04:19:50,327 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:19:50,357 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9969, 9909, 10000], Scale -2
2024-01-05 04:19:50,389 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336520, 3034726, 2160203, 2693542], Scale 0
2024-01-05 04:19:50,390 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2419.0, 2107.0, 2135.0], voltages=[239.27, 240.26, 238.88], power_factors=[0.9969, 0.9909, 1.0], imported=7336520.0, exported=4871307.0, power=6661.0, frequency=50.0)
2024-01-05 04:19:50,394 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:19:50,420 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4720], Scale -2
2024-01-05 04:19:50,507 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:19:50,526 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 31], Scale -2
2024-01-05 04:19:50,551 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5188], Scale -2
2024-01-05 04:19:50,553 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.31], power=47.2, exported=7869605.0, dc_power=51.88)
2024-01-05 04:19:50,555 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:19:50,626 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424781.286426, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:19:50,626 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00259435, power1: 0, power2: 0
2024-01-05 04:19:50,627 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:19:50,627 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424790.626068, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:19:50,628 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:19:50,631 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:19:50,632 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:19:50,684 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:19:50,686 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:19:50,688 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:19:50,688 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.2, exported=7904493.99, dc_power=None)
2024-01-05 04:19:50,696 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:19:50,700 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.2, exported=7904493.99, dc_power=None)
2024-01-05 04:19:50,701 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:19:50,758 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:19:50,758 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2419.0, 2107.0, 2135.0], voltages=[239.27, 240.26, 238.88], power_factors=[0.9969, 0.9909, 1.0], imported=7336520.0, exported=4871307.0, power=6661.0, frequency=50.0)
2024-01-05 04:19:50,944 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:19:50,947 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:19:50,955 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.9, 60.23, 60.17]A
2024-01-05 04:19:50,957 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40624.25W
2024-01-05 04:19:50,959 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:19:50,964 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:19:50,965 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:19:50,967 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:19:50.966578
2024-01-05 04:19:50,968 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1041.401361s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:19:50,970 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:19:50.969659
2024-01-05 04:19:50,973 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89393.378167s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:19:50,974 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:19:50,992 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:19:51,002 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:19:51,007 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424781.6588762, power=2300.8, imported=3360155.8491452625, exported=0)
2024-01-05 04:19:51,011 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00259692, power1: 2300.8, power2: 2328.55
2024-01-05 04:19:51,013 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.01102
2024-01-05 04:19:51,014 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.01102 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424791.0077753, power=2328.55, imported=3360161.860162786, exported=0)
2024-01-05 04:19:51,018 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:19:51,019 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:19:51,020 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3037.11, daily_exported=0, power=4285.25, imported=7210140.14, exported=0))
2024-01-05 04:19:51,022 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.03, 6.07, 6.0], daily_imported=3037.11, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210140.14, phases_in_use=3, plug_state=True, power=4285.25, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.59, 239.33, 239.58]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3384.769999999553, imported_since_plugged=3384.769999999553, range_charged=16.923849999997763, time_charged='4:08', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bf1568>), 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))
2024-01-05 04:19:51,022 - {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=[])
2024-01-05 04:19:51,024 - {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'])
2024-01-05 04:19:51,027 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2419.0, 2107.0, 2135.0], currents=[10.1, 8.8, 8.9], voltages=[239.27, 240.26, 238.88], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=8135.0, imported=7336520.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6661.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40624.25, raw_currents_left=[58.9, 60.23, 60.17], surplus_power_left=0, state_str=''))
2024-01-05 04:19:51,028 - {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=2328.55, invalid_home_consumption=0, daily_yield_home_consumption=4922.5534027117, imported_home_consumption=3360161.860162786, disengageable_smarthome_power=0))
2024-01-05 04:19:51,030 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:19:51,033 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:19:51,036 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:19:51,037 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:19:51,039 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:19:51,042 - {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=20000, 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=66, soc_timestamp=1704424783.433012, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:19:51,043 - {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)
2024-01-05 04:19:51,046 - {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)
2024-01-05 04:19:51,048 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:19:51,049 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:19:51,050 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:19:51,052 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:19:51,053 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7f09b8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:19:51,056 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:19:51,061 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=47.2))
2024-01-05 04:19:51,062 - {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=8202091.902000001, power=47.2))
2024-01-05 04:19:51,064 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424781, 'time': '04:19:41', 'grid': 6.643, 'house-power': 2.301, 'charging-all': 4.294, 'pv-all': -0.048, 'cp1-power': 4.294, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:19:51,065 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:19:51,066 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:19:51,067 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:19:51,070 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:19:51,071 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:19:51,075 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:19:51,077 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:19:51,079 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:19:51,080 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:19:51,082 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:19:51,084 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.9, 54.23, 54.17]A verbleibende Ströme, 36484.25W verbleibende Leistung
2024-01-05 04:19:51,085 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:19:51,089 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:19:51,091 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:19:51,093 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:19:51,095 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:19:51,098 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:19:51,099 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6615.75W
2024-01-05 04:19:51,100 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6615.75W
2024-01-05 04:19:51,102 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:19:51,103 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:19:51,109 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3396.9799999995157 counter 7210140.14
2024-01-05 04:19:51,115 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:19:51,118 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:19:51,161 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:19:51,418 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:19:51,426 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:19:55,439 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:19:55,440 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:20:00,454 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:20:00,455 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:20:00,558 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:20:00,567 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:20:00,577 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:20:00,588 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:20:00,591 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:20:00,609 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6639, -2406, -2098, -2134], Scale 0
2024-01-05 04:20:00,632 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [101, 88, 89], Scale -1
2024-01-05 04:20:00,645 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:20:00,648 - {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":240.5, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424799},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:20","unixtime":1704424801,"uptime":3784163,"ram_size":248948,"ram_free":144508,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:20:00,659 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23920, 24013, 23907, 0, 0, 0, 0], Scale -2
2024-01-05 04:20:00,660 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424790.1864839, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:20:00,663 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00290948, power1: 0, power2: 0
2024-01-05 04:20:00,665 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:20:00,667 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424800.6605954, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:20:00,670 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:20:00,678 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:20:00,697 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9950, 9879, 9969], Scale -2
2024-01-05 04:20:00,728 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336556, 3034736, 2160213, 2693551], Scale 0
2024-01-05 04:20:00,729 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2406.0, 2098.0, 2134.0], voltages=[239.20000000000002, 240.13, 239.07], power_factors=[0.995, 0.9879000000000001, 0.9969], imported=7336556.0, exported=4871307.0, power=6639.0, frequency=50.0)
2024-01-05 04:20:00,732 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:20:00,806 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4670], Scale -2
2024-01-05 04:20:00,828 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:20:00,846 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 32, 33], Scale -2
2024-01-05 04:20:00,915 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4741], Scale -2
2024-01-05 04:20:00,916 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.32, 0.33], power=46.7, exported=7869605.0, dc_power=47.410000000000004)
2024-01-05 04:20:00,917 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:20:00,967 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424790.626068, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:20:00,968 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00287261, power1: 0, power2: 0
2024-01-05 04:20:00,968 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:20:00,968 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424800.9674568, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:20:00,969 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:20:00,973 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:20:00,975 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:20:01,024 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:20:01,025 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:20:01,026 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:20:01,027 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.7, exported=7904493.99, dc_power=None)
2024-01-05 04:20:01,032 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:20:01,034 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.7, exported=7904493.99, dc_power=None)
2024-01-05 04:20:01,036 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:20:01,092 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:20:01,094 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2406.0, 2098.0, 2134.0], voltages=[239.20000000000002, 240.13, 239.07], power_factors=[0.995, 0.9879000000000001, 0.9969], imported=7336556.0, exported=4871307.0, power=6639.0, frequency=50.0)
2024-01-05 04:20:01,247 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:20:01,249 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:20:01,251 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.92, 60.24, 60.17]A
2024-01-05 04:20:01,252 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40655.42W
2024-01-05 04:20:01,254 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:20:01,257 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:20:01,258 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:20:01,260 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:20:01.260186
2024-01-05 04:20:01,262 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1051.694969s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:20:01,264 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:20:01.263614
2024-01-05 04:20:01,265 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89383.084212s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:20:01,266 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:20:01,270 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:20:01,272 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:20:01,280 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424791.0077753, power=2328.55, imported=3360161.860162786, exported=0)
2024-01-05 04:20:01,282 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00285354, power1: 2328.55, power2: 2297.88
2024-01-05 04:20:01,284 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.60086
2024-01-05 04:20:01,286 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.60086 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424801.2805274, power=2297.88, imported=3360168.4610194876, exported=0)
2024-01-05 04:20:01,291 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:20:01,293 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:20:01,294 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3037.11, daily_exported=0, power=4294.42, imported=7210151.86, exported=0))
2024-01-05 04:20:01,298 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.04, 6.07, 6.02], daily_imported=3037.11, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210151.86, phases_in_use=3, plug_state=True, power=4294.42, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.52, 239.45, 239.52]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3396.9799999995157, imported_since_plugged=3396.9799999995157, range_charged=16.98489999999758, time_charged='4:08', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b3db38>), 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))
2024-01-05 04:20:01,298 - {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=[])
2024-01-05 04:20:01,299 - {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'])
2024-01-05 04:20:01,301 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2406.0, 2098.0, 2134.0], currents=[10.1, 8.8, 8.9], voltages=[239.2, 240.13, 239.07], power_factors=[0.99, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=8135.0, imported=7336556.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6639.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40655.42, raw_currents_left=[58.92, 60.24, 60.17], surplus_power_left=0, state_str=''))
2024-01-05 04:20:01,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=2297.88, invalid_home_consumption=0, daily_yield_home_consumption=4922.5534027117, imported_home_consumption=3360168.4610194876, disengageable_smarthome_power=0))
2024-01-05 04:20:01,309 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:20:01,309 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:20:01,310 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:20:01,311 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:20:01,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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:20:01,312 - {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=20000, 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=66, soc_timestamp=1704424783.433012, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:20:01,312 - {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)
2024-01-05 04:20:01,312 - {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)
2024-01-05 04:20:01,313 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:20:01,313 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:20:01,313 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:20:01,314 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:20:01,314 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x70b61fe8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:20:01,315 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:20:01,315 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=46.7))
2024-01-05 04:20:01,317 - {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=8202091.902000001, power=46.7))
2024-01-05 04:20:01,317 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424791, 'time': '04:19:51', 'grid': 6.661, 'house-power': 2.329, 'charging-all': 4.285, 'pv-all': -0.047, 'cp1-power': 4.285, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:20:01,319 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:20:01,321 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:20:01,324 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:20:01,326 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:20:01,331 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:20:01,332 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:20:01,332 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:20:01,333 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:20:01,336 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:20:01,337 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:20:01,338 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.92, 54.24, 54.17]A verbleibende Ströme, 36515.42W verbleibende Leistung
2024-01-05 04:20:01,342 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:20:01,350 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:20:01,353 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:20:01,356 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:20:01,360 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:20:01,362 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:20:01,363 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6584.580000000002W
2024-01-05 04:20:01,365 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6584.580000000002W
2024-01-05 04:20:01,365 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:20:01,368 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:20:01,369 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3408.7000000001863 counter 7210151.86
2024-01-05 04:20:01,373 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:20:01,375 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:20:01,412 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:20:01,677 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:20:01,689 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2024-01-05 04:20:01,700 - {root:107} - {DEBUG:MainThread} - 5 Minuten Handler ausführen.
2024-01-05 04:20:01,792 - {helpermodules.system:74} - {INFO:MainThread} - my IP: 192.168.1.31
2024-01-05 04:20:01,794 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2024-01-05 04:20:05,180 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:20:05,181 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:20:10,192 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:20:10,193 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:20:10,235 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:20:10,238 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:20:10,243 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:20:10,248 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:20:10,251 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:20:10,287 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6656, -2420, -2105, -2131], Scale 0
2024-01-05 04:20:10,298 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:20:10,301 - {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":240.6, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424809},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:20","unixtime":1704424811,"uptime":3784172,"ram_size":248948,"ram_free":144508,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:20:10,311 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424800.6605954, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:20:10,314 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0026807, power1: 0, power2: 0
2024-01-05 04:20:10,314 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:20:10,315 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424810.3111184, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:20:10,317 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:20:10,354 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [101, 88, 89], Scale -1
2024-01-05 04:20:10,374 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23928, 24024, 23902, 0, 0, 0, 0], Scale -2
2024-01-05 04:20:10,394 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:20:10,545 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9950, 9869, 9980], Scale -2
2024-01-05 04:20:10,616 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336571, 3034742, 2160217, 2693556], Scale 0
2024-01-05 04:20:10,617 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2420.0, 2105.0, 2131.0], voltages=[239.28, 240.24, 239.02], power_factors=[0.995, 0.9869, 0.998], imported=7336571.0, exported=4871307.0, power=6656.0, frequency=50.0)
2024-01-05 04:20:10,620 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:20:10,662 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4436], Scale -2
2024-01-05 04:20:10,706 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:20:10,725 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 32, 33], Scale -2
2024-01-05 04:20:10,745 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4504], Scale -2
2024-01-05 04:20:10,747 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.32, 0.33], power=44.36, exported=7869605.0, dc_power=45.04)
2024-01-05 04:20:10,748 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:20:11,002 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424800.9674568, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:20:11,004 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00278748, power1: 0, power2: 0
2024-01-05 04:20:11,006 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:20:11,007 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424811.0023954, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:20:11,008 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:20:11,014 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:20:11,016 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:20:11,074 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:20:11,076 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:20:11,077 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:20:11,091 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=44.36, exported=7904493.99, dc_power=None)
2024-01-05 04:20:11,093 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:20:11,094 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=44.36, exported=7904493.99, dc_power=None)
2024-01-05 04:20:11,094 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:20:11,159 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:20:11,160 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2420.0, 2105.0, 2131.0], voltages=[239.28, 240.24, 239.02], power_factors=[0.995, 0.9869, 0.998], imported=7336571.0, exported=4871307.0, power=6656.0, frequency=50.0)
2024-01-05 04:20:11,338 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:20:11,340 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:20:11,343 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.91, 60.25, 60.15]A
2024-01-05 04:20:11,344 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40631.33W
2024-01-05 04:20:11,345 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:20:11,349 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:20:11,351 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:20:11,353 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:20:11.353086
2024-01-05 04:20:11,354 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1061.787869s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:20:11,356 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:20:11.356012
2024-01-05 04:20:11,358 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89372.991814s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:20:11,360 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:20:11,363 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:20:11,365 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.05
2024-01-05 04:20:11,384 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424801.2805274, power=2297.88, imported=3360168.4610194876, exported=0)
2024-01-05 04:20:11,387 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0028066, power1: 2297.88, power2: 2324.31
2024-01-05 04:20:11,398 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.48631
2024-01-05 04:20:11,398 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.48631 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424811.3842728, power=2324.3100000000004, imported=3360174.9473293805, exported=0)
2024-01-05 04:20:11,405 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:20:11,406 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:20:11,407 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3396.0, daily_exported=0, power=4287.33, imported=7210164.06, exported=0))
2024-01-05 04:20:11,409 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.05, 6.05, 6.01], daily_imported=3396.0, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210164.06, phases_in_use=3, plug_state=True, power=4287.33, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.63, 239.44, 239.64]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3408.7000000001863, imported_since_plugged=3408.7000000001863, range_charged=17.04350000000093, time_charged='4:08', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70be22c8>), 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))
2024-01-05 04:20:11,410 - {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=[])
2024-01-05 04:20:11,410 - {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'])
2024-01-05 04:20:11,412 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2420.0, 2105.0, 2131.0], currents=[10.1, 8.8, 8.9], voltages=[239.28, 240.24, 239.02], power_factors=[0.99, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=8695.0, imported=7336571.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6656.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40631.33, raw_currents_left=[58.91, 60.25, 60.15], surplus_power_left=0, state_str=''))
2024-01-05 04:20:11,415 - {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=2324.3100000000004, invalid_home_consumption=0, daily_yield_home_consumption=5115.4955881909, imported_home_consumption=3360174.9473293805, disengageable_smarthome_power=0))
2024-01-05 04:20:11,416 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:20:11,421 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:20:11,423 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:20:11,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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:20:11,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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:20:11,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=20000, 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=66, soc_timestamp=1704424783.433012, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:20: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)
2024-01-05 04:20:11,441 - {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)
2024-01-05 04:20:11,442 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:20: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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:20:11,456 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:20:11,459 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:20:11,459 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7eaec8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:20:11,460 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:20:11,462 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=44.36))
2024-01-05 04:20:11,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=8202091.902000001, power=44.36))
2024-01-05 04:20:11,465 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424801, 'time': '04:20:01', 'grid': 6.639, 'house-power': 2.298, 'charging-all': 4.294, 'pv-all': -0.047, 'cp1-power': 4.294, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:20:11,466 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:20:11,467 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:20:11,468 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:20:11,470 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:20:11,471 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:20:11,472 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:20:11,473 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:20:11,477 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:20:11,478 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:20:11,480 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:20:11,486 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.91, 54.25, 54.15]A verbleibende Ströme, 36491.33W verbleibende Leistung
2024-01-05 04:20:11,492 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:20:11,496 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:20:11,499 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:20:11,507 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:20:11,508 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:20:11,509 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:20:11,514 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6608.669999999998W
2024-01-05 04:20:11,520 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6608.669999999998W
2024-01-05 04:20:11,521 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:20:11,522 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:20:11,522 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3420.899999999441 counter 7210164.06
2024-01-05 04:20:11,529 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:20:11,532 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:20:11,585 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:20:11,832 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:20:11,835 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:20:15,848 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:20:15,849 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:20:20,871 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:20:20,875 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:20:20,975 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:20:20,982 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:20:20,989 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:20:20,991 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:20:20,999 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:20:21,030 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6647, -2415, -2101, -2130], Scale 0
2024-01-05 04:20:21,046 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:20:21,049 - {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":240.5, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424819},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:20","unixtime":1704424821,"uptime":3784183,"ram_size":248948,"ram_free":144508,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:20:21,052 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424810.3111184, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:20:21,055 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00298378, power1: 0, power2: 0
2024-01-05 04:20:21,057 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:20:21,062 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424821.0527177, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:20:21,073 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:20:21,077 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [100, 88, 89], Scale -1
2024-01-05 04:20:21,200 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23917, 24008, 23892, 0, 0, 0, 0], Scale -2
2024-01-05 04:20:21,232 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:20:21,257 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9969, 9900, 9980], Scale -2
2024-01-05 04:20:21,288 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336586, 3034747, 2160222, 2693561], Scale 0
2024-01-05 04:20:21,288 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.0, 8.8, 8.9], powers=[2415.0, 2101.0, 2130.0], voltages=[239.17000000000002, 240.08, 238.92000000000002], power_factors=[0.9969, 0.99, 0.998], imported=7336586.0, exported=4871307.0, power=6647.0, frequency=50.0)
2024-01-05 04:20:21,290 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:20:21,330 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4423], Scale -2
2024-01-05 04:20:21,377 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:20:21,405 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 32, 33], Scale -2
2024-01-05 04:20:21,428 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4709], Scale -2
2024-01-05 04:20:21,428 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.32, 0.33], power=44.230000000000004, exported=7869605.0, dc_power=47.09)
2024-01-05 04:20:21,430 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:20:21,527 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424811.0023954, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:20:21,528 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00292361, power1: 0, power2: 0
2024-01-05 04:20:21,528 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:20:21,528 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424821.5274024, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:20:21,529 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:20:21,535 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:20:21,539 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:20:21,583 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:20:21,585 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:20:21,587 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:20:21,587 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=44.230000000000004, exported=7904493.99, dc_power=None)
2024-01-05 04:20:21,589 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:20:21,592 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=44.230000000000004, exported=7904493.99, dc_power=None)
2024-01-05 04:20:21,594 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:20:21,660 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:20:21,662 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.0, 8.8, 8.9], powers=[2415.0, 2101.0, 2130.0], voltages=[239.17000000000002, 240.08, 238.92000000000002], power_factors=[0.9969, 0.99, 0.998], imported=7336586.0, exported=4871307.0, power=6647.0, frequency=50.0)
2024-01-05 04:20:21,837 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:20:21,840 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:20:21,842 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [59.0, 60.25, 60.17]A
2024-01-05 04:20:21,844 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40647.91W
2024-01-05 04:20:21,845 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:20:21,850 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:20:21,852 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:20:21,855 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:20:21.854674
2024-01-05 04:20:21,856 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1072.289457s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:20:21,859 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:20:21.858796
2024-01-05 04:20:21,862 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89362.48903s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:20:21,863 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:20:21,868 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:20:21,869 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:20:21,875 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424811.3842728, power=2324.3100000000004, imported=3360174.9473293805, exported=0)
2024-01-05 04:20:21,877 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00291425, power1: 2324.31, power2: 2307.86
2024-01-05 04:20:21,878 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.74966
2024-01-05 04:20:21,880 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.74966 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424821.8755817, power=2307.8600000000006, imported=3360181.696985835, exported=0)
2024-01-05 04:20:21,884 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:20:21,886 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:20:21,887 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3396.0, daily_exported=0, power=4294.91, imported=7210175.78, exported=0))
2024-01-05 04:20:21,889 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.05, 6.07, 6.0], daily_imported=3396.0, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210175.78, phases_in_use=3, plug_state=True, power=4294.91, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.53, 239.37, 239.7]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3420.899999999441, imported_since_plugged=3420.899999999441, range_charged=17.104499999997206, time_charged='4:08', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x701fb058>), 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))
2024-01-05 04:20:21,890 - {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=[])
2024-01-05 04:20:21,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'])
2024-01-05 04:20:21,895 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2415.0, 2101.0, 2130.0], currents=[10.0, 8.8, 8.9], voltages=[239.17, 240.08, 238.92], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=8695.0, imported=7336586.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6647.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40647.91, raw_currents_left=[59.0, 60.25, 60.17], surplus_power_left=0, state_str=''))
2024-01-05 04:20:21,897 - {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=2307.8600000000006, invalid_home_consumption=0, daily_yield_home_consumption=5115.4955881909, imported_home_consumption=3360181.696985835, disengageable_smarthome_power=0))
2024-01-05 04:20:21,899 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:20:21,901 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:20:21,907 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:20:21,914 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:20:21,916 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:20:21,918 - {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=20000, 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=66, soc_timestamp=1704424783.433012, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:20:21,919 - {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)
2024-01-05 04:20:21,919 - {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)
2024-01-05 04:20:21,921 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:20:21,922 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:20:21,923 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:20:21,929 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:20:21,932 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x70be2538>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:20:21,933 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:20:21,934 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=44.23))
2024-01-05 04:20:21,935 - {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=8202091.902000001, power=44.23))
2024-01-05 04:20:21,936 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424811, 'time': '04:20:11', 'grid': 6.656, 'house-power': 2.324, 'charging-all': 4.287, 'pv-all': -0.044, 'cp1-power': 4.287, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:20:21,940 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:20:21,941 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:20:21,942 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:20:21,942 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:20:21,944 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:20:21,945 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:20:21,945 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:20:21,948 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:20:21,950 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:20:21,952 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:20:21,954 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [53.0, 54.25, 54.17]A verbleibende Ströme, 36507.91W verbleibende Leistung
2024-01-05 04:20:21,955 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:20:21,958 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:20:21,960 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:20:21,961 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:20:21,963 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:20:21,966 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:20:21,967 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6592.0899999999965W
2024-01-05 04:20:21,968 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6592.0899999999965W
2024-01-05 04:20:21,970 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:20:21,971 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:20:21,974 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3432.6200000001118 counter 7210175.78
2024-01-05 04:20:21,977 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:20:21,979 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:20:22,016 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:20:22,256 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:20:25,278 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:20:25,279 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:20:30,297 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:20:30,298 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:20:30,353 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:20:30,354 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:20:30,357 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:20:30,360 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:20:30,373 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:20:30,395 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6652, -2418, -2103, -2129], Scale 0
2024-01-05 04:20:30,414 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [100, 88, 88], Scale -1
2024-01-05 04:20:30,429 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:20:30,431 - {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":240.5, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424829},"temperature":{"tC":29.0, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:20","unixtime":1704424831,"uptime":3784193,"ram_size":248948,"ram_free":144508,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:20:30,434 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424821.0527177, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:20:30,435 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00260595, power1: 0, power2: 0
2024-01-05 04:20:30,436 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:20:30,437 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424830.4341197, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:20:30,439 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:20:30,465 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23930, 24016, 23898, 0, 0, 0, 0], Scale -2
2024-01-05 04:20:30,491 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:20:30,569 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9980, 9919, 9990], Scale -2
2024-01-05 04:20:30,597 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336593, 3034753, 2160226, 2693566], Scale 0
2024-01-05 04:20:30,598 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.0, 8.8, 8.8], powers=[2418.0, 2103.0, 2129.0], voltages=[239.3, 240.16, 238.98000000000002], power_factors=[0.998, 0.9919, 0.9990000000000001], imported=7336593.0, exported=4871307.0, power=6652.0, frequency=50.0)
2024-01-05 04:20:30,600 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:20:30,637 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4359], Scale -2
2024-01-05 04:20:30,666 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:20:30,684 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 32], Scale -2
2024-01-05 04:20:30,704 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5125], Scale -2
2024-01-05 04:20:30,704 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.32], power=43.59, exported=7869605.0, dc_power=51.25)
2024-01-05 04:20:30,706 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:20:30,768 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424821.5274024, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:20:30,769 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00256696, power1: 0, power2: 0
2024-01-05 04:20:30,769 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:20:30,770 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424830.7684488, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:20:30,771 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:20:30,775 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:20:30,791 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:20:30,837 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:20:30,838 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:20:30,839 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:20:30,842 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=43.59, exported=7904493.99, dc_power=None)
2024-01-05 04:20:30,843 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:20:30,850 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=43.59, exported=7904493.99, dc_power=None)
2024-01-05 04:20:30,852 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:20:30,911 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:20:30,912 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.0, 8.8, 8.8], powers=[2418.0, 2103.0, 2129.0], voltages=[239.3, 240.16, 238.98000000000002], power_factors=[0.998, 0.9919, 0.9990000000000001], imported=7336593.0, exported=4871307.0, power=6652.0, frequency=50.0)
2024-01-05 04:20:31,086 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:20:31,088 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:20:31,092 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [59.01, 60.24, 60.269999999999996]A
2024-01-05 04:20:31,093 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40643.0W
2024-01-05 04:20:31,096 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:20:31,099 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:20:31,101 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:20:31,103 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:20:31.102537
2024-01-05 04:20:31,104 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1081.53732s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:20:31,106 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:20:31.105995
2024-01-05 04:20:31,107 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89353.241831s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:20:31,108 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:20:31,111 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:20:31,113 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:20:31,119 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424821.8755817, power=2307.8600000000006, imported=3360181.696985835, exported=0)
2024-01-05 04:20:31,121 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00256783, power1: 2307.86, power2: 2313.41
2024-01-05 04:20:31,122 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 5.93332
2024-01-05 04:20:31,124 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 5.93332 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424831.11977, power=2313.41, imported=3360187.6303039053, exported=0)
2024-01-05 04:20:31,127 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:20:31,129 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:20:31,134 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3396.0, daily_exported=0, power=4295.0, imported=7210186.04, exported=0))
2024-01-05 04:20:31,138 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.04, 6.07, 6.01], daily_imported=3396.0, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210186.04, phases_in_use=3, plug_state=True, power=4295.0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.66, 239.41, 239.78]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3432.6200000001118, imported_since_plugged=3432.6200000001118, range_charged=17.163100000000558, time_charged='4:08', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bc57a8>), 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))
2024-01-05 04:20:31,141 - {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=[])
2024-01-05 04:20:31,142 - {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'])
2024-01-05 04:20:31,144 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2418.0, 2103.0, 2129.0], currents=[10.0, 8.8, 8.8], voltages=[239.3, 240.16, 238.98], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=8695.0, imported=7336593.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6652.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40643.0, raw_currents_left=[59.01, 60.24, 60.269999999999996], surplus_power_left=0, state_str=''))
2024-01-05 04:20:31,146 - {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=2313.41, invalid_home_consumption=0, daily_yield_home_consumption=5115.4955881909, imported_home_consumption=3360187.6303039053, disengageable_smarthome_power=0))
2024-01-05 04:20:31,148 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:20:31,150 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:20:31,152 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:20:31,154 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:20:31,155 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:20:31,156 - {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=20000, 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=66, soc_timestamp=1704424783.433012, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:20:31,158 - {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)
2024-01-05 04:20:31,159 - {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)
2024-01-05 04:20:31,160 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:20:31,162 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:20:31,163 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:20:31,164 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:20:31,165 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7d4d00>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:20:31,166 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:20:31,166 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=43.59))
2024-01-05 04:20:31,167 - {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=8202091.902000001, power=43.59))
2024-01-05 04:20:31,167 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424822, 'time': '04:20:22', 'grid': 6.647, 'house-power': 2.308, 'charging-all': 4.295, 'pv-all': -0.044, 'cp1-power': 4.295, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:20:31,168 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:20:31,168 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:20:31,168 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:20:31,169 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:20:31,169 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:20:31,170 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:20:31,170 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:20:31,170 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:20:31,171 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:20:31,172 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:20:31,173 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [53.01, 54.24, 54.269999999999996]A verbleibende Ströme, 36503.0W verbleibende Leistung
2024-01-05 04:20:31,173 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:20:31,176 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:20:31,182 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:20:31,187 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:20:31,189 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:20:31,200 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:20:31,203 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6597.0W
2024-01-05 04:20:31,216 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6597.0W
2024-01-05 04:20:31,222 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:20:31,234 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:20:31,242 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3442.8799999998882 counter 7210186.04
2024-01-05 04:20:31,249 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:20:31,269 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:20:31,306 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:20:31,732 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:20:31,733 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:20:35,746 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:20:35,747 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:20:40,758 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:20:40,759 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:20:40,797 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:20:40,798 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:20:40,800 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:20:40,810 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:20:40,813 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:20:40,847 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6635, -2406, -2099, -2129], Scale 0
2024-01-05 04:20:40,855 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:20:40,858 - {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":240.6, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424839},"temperature":{"tC":29.0, "tF":84.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:20","unixtime":1704424841,"uptime":3784203,"ram_size":249000,"ram_free":145092,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-05 04:20:40,865 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424830.4341197, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:20:40,867 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [101, 88, 89], Scale -1
2024-01-05 04:20:40,869 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00289755, power1: 0, power2: 0
2024-01-05 04:20:40,879 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:20:40,883 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424840.8653145, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:20:40,885 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:20:40,899 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23929, 24013, 23886, 0, 0, 0, 0], Scale -2
2024-01-05 04:20:40,925 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:20:40,975 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9959, 9900, 9980], Scale -2
2024-01-05 04:20:41,018 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336623, 3034761, 2160234, 2693573], Scale 0
2024-01-05 04:20:41,019 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2406.0, 2099.0, 2129.0], voltages=[239.29, 240.13, 238.86], power_factors=[0.9959, 0.99, 0.998], imported=7336623.0, exported=4871307.0, power=6635.0, frequency=50.0)
2024-01-05 04:20:41,020 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:20:41,056 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4779], Scale -2
2024-01-05 04:20:41,136 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:20:41,156 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 32, 33], Scale -2
2024-01-05 04:20:41,176 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4852], Scale -2
2024-01-05 04:20:41,176 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.32, 0.33], power=47.79, exported=7869605.0, dc_power=48.52)
2024-01-05 04:20:41,177 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:20:41,216 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424830.7684488, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:20:41,217 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.0029022, power1: 0, power2: 0
2024-01-05 04:20:41,217 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:20:41,217 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424841.2163742, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:20:41,218 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:20:41,223 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:20:41,224 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:20:41,271 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:20:41,272 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:20:41,274 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:20:41,275 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.79, exported=7904493.99, dc_power=None)
2024-01-05 04:20:41,276 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:20:41,277 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.79, exported=7904493.99, dc_power=None)
2024-01-05 04:20:41,279 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:20:41,335 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:20:41,336 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2406.0, 2099.0, 2129.0], voltages=[239.29, 240.13, 238.86], power_factors=[0.9959, 0.99, 0.998], imported=7336623.0, exported=4871307.0, power=6635.0, frequency=50.0)
2024-01-05 04:20:41,726 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:20:41,731 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:20:41,739 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.9, 60.23, 60.16]A
2024-01-05 04:20:41,742 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40660.13W
2024-01-05 04:20:41,744 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:20:41,750 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:20:41,758 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:20:41,760 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:20:41.759861
2024-01-05 04:20:41,761 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1092.194644s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:20:41,769 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:20:41.769370
2024-01-05 04:20:41,771 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89342.578456s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:20:41,773 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:20:41,785 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:20:41,787 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.06
2024-01-05 04:20:41,799 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424831.11977, power=2313.41, imported=3360187.6303039053, exported=0)
2024-01-05 04:20:41,800 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00296664, power1: 2313.41, power2: 2292.08
2024-01-05 04:20:41,800 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.83141
2024-01-05 04:20:41,801 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.83141 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424841.7996705, power=2292.08, imported=3360194.461717034, exported=0)
2024-01-05 04:20:41,803 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:20:41,804 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:20:41,805 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3396.0, daily_exported=0, power=4295.13, imported=7210201.17, exported=0))
2024-01-05 04:20:41,807 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.03, 6.06, 6.0], daily_imported=3396.0, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210201.17, phases_in_use=3, plug_state=True, power=4295.13, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.49, 239.23, 239.59]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3442.8799999998882, imported_since_plugged=3442.8799999998882, range_charged=17.21439999999944, time_charged='4:08', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7f9340>), 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))
2024-01-05 04:20:41,808 - {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=[])
2024-01-05 04:20:41,809 - {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'])
2024-01-05 04:20:41,810 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2406.0, 2099.0, 2129.0], currents=[10.1, 8.8, 8.9], voltages=[239.29, 240.13, 238.86], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=8695.0, imported=7336623.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6635.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40660.13, raw_currents_left=[58.9, 60.23, 60.16], surplus_power_left=0, state_str=''))
2024-01-05 04:20:41,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=2292.08, invalid_home_consumption=0, daily_yield_home_consumption=5115.4955881909, imported_home_consumption=3360194.461717034, disengageable_smarthome_power=0))
2024-01-05 04:20:41,812 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:20:41,815 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:20:41,817 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:20:41,818 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:20:41,819 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 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=20000, 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=66, soc_timestamp=1704424840.547249, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 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)
2024-01-05 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)
2024-01-05 04:20:41,823 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:20:41,824 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:20:41,824 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:20:41,824 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:20:41,825 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7ed6a0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:20:41,826 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:20:41,827 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=47.79))
2024-01-05 04:20:41,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=8202091.902000001, power=47.79))
2024-01-05 04:20:41,828 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424831, 'time': '04:20:31', 'grid': 6.652, 'house-power': 2.313, 'charging-all': 4.295, 'pv-all': -0.044, 'cp1-power': 4.295, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:20:41,830 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:20:41,831 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:20:41,832 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:20:41,833 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:20:41,834 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:20:41,836 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:20:41,837 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:20:41,837 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:20:41,839 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:20:41,841 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:20:41,843 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.9, 54.23, 54.16]A verbleibende Ströme, 36520.13W verbleibende Leistung
2024-01-05 04:20:41,844 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:20:41,847 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:20:41,849 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:20:41,851 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:20:41,852 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:20:41,854 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:20:41,855 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6579.870000000003W
2024-01-05 04:20:41,856 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6579.870000000003W
2024-01-05 04:20:41,858 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:20:41,860 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:20:41,862 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3458.0099999997765 counter 7210201.17
2024-01-05 04:20:41,863 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:20:41,867 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:20:41,889 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:20:42,137 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:20:45,182 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:20:45,183 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:20:50,195 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:20:50,196 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:20:50,244 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:20:50,252 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:20:50,261 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:20:50,263 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:20:50,273 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:20:50,334 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6657, -2415, -2107, -2134], Scale 0
2024-01-05 04:20:50,353 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:20:50,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":240.5, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424849},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:20","unixtime":1704424851,"uptime":3784212,"ram_size":249000,"ram_free":145092,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:20:50,358 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424840.8653145, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:20:50,358 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00263685, power1: 0, power2: 0
2024-01-05 04:20:50,359 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:20:50,361 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424850.3579683, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:20:50,362 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:20:50,440 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [101, 88, 89], Scale -1
2024-01-05 04:20:50,467 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23924, 24007, 23880, 0, 0, 0, 0], Scale -2
2024-01-05 04:20:50,494 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:20:50,539 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9980, 9900, 9990], Scale -2
2024-01-05 04:20:50,567 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336638, 3034766, 2160238, 2693577], Scale 0
2024-01-05 04:20:50,568 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2415.0, 2107.0, 2134.0], voltages=[239.24, 240.07, 238.8], power_factors=[0.998, 0.99, 0.9990000000000001], imported=7336638.0, exported=4871307.0, power=6657.0, frequency=49.99)
2024-01-05 04:20:50,574 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:20:50,631 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5155], Scale -2
2024-01-05 04:20:50,688 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:20:50,715 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 32, 33], Scale -2
2024-01-05 04:20:50,735 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4493], Scale -2
2024-01-05 04:20:50,736 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.32, 0.33], power=51.550000000000004, exported=7869605.0, dc_power=44.93)
2024-01-05 04:20:50,740 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:20:50,863 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424841.2163742, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:20:50,864 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.0026797, power1: 0, power2: 0
2024-01-05 04:20:50,865 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:20:50,865 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424850.8632946, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:20:50,867 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:20:50,882 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:20:50,883 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:20:50,926 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:20:50,937 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:20:50,938 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=51.550000000000004, exported=7904493.99, dc_power=None)
2024-01-05 04:20:50,942 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=51.550000000000004, exported=7904493.99, dc_power=None)
2024-01-05 04:20:50,946 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:20:50,947 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:20:50,949 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:20:51,032 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:20:51,034 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2415.0, 2107.0, 2134.0], voltages=[239.24, 240.07, 238.8], power_factors=[0.998, 0.99, 0.9990000000000001], imported=7336638.0, exported=4871307.0, power=6657.0, frequency=49.99)
2024-01-05 04:20:51,223 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:20:51,225 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:20:51,229 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.91, 60.24, 60.18]A
2024-01-05 04:20:51,230 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40636.06W
2024-01-05 04:20:51,231 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:20:51,233 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:20:51,235 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:20:51,237 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:20:51.237355
2024-01-05 04:20:51,239 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1101.672138s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:20:51,242 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:20:51.241417
2024-01-05 04:20:51,243 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89333.106409s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:20:51,244 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:20:51,247 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:20:51,252 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:20:51,256 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424841.7996705, power=2292.08, imported=3360194.461717034, exported=0)
2024-01-05 04:20:51,273 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00262685, power1: 2292.08, power2: 2312.39
2024-01-05 04:20:51,275 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.04762
2024-01-05 04:20:51,276 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.04762 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424851.2563176, power=2312.3899999999994, imported=3360200.509334831, exported=0)
2024-01-05 04:20:51,277 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:20:51,279 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:20:51,280 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3396.0, daily_exported=0, power=4293.06, imported=7210209.96, exported=0))
2024-01-05 04:20:51,281 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.04, 6.08, 6.01], daily_imported=3396.0, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210209.96, phases_in_use=3, plug_state=True, power=4293.06, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.58, 239.23, 239.69]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3458.0099999997765, imported_since_plugged=3458.0099999997765, range_charged=17.29004999999888, time_charged='4:09', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7ed610>), 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))
2024-01-05 04:20:51,283 - {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=[])
2024-01-05 04:20:51,284 - {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'])
2024-01-05 04:20:51,285 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2415.0, 2107.0, 2134.0], currents=[10.1, 8.8, 8.9], voltages=[239.24, 240.07, 238.8], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=8695.0, imported=7336638.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6657.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40636.06, raw_currents_left=[58.91, 60.24, 60.18], surplus_power_left=0, state_str=''))
2024-01-05 04:20:51,287 - {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=2312.3899999999994, invalid_home_consumption=0, daily_yield_home_consumption=5115.4955881909, imported_home_consumption=3360200.509334831, disengageable_smarthome_power=0))
2024-01-05 04:20:51,288 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:20:51,289 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:20:51,290 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:20:51,294 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:20:51,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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:20:51,303 - {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=20000, 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=66, soc_timestamp=1704424840.547249, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:20:51,312 - {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)
2024-01-05 04:20: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)
2024-01-05 04:20: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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:20:51,316 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:20:51,317 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:20:51,319 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:20:51,320 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7ed8e0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:20:51,327 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:20:51,328 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=51.55))
2024-01-05 04:20:51,328 - {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=8202091.902000001, power=51.55))
2024-01-05 04:20:51,329 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424841, 'time': '04:20:41', 'grid': 6.635, 'house-power': 2.292, 'charging-all': 4.295, 'pv-all': -0.048, 'cp1-power': 4.295, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:20:51,329 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:20:51,329 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:20:51,331 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:20:51,331 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:20:51,332 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:20:51,334 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:20:51,334 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:20:51,338 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:20:51,339 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:20:51,342 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:20:51,343 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.91, 54.24, 54.18]A verbleibende Ströme, 36496.06W verbleibende Leistung
2024-01-05 04:20:51,345 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:20:51,348 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:20:51,352 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:20:51,361 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:20:51,362 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:20:51,363 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:20:51,363 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6603.940000000002W
2024-01-05 04:20:51,364 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6603.940000000002W
2024-01-05 04:20:51,364 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:20:51,365 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:20:51,367 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3466.7999999998137 counter 7210209.96
2024-01-05 04:20:51,374 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:20:51,376 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:20:51,446 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:20:51,833 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:20:51,856 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:20:55,905 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:20:55,906 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:21:00,918 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:21:00,919 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:21:01,002 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:21:01,004 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:21:01,005 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:21:01,016 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:21:01,018 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:21:01,056 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6662, -2416, -2108, -2136], Scale 0
2024-01-05 04:21:01,065 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:21:01,068 - {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":240.4, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424859},"temperature":{"tC":29.0, "tF":84.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:21","unixtime":1704424861,"uptime":3784223,"ram_size":248940,"ram_free":144380,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:21:01,070 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424850.3579683, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:21:01,071 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00297575, power1: 0, power2: 0
2024-01-05 04:21:01,072 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:21:01,074 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424861.0706685, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:21:01,076 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:21:01,170 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [101, 88, 89], Scale -1
2024-01-05 04:21:01,205 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23930, 24013, 23884, 0, 0, 0, 0], Scale -2
2024-01-05 04:21:01,224 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:21:01,244 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9959, 9890, 10000], Scale -2
2024-01-05 04:21:01,265 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336652, 3034771, 2160243, 2693582], Scale 0
2024-01-05 04:21:01,266 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2416.0, 2108.0, 2136.0], voltages=[239.3, 240.13, 238.84], power_factors=[0.9959, 0.9890000000000001, 1.0], imported=7336652.0, exported=4871307.0, power=6662.0, frequency=49.99)
2024-01-05 04:21:01,267 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:21:01,305 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4808], Scale -2
2024-01-05 04:21:01,370 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:21:01,400 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 32], Scale -2
2024-01-05 04:21:01,418 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4540], Scale -2
2024-01-05 04:21:01,418 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.32], power=48.08, exported=7869605.0, dc_power=45.4)
2024-01-05 04:21:01,422 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:21:01,588 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424850.8632946, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:21:01,589 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00297915, power1: 0, power2: 0
2024-01-05 04:21:01,590 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:21:01,591 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424861.5882242, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:21:01,593 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:21:01,598 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:21:01,599 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:21:01,653 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:21:01,653 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:21:01,655 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:21:01,657 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=48.08, exported=7904493.99, dc_power=None)
2024-01-05 04:21:01,658 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:21:01,659 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=48.08, exported=7904493.99, dc_power=None)
2024-01-05 04:21:01,659 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:21:01,719 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:21:01,720 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2416.0, 2108.0, 2136.0], voltages=[239.3, 240.13, 238.84], power_factors=[0.9959, 0.9890000000000001, 1.0], imported=7336652.0, exported=4871307.0, power=6662.0, frequency=49.99)
2024-01-05 04:21:01,907 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:21:01,908 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:21:01,910 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.9, 60.23, 60.17]A
2024-01-05 04:21:01,911 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40632.87W
2024-01-05 04:21:01,912 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:21:01,915 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:21:01,916 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:21:01,918 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:21:01.917745
2024-01-05 04:21:01,919 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1112.352528s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:21:01,921 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:21:01.920949
2024-01-05 04:21:01,923 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89322.426877s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:21:01,928 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:21:01,941 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:21:01,942 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:21:01,951 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424851.2563176, power=2312.3899999999994, imported=3360200.509334831, exported=0)
2024-01-05 04:21:01,953 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0029709, power1: 2312.39, power2: 2319.05
2024-01-05 04:21:01,957 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.87977
2024-01-05 04:21:01,960 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.87977 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424861.9515498, power=2319.05, imported=3360207.3891023314, exported=0)
2024-01-05 04:21:01,967 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:21:01,969 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:21:01,969 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3396.0, daily_exported=0, power=4294.87, imported=7210224.12, exported=0))
2024-01-05 04:21:01,970 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.03, 6.07, 6.0], daily_imported=3396.0, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210224.12, phases_in_use=3, plug_state=True, power=4294.87, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.49, 239.26, 239.66]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3466.7999999998137, imported_since_plugged=3466.7999999998137, range_charged=17.33399999999907, time_charged='4:09', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b3db50>), 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))
2024-01-05 04:21:01,973 - {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=[])
2024-01-05 04:21:01,974 - {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'])
2024-01-05 04:21:01,976 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2416.0, 2108.0, 2136.0], currents=[10.1, 8.8, 8.9], voltages=[239.3, 240.13, 238.84], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=8695.0, imported=7336652.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6662.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40632.87, raw_currents_left=[58.9, 60.23, 60.17], surplus_power_left=0, state_str=''))
2024-01-05 04:21:01,979 - {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=2319.05, invalid_home_consumption=0, daily_yield_home_consumption=5115.4955881909, imported_home_consumption=3360207.3891023314, disengageable_smarthome_power=0))
2024-01-05 04:21:01,981 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:21:01,982 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:21:01,986 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:21:01,987 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:21:01,989 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:21:01,991 - {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=20000, 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=66, soc_timestamp=1704424840.547249, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:21:01,992 - {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)
2024-01-05 04:21:01,994 - {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)
2024-01-05 04:21:01,995 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:21:02,000 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:21:02,004 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:21:02,007 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:21:02,013 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7f7e98>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:21:02,015 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:21:02,016 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=48.08))
2024-01-05 04:21:02,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=8202091.902000001, power=48.08))
2024-01-05 04:21:02,018 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424851, 'time': '04:20:51', 'grid': 6.657, 'house-power': 2.312, 'charging-all': 4.293, 'pv-all': -0.052, 'cp1-power': 4.293, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:21:02,020 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:21:02,020 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:21:02,022 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:21:02,023 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:21:02,024 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:21:02,025 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:21:02,026 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:21:02,027 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:21:02,028 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:21:02,031 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:21:02,033 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.9, 54.23, 54.17]A verbleibende Ströme, 36492.87W verbleibende Leistung
2024-01-05 04:21:02,034 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:21:02,037 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:21:02,039 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:21:02,040 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:21:02,042 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:21:02,044 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:21:02,045 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6607.129999999997W
2024-01-05 04:21:02,046 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6607.129999999997W
2024-01-05 04:21:02,047 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:21:02,047 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:21:02,053 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3480.9599999999627 counter 7210224.12
2024-01-05 04:21:02,055 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:21:02,059 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:21:02,096 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:21:02,331 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:21:05,356 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:21:05,358 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:21:10,373 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:21:10,374 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:21:10,414 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:21:10,417 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:21:10,424 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:21:10,426 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:21:10,455 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:21:10,470 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:21:10,472 - {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":240.6, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424869},"temperature":{"tC":29.1, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:21","unixtime":1704424871,"uptime":3784233,"ram_size":248936,"ram_free":144376,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:21:10,476 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424861.0706685, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:21:10,477 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00261265, power1: 0, power2: 0
2024-01-05 04:21:10,478 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:21:10,480 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424870.4762192, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:21:10,482 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:21:10,485 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6676, -2423, -2114, -2138], Scale 0
2024-01-05 04:21:10,507 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [101, 88, 89], Scale -1
2024-01-05 04:21:10,616 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23946, 24031, 23892, 0, 0, 0, 0], Scale -2
2024-01-05 04:21:10,635 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:21:10,683 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9959, 9909, 9980], Scale -2
2024-01-05 04:21:10,721 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336682, 3034782, 2160252, 2693591], Scale 0
2024-01-05 04:21:10,723 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2423.0, 2114.0, 2138.0], voltages=[239.46, 240.31, 238.92000000000002], power_factors=[0.9959, 0.9909, 0.998], imported=7336682.0, exported=4871307.0, power=6676.0, frequency=49.97)
2024-01-05 04:21:10,726 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:21:10,745 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4924], Scale -2
2024-01-05 04:21:10,766 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:21:10,816 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 32], Scale -2
2024-01-05 04:21:10,844 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4999], Scale -2
2024-01-05 04:21:10,845 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.32], power=49.24, exported=7869605.0, dc_power=49.99)
2024-01-05 04:21:10,847 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:21:10,884 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424861.5882242, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:21:10,885 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00258229, power1: 0, power2: 0
2024-01-05 04:21:10,886 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:21:10,886 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424870.8844743, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:21:10,887 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:21:10,898 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:21:10,902 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:21:10,968 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:21:10,970 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:21:10,971 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:21:10,973 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=49.24, exported=7904493.99, dc_power=None)
2024-01-05 04:21:10,976 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:21:10,986 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=49.24, exported=7904493.99, dc_power=None)
2024-01-05 04:21:10,986 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:21:11,054 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:21:11,055 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2423.0, 2114.0, 2138.0], voltages=[239.46, 240.31, 238.92000000000002], power_factors=[0.9959, 0.9909, 0.998], imported=7336682.0, exported=4871307.0, power=6676.0, frequency=49.97)
2024-01-05 04:21:11,250 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:21:11,251 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:21:11,257 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.9, 60.25, 60.16]A
2024-01-05 04:21:11,259 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40618.74W
2024-01-05 04:21:11,261 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:21:11,263 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:21:11,265 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:21:11,267 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:21:11.267251
2024-01-05 04:21:11,270 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1121.702034s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:21:11,271 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:21:11.271387
2024-01-05 04:21:11,272 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89313.076439s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:21:11,273 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:21:11,277 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:21:11,280 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.06
2024-01-05 04:21:11,294 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424861.9515498, power=2319.05, imported=3360207.3891023314, exported=0)
2024-01-05 04:21:11,296 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00259522, power1: 2319.05, power2: 2332.02
2024-01-05 04:21:11,304 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.03527
2024-01-05 04:21:11,307 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.03527 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424871.294336, power=2332.0200000000004, imported=3360213.4243735997, exported=0)
2024-01-05 04:21:11,315 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:21:11,316 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:21:11,318 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3396.0, daily_exported=0, power=4294.74, imported=7210233.89, exported=0))
2024-01-05 04:21:11,320 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.05, 6.06, 6.0], daily_imported=3396.0, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210233.89, phases_in_use=3, plug_state=True, power=4294.74, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.64, 239.3, 239.73]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3480.9599999999627, imported_since_plugged=3480.9599999999627, range_charged=17.404799999999813, time_charged='4:09', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b50778>), 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))
2024-01-05 04:21:11,323 - {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=[])
2024-01-05 04:21:11,325 - {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'])
2024-01-05 04:21:11,326 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2423.0, 2114.0, 2138.0], currents=[10.1, 8.8, 8.9], voltages=[239.46, 240.31, 238.92], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=8695.0, imported=7336682.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6676.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40618.74, raw_currents_left=[58.9, 60.25, 60.16], surplus_power_left=0, state_str=''))
2024-01-05 04:21:11,327 - {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=2332.0200000000004, invalid_home_consumption=0, daily_yield_home_consumption=5115.4955881909, imported_home_consumption=3360213.4243735997, disengageable_smarthome_power=0))
2024-01-05 04:21:11,329 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:21:11,331 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:21:11,333 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:21:11,334 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:21:11,335 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:21:11,337 - {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=20000, 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=66, soc_timestamp=1704424840.547249, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:21:11,338 - {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)
2024-01-05 04:21:11,339 - {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)
2024-01-05 04:21:11,340 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:21:11,341 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:21:11,343 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:21:11,344 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:21:11,345 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7edbb0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:21:11,348 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:21:11,348 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=49.24))
2024-01-05 04:21:11,351 - {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=8202091.902000001, power=49.24))
2024-01-05 04:21:11,352 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424862, 'time': '04:21:02', 'grid': 6.662, 'house-power': 2.319, 'charging-all': 4.295, 'pv-all': -0.048, 'cp1-power': 4.295, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:21:11,354 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:21:11,356 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:21:11,357 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:21:11,358 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:21:11,364 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:21:11,368 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:21:11,377 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:21:11,379 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:21:11,381 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:21:11,391 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:21:11,393 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.9, 54.25, 54.16]A verbleibende Ströme, 36478.74W verbleibende Leistung
2024-01-05 04:21:11,395 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:21:11,399 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:21:11,411 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:21:11,416 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:21:11,418 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:21:11,423 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:21:11,432 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6621.260000000002W
2024-01-05 04:21:11,433 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6621.260000000002W
2024-01-05 04:21:11,442 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:21:11,443 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:21:11,445 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3490.7299999995157 counter 7210233.89
2024-01-05 04:21:11,461 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:21:11,466 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:21:11,512 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:21:11,907 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:21:11,913 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:21:15,923 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:21:15,924 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:21:20,938 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:21:20,940 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:21:21,018 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:21:21,020 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:21:21,021 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:21:21,030 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:21:21,035 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:21:21,077 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6663, -2413, -2112, -2137], Scale 0
2024-01-05 04:21:21,080 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:21:21,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":240.7, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424879},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:21","unixtime":1704424881,"uptime":3784243,"ram_size":248936,"ram_free":144376,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:21:21,102 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424870.4762192, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:21:21,103 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00295184, power1: 0, power2: 0
2024-01-05 04:21:21,104 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:21:21,104 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424881.102843, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:21:21,106 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [101, 88, 89], Scale -1
2024-01-05 04:21:21,107 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:21:21,175 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23937, 24026, 23881, 0, 0, 0, 0], Scale -2
2024-01-05 04:21:21,244 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:21:21,265 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9969, 9909, 9990], Scale -2
2024-01-05 04:21:21,349 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336697, 3034787, 2160257, 2693596], Scale 0
2024-01-05 04:21:21,353 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2413.0, 2112.0, 2137.0], voltages=[239.37, 240.26, 238.81], power_factors=[0.9969, 0.9909, 0.9990000000000001], imported=7336697.0, exported=4871307.0, power=6663.0, frequency=49.97)
2024-01-05 04:21:21,365 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:21:21,398 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5116], Scale -2
2024-01-05 04:21:21,419 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:21:21,446 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 32], Scale -2
2024-01-05 04:21:21,479 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5194], Scale -2
2024-01-05 04:21:21,480 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.32], power=51.160000000000004, exported=7869605.0, dc_power=51.94)
2024-01-05 04:21:21,482 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:21:21,587 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424870.8844743, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:21:21,591 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00297309, power1: 0, power2: 0
2024-01-05 04:21:21,592 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:21:21,593 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424881.5875988, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:21:21,595 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:21:21,600 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:21:21,602 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:21:21,677 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:21:21,678 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:21:21,679 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:21:21,680 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=51.160000000000004, exported=7904493.99, dc_power=None)
2024-01-05 04:21:21,683 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:21:21,685 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=51.160000000000004, exported=7904493.99, dc_power=None)
2024-01-05 04:21:21,691 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:21:21,743 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:21:21,743 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.8, 8.9], powers=[2413.0, 2112.0, 2137.0], voltages=[239.37, 240.26, 238.81], power_factors=[0.9969, 0.9909, 0.9990000000000001], imported=7336697.0, exported=4871307.0, power=6663.0, frequency=49.97)
2024-01-05 04:21:21,900 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:21:21,902 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:21:21,904 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.91, 60.24, 60.17]A
2024-01-05 04:21:21,905 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40631.97W
2024-01-05 04:21:21,906 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:21:21,908 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:21:21,909 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:21:21,910 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:21:21.910525
2024-01-05 04:21:21,911 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1132.345308s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:21:21,912 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:21:21.912510
2024-01-05 04:21:21,914 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89302.435316s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:21:21,914 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:21:21,917 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:21:21,918 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:21:21,932 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424871.294336, power=2332.0200000000004, imported=3360213.4243735997, exported=0)
2024-01-05 04:21:21,934 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00295496, power1: 2332.02, power2: 2316.87
2024-01-05 04:21:21,938 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.86865
2024-01-05 04:21:21,940 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.86865 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424881.9321973, power=2316.87, imported=3360220.293018988, exported=0)
2024-01-05 04:21:21,945 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:21:21,946 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:21:21,949 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3396.0, daily_exported=0, power=4294.97, imported=7210248.05, exported=0))
2024-01-05 04:21:21,950 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.04, 6.07, 6.01], daily_imported=3396.0, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210248.05, phases_in_use=3, plug_state=True, power=4294.97, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.68, 239.24, 239.78]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3490.7299999995157, imported_since_plugged=3490.7299999995157, range_charged=17.453649999997577, time_charged='4:09', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bcff28>), 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))
2024-01-05 04:21:21,953 - {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=[])
2024-01-05 04:21:21,954 - {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'])
2024-01-05 04:21:21,955 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2413.0, 2112.0, 2137.0], currents=[10.1, 8.8, 8.9], voltages=[239.37, 240.26, 238.81], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=8695.0, imported=7336697.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6663.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40631.97, raw_currents_left=[58.91, 60.24, 60.17], surplus_power_left=0, state_str=''))
2024-01-05 04:21:21,957 - {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=2316.87, invalid_home_consumption=0, daily_yield_home_consumption=5115.4955881909, imported_home_consumption=3360220.293018988, disengageable_smarthome_power=0))
2024-01-05 04:21:21,958 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:21:21,960 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:21:21,961 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:21:21,962 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:21:21,963 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:21:21,964 - {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=20000, 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=66, soc_timestamp=1704424840.547249, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:21:21,970 - {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)
2024-01-05 04:21:21,971 - {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)
2024-01-05 04:21:21,972 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:21:21,973 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:21:21,974 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:21:21,975 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:21:21,976 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7ecb38>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:21:21,977 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:21:21,978 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=51.16))
2024-01-05 04:21:21,979 - {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=8202091.902000001, power=51.16))
2024-01-05 04:21:21,980 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424871, 'time': '04:21:11', 'grid': 6.676, 'house-power': 2.332, 'charging-all': 4.295, 'pv-all': -0.049, 'cp1-power': 4.295, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:21:21,982 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:21:21,983 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:21:21,984 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:21:21,985 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:21:21,985 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:21:21,986 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:21:21,986 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:21:21,988 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:21:21,988 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:21:21,990 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:21:21,994 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.91, 54.24, 54.17]A verbleibende Ströme, 36491.97W verbleibende Leistung
2024-01-05 04:21:21,997 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:21:22,000 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:21:22,005 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:21:22,006 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:21:22,007 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:21:22,010 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:21:22,014 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6608.029999999999W
2024-01-05 04:21:22,015 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6608.029999999999W
2024-01-05 04:21:22,016 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:21:22,017 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:21:22,018 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3504.8899999996647 counter 7210248.05
2024-01-05 04:21:22,020 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:21:22,028 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:21:22,046 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:21:22,302 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:21:25,336 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:21:25,337 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:21:30,351 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:21:30,353 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:21:30,415 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:21:30,416 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:21:30,423 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:21:30,428 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:21:30,429 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:21:30,467 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:21:30,469 - {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":240.5, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424889},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:21","unixtime":1704424891,"uptime":3784253,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:21:30,473 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424881.102843, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:21:30,475 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00260304, power1: 0, power2: 0
2024-01-05 04:21:30,476 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:21:30,476 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424890.4737787, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:21:30,479 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:21:30,494 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6685, -2422, -2120, -2142], Scale 0
2024-01-05 04:21:30,513 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [101, 89, 89], Scale -1
2024-01-05 04:21:30,534 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23940, 24023, 23879, 0, 0, 0, 0], Scale -2
2024-01-05 04:21:30,644 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:21:30,664 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9969, 9909, 10000], Scale -2
2024-01-05 04:21:30,685 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336712, 3034793, 2160262, 2693601], Scale 0
2024-01-05 04:21:30,686 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.100000000000001, 8.9, 8.9], powers=[2422.0, 2120.0, 2142.0], voltages=[239.4, 240.23000000000002, 238.79], power_factors=[0.9969, 0.9909, 1.0], imported=7336712.0, exported=4871307.0, power=6685.0, frequency=49.97)
2024-01-05 04:21:30,688 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:21:30,704 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4615], Scale -2
2024-01-05 04:21:30,724 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:21:30,745 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 32], Scale -2
2024-01-05 04:21:30,765 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4685], Scale -2
2024-01-05 04:21:30,766 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.32], power=46.15, exported=7869605.0, dc_power=46.85)
2024-01-05 04:21:30,767 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:21:30,859 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424881.5875988, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:21:30,860 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00257547, power1: 0, power2: 0
2024-01-05 04:21:30,860 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:21:30,860 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424890.8593087, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:21:30,861 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:21:30,879 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:21:30,880 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:21:30,921 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:21:30,923 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:21:30,925 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:21:30,928 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.15, exported=7904493.99, dc_power=None)
2024-01-05 04:21:30,932 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:21:30,942 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.15, exported=7904493.99, dc_power=None)
2024-01-05 04:21:30,943 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:21:31,003 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:21:31,004 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.9, 8.9], powers=[2422.0, 2120.0, 2142.0], voltages=[239.4, 240.23000000000002, 238.79], power_factors=[0.9969, 0.9909, 1.0], imported=7336712.0, exported=4871307.0, power=6685.0, frequency=49.97)
2024-01-05 04:21:31,258 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:21:31,260 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:21:31,271 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.92, 60.13, 60.18]A
2024-01-05 04:21:31,273 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40611.15W
2024-01-05 04:21:31,275 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:21:31,291 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:21:31,293 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:21:31,295 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:21:31.294744
2024-01-05 04:21:31,298 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1141.729527s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:21:31,305 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:21:31.304703
2024-01-05 04:21:31,307 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89293.043123s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:21:31,307 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:21:31,311 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:21:31,312 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:21:31,325 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424881.9321973, power=2316.87, imported=3360220.293018988, exported=0)
2024-01-05 04:21:31,345 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00260912, power1: 2316.87, power2: 2342.7
2024-01-05 04:21:31,346 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.07868
2024-01-05 04:21:31,350 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.07868 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424891.3250184, power=2342.7000000000007, imported=3360226.371700556, exported=0)
2024-01-05 04:21:31,353 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:21:31,355 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:21:31,358 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3396.0, daily_exported=0, power=4296.15, imported=7210257.81, exported=0))
2024-01-05 04:21:31,362 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.03, 6.08, 6.02], daily_imported=3396.0, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210257.81, phases_in_use=3, plug_state=True, power=4296.15, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.63, 239.19, 239.72]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3504.8899999996647, imported_since_plugged=3504.8899999996647, range_charged=17.524449999998325, time_charged='4:09', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7edd30>), 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))
2024-01-05 04:21:31,363 - {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=[])
2024-01-05 04:21:31,365 - {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'])
2024-01-05 04:21:31,382 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2422.0, 2120.0, 2142.0], currents=[10.1, 8.9, 8.9], voltages=[239.4, 240.23, 238.79], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=8695.0, imported=7336712.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6685.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40611.15, raw_currents_left=[58.92, 60.13, 60.18], surplus_power_left=0, state_str=''))
2024-01-05 04:21:31,383 - {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=2342.7000000000007, invalid_home_consumption=0, daily_yield_home_consumption=5115.4955881909, imported_home_consumption=3360226.371700556, disengageable_smarthome_power=0))
2024-01-05 04:21:31,384 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:21:31,386 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:21:31,387 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:21:31,388 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 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=20000, 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=66, soc_timestamp=1704424840.547249, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:21:31,393 - {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)
2024-01-05 04:21:31,394 - {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)
2024-01-05 04:21:31,399 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:21:31,402 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:21:31,404 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:21:31,406 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:21:31,407 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7ea8b0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:21:31,409 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:21:31,412 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=46.15))
2024-01-05 04:21:31,414 - {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=8202091.902000001, power=46.15))
2024-01-05 04:21:31,416 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424882, 'time': '04:21:22', 'grid': 6.663, 'house-power': 2.317, 'charging-all': 4.295, 'pv-all': -0.051, 'cp1-power': 4.295, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:21:31,417 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:21:31,418 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:21:31,422 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:21:31,423 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:21:31,425 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:21:31,426 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:21:31,427 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:21:31,429 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:21:31,434 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:21:31,435 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:21:31,437 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.92, 54.13, 54.18]A verbleibende Ströme, 36471.15W verbleibende Leistung
2024-01-05 04:21:31,439 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:21:31,442 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:21:31,444 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:21:31,448 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:21:31,453 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:21:31,456 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:21:31,457 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6628.8499999999985W
2024-01-05 04:21:31,459 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6628.8499999999985W
2024-01-05 04:21:31,460 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:21:31,463 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:21:31,466 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3514.649999999441 counter 7210257.81
2024-01-05 04:21:31,468 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:21:31,472 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:21:31,490 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:21:31,889 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:21:31,897 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:21:35,914 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:21:35,915 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:21:40,937 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:21:40,938 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:21:41,018 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:21:41,019 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:21:41,020 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:21:41,027 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:21:41,030 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:21:41,073 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:21:41,075 - {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":240.5, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424899},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:21","unixtime":1704424901,"uptime":3784263,"ram_size":249000,"ram_free":145092,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:21:41,078 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424890.4737787, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:21:41,079 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00294586, power1: 0, power2: 0
2024-01-05 04:21:41,080 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:21:41,080 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424901.078867, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:21:41,081 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:21:41,116 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6687, -2429, -2117, -2140], Scale 0
2024-01-05 04:21:41,137 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [102, 89, 90], Scale -1
2024-01-05 04:21:41,166 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23919, 24013, 23868, 0, 0, 0, 0], Scale -2
2024-01-05 04:21:41,195 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:21:41,215 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9950, 9890, 9990], Scale -2
2024-01-05 04:21:41,235 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336741, 3034804, 2160271, 2693610], Scale 0
2024-01-05 04:21:41,236 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.200000000000001, 8.9, 9.0], powers=[2429.0, 2117.0, 2140.0], voltages=[239.19, 240.13, 238.68], power_factors=[0.995, 0.9890000000000001, 0.9990000000000001], imported=7336741.0, exported=4871307.0, power=6687.0, frequency=49.97)
2024-01-05 04:21:41,247 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:21:41,316 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4409], Scale -2
2024-01-05 04:21:41,336 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:21:41,355 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 33], Scale -2
2024-01-05 04:21:41,487 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4477], Scale -2
2024-01-05 04:21:41,488 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.33], power=44.09, exported=7869605.0, dc_power=44.77)
2024-01-05 04:21:41,490 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:21:41,568 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424890.8593087, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:21:41,569 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00297465, power1: 0, power2: 0
2024-01-05 04:21:41,569 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:21:41,570 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424901.568042, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:21:41,571 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:21:41,578 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:21:41,579 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:21:41,647 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:21:41,648 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:21:41,649 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:21:41,651 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=44.09, exported=7904493.99, dc_power=None)
2024-01-05 04:21:41,653 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:21:41,656 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=44.09, exported=7904493.99, dc_power=None)
2024-01-05 04:21:41,657 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:21:41,707 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:21:41,708 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.200000000000001, 8.9, 9.0], powers=[2429.0, 2117.0, 2140.0], voltages=[239.19, 240.13, 238.68], power_factors=[0.995, 0.9890000000000001, 0.9990000000000001], imported=7336741.0, exported=4871307.0, power=6687.0, frequency=49.97)
2024-01-05 04:21:41,905 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:21:41,910 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:21:41,919 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.81, 60.14, 60.08]A
2024-01-05 04:21:41,920 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40610.41W
2024-01-05 04:21:41,922 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:21:41,925 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:21:41,927 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:21:41,931 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:21:41.931286
2024-01-05 04:21:41,933 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1152.366069s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:21:41,936 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:21:41.935653
2024-01-05 04:21:41,937 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89282.412173s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:21:41,939 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:21:41,942 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:21:41,943 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:21:41,951 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424891.3250184, power=2342.7000000000007, imported=3360226.371700556, exported=0)
2024-01-05 04:21:41,964 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00295188, power1: 2342.7, power2: 2345.5
2024-01-05 04:21:41,965 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.9195
2024-01-05 04:21:41,968 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.9195 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424901.9517806, power=2345.5, imported=3360233.291198656, exported=0)
2024-01-05 04:21:41,971 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:21:41,972 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:21:41,975 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3396.0, daily_exported=0, power=4297.41, imported=7210271.97, exported=0))
2024-01-05 04:21:41,978 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.04, 6.08, 6.01], daily_imported=3396.0, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210271.97, phases_in_use=3, plug_state=True, power=4297.41, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.43, 238.98, 239.57]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3514.649999999441, imported_since_plugged=3514.649999999441, range_charged=17.573249999997206, time_charged='4:09', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7e6478>), 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))
2024-01-05 04:21:41,980 - {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=[])
2024-01-05 04:21:41,981 - {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'])
2024-01-05 04:21:41,982 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2429.0, 2117.0, 2140.0], currents=[10.2, 8.9, 9.0], voltages=[239.19, 240.13, 238.68], power_factors=[0.99, 0.99, 1.0], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=8695.0, imported=7336741.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6687.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40610.41, raw_currents_left=[58.81, 60.14, 60.08], surplus_power_left=0, state_str=''))
2024-01-05 04:21:41,984 - {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=2345.5, invalid_home_consumption=0, daily_yield_home_consumption=5115.4955881909, imported_home_consumption=3360233.291198656, disengageable_smarthome_power=0))
2024-01-05 04:21:41,985 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:21:41,986 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:21:41,993 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:21:41,996 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:21:41,999 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:21:42,001 - {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=20000, 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=66, soc_timestamp=1704424896.868771, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:21:42,003 - {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)
2024-01-05 04:21:42,010 - {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)
2024-01-05 04:21:42,011 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:21:42,013 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:21:42,014 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:21:42,016 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:21:42,017 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x70bcf310>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:21:42,019 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:21:42,019 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=44.09))
2024-01-05 04:21:42,019 - {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=8202091.902000001, power=44.09))
2024-01-05 04:21:42,021 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424891, 'time': '04:21:31', 'grid': 6.685, 'house-power': 2.343, 'charging-all': 4.296, 'pv-all': -0.046, 'cp1-power': 4.296, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:21:42,022 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:21:42,025 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:21:42,025 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:21:42,026 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:21:42,028 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:21:42,029 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:21:42,031 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:21:42,033 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:21:42,035 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:21:42,039 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:21:42,044 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.81, 54.14, 54.08]A verbleibende Ströme, 36470.41W verbleibende Leistung
2024-01-05 04:21:42,046 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:21:42,049 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:21:42,050 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:21:42,052 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:21:42,053 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:21:42,055 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:21:42,057 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6629.5899999999965W
2024-01-05 04:21:42,058 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6629.5899999999965W
2024-01-05 04:21:42,061 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:21:42,063 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:21:42,066 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3528.80999999959 counter 7210271.97
2024-01-05 04:21:42,068 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:21:42,071 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:21:42,098 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:21:42,326 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:21:45,384 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:21:45,385 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:21:50,397 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:21:50,398 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:21:50,443 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:21:50,444 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:21:50,452 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:21:50,455 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:21:50,456 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:21:50,498 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:21:50,501 - {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":240.3, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424909},"temperature":{"tC":29.0, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:21","unixtime":1704424911,"uptime":3784273,"ram_size":248992,"ram_free":144984,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:21:50,511 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424901.078867, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:21:50,515 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00262002, power1: 0, power2: 0
2024-01-05 04:21:50,516 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:21:50,517 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424910.5109324, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:21:50,521 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:21:50,525 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6706, -2433, -2125, -2147], Scale 0
2024-01-05 04:21:50,568 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [101, 89, 89], Scale -1
2024-01-05 04:21:50,595 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23915, 24004, 23864, 0, 0, 0, 0], Scale -2
2024-01-05 04:21:50,614 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:21:50,671 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9969, 9890, 9980], Scale -2
2024-01-05 04:21:50,734 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336756, 3034809, 2160276, 2693615], Scale 0
2024-01-05 04:21:50,735 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.100000000000001, 8.9, 8.9], powers=[2433.0, 2125.0, 2147.0], voltages=[239.15, 240.04, 238.64000000000001], power_factors=[0.9969, 0.9890000000000001, 0.998], imported=7336756.0, exported=4871307.0, power=6706.0, frequency=49.97)
2024-01-05 04:21:50,749 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:21:50,774 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4619], Scale -2
2024-01-05 04:21:50,965 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:21:50,984 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 32], Scale -2
2024-01-05 04:21:51,006 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4689], Scale -2
2024-01-05 04:21:51,007 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.32], power=46.19, exported=7869605.0, dc_power=46.89)
2024-01-05 04:21:51,011 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:21:51,056 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424901.568042, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:21:51,056 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00263557, power1: 0, power2: 0
2024-01-05 04:21:51,057 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:21:51,057 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424911.0560892, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:21:51,059 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:21:51,069 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:21:51,070 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:21:51,114 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:21:51,116 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:21:51,118 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.19, exported=7904493.99, dc_power=None)
2024-01-05 04:21:51,119 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.19, exported=7904493.99, dc_power=None)
2024-01-05 04:21:51,120 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:21:51,125 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:21:51,135 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:21:51,189 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:21:51,190 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.9, 8.9], powers=[2433.0, 2125.0, 2147.0], voltages=[239.15, 240.04, 238.64000000000001], power_factors=[0.9969, 0.9890000000000001, 0.998], imported=7336756.0, exported=4871307.0, power=6706.0, frequency=49.97)
2024-01-05 04:21:51,395 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:21:51,402 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:21:51,412 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.91, 60.16, 60.18]A
2024-01-05 04:21:51,414 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40591.29W
2024-01-05 04:21:51,418 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:21:51,434 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:21:51,436 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:21:51,439 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:21:51.438729
2024-01-05 04:21:51,440 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1161.873512s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:21:51,442 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:21:51.442417
2024-01-05 04:21:51,446 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89272.905409s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:21:51,447 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:21:51,457 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:21:51,459 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:21:51,495 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424901.9517806, power=2345.5, imported=3360233.291198656, exported=0)
2024-01-05 04:21:51,496 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00265103, power1: 2345.5, power2: 2362.52
2024-01-05 04:21:51,497 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.24055
2024-01-05 04:21:51,498 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.24055 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424911.4954855, power=2362.5200000000004, imported=3360239.5317478157, exported=0)
2024-01-05 04:21:51,502 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:21:51,508 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:21:51,511 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3396.0, daily_exported=0, power=4297.29, imported=7210280.76, exported=0))
2024-01-05 04:21:51,513 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.06, 6.08, 6.01], daily_imported=3396.0, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210280.76, phases_in_use=3, plug_state=True, power=4297.29, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.35, 238.95, 239.45]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3528.80999999959, imported_since_plugged=3528.80999999959, range_charged=17.64404999999795, time_charged='4:10', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bea700>), 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))
2024-01-05 04:21:51,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=[])
2024-01-05 04:21:51,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'])
2024-01-05 04:21:51,520 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2433.0, 2125.0, 2147.0], currents=[10.1, 8.9, 8.9], voltages=[239.15, 240.04, 238.64], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=8695.0, imported=7336756.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6706.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40591.29, raw_currents_left=[58.91, 60.16, 60.18], surplus_power_left=0, state_str=''))
2024-01-05 04:21: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=2362.5200000000004, invalid_home_consumption=0, daily_yield_home_consumption=5115.4955881909, imported_home_consumption=3360239.5317478157, disengageable_smarthome_power=0))
2024-01-05 04:21:51,524 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:21:51,530 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:21:51,532 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:21:51,536 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:21:51,538 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:21:51,542 - {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=20000, 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=66, soc_timestamp=1704424896.868771, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:21:51,544 - {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)
2024-01-05 04:21:51,552 - {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)
2024-01-05 04:21:51,555 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:21:51,556 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:21:51,557 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:21:51,558 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:21:51,560 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7ed1c0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:21:51,562 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:21:51,564 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=46.19))
2024-01-05 04:21:51,566 - {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=8202091.902000001, power=46.19))
2024-01-05 04:21:51,568 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424902, 'time': '04:21:42', 'grid': 6.687, 'house-power': 2.345, 'charging-all': 4.297, 'pv-all': -0.044, 'cp1-power': 4.297, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:21:51,574 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:21:51,574 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:21:51,576 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:21:51,581 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:21:51,583 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:21:51,592 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:21:51,594 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:21:51,594 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:21:51,598 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:21:51,606 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:21:51,607 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.91, 54.16, 54.18]A verbleibende Ströme, 36451.29W verbleibende Leistung
2024-01-05 04:21:51,610 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:21:51,615 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:21:51,620 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:21:51,622 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:21:51,629 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:21:51,631 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:21:51,638 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6648.709999999999W
2024-01-05 04:21:51,639 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6648.709999999999W
2024-01-05 04:21:51,640 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:21:51,644 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:21:51,658 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3537.5999999996275 counter 7210280.76
2024-01-05 04:21:51,661 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:21:51,670 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:21:51,704 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:21:52,050 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:21:52,051 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:21:55,060 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:21:55,062 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:22:00,074 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:22:00,075 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:22:00,118 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:22:00,119 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:22:00,121 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:22:00,126 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:22:00,129 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:22:00,181 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:22:00,183 - {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":240.4, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424919},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:22","unixtime":1704424920,"uptime":3784282,"ram_size":248932,"ram_free":144284,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-05 04:22:00,184 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424910.5109324, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:22:00,185 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00268721, power1: 0, power2: 0
2024-01-05 04:22:00,186 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:22:00,186 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424920.1849024, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:22:00,187 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:22:00,204 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6691, -2427, -2120, -2144], Scale 0
2024-01-05 04:22:00,228 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [102, 89, 89], Scale -1
2024-01-05 04:22:00,265 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23917, 24006, 23863, 0, 0, 0, 0], Scale -2
2024-01-05 04:22:00,297 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:22:00,324 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9969, 9890, 10000], Scale -2
2024-01-05 04:22:00,368 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336771, 3034815, 2160280, 2693620], Scale 0
2024-01-05 04:22:00,369 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.200000000000001, 8.9, 8.9], powers=[2427.0, 2120.0, 2144.0], voltages=[239.17000000000002, 240.06, 238.63], power_factors=[0.9969, 0.9890000000000001, 1.0], imported=7336771.0, exported=4871307.0, power=6691.0, frequency=49.99)
2024-01-05 04:22:00,371 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:22:00,424 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4679], Scale -2
2024-01-05 04:22:00,444 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:22:00,464 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 33], Scale -2
2024-01-05 04:22:00,599 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4750], Scale -2
2024-01-05 04:22:00,600 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.33], power=46.79, exported=7869605.0, dc_power=47.5)
2024-01-05 04:22:00,602 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:22:00,644 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424911.0560892, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:22:00,645 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.0026634, power1: 0, power2: 0
2024-01-05 04:22:00,646 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:22:00,647 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424920.6443365, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:22:00,648 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:22:00,657 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:22:00,660 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:22:00,727 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:22:00,729 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:22:00,731 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.79, exported=7904493.99, dc_power=None)
2024-01-05 04:22:00,732 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.79, exported=7904493.99, dc_power=None)
2024-01-05 04:22:00,743 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:22:00,749 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:22:00,753 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:22:00,812 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:22:00,813 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.200000000000001, 8.9, 8.9], powers=[2427.0, 2120.0, 2144.0], voltages=[239.17000000000002, 240.06, 238.63], power_factors=[0.9969, 0.9890000000000001, 1.0], imported=7336771.0, exported=4871307.0, power=6691.0, frequency=49.99)
2024-01-05 04:22:00,987 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:22:00,993 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:22:00,996 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.82, 60.15, 60.18]A
2024-01-05 04:22:00,997 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40601.81W
2024-01-05 04:22:00,999 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:22:01,002 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:22:01,004 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:22:01,006 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:22:01.006361
2024-01-05 04:22:01,007 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1171.441144s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:22:01,015 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:22:01.015188
2024-01-05 04:22:01,016 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89263.332638s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:22:01,019 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:22:01,028 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:22:01,031 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:22:01,042 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424911.4954855, power=2362.5200000000004, imported=3360239.5317478157, exported=0)
2024-01-05 04:22:01,044 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00265205, power1: 2362.52, power2: 2351.4
2024-01-05 04:22:01,048 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.25077
2024-01-05 04:22:01,055 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.25077 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424921.0428572, power=2351.3999999999996, imported=3360245.782518101, exported=0)
2024-01-05 04:22:01,060 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:22:01,068 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:22:01,068 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3396.0, daily_exported=0, power=4292.81, imported=7210293.95, exported=0))
2024-01-05 04:22:01,070 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.05, 6.08, 6.02], daily_imported=3396.0, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210293.95, phases_in_use=3, plug_state=True, power=4292.81, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.32, 238.98, 239.52]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3537.5999999996275, imported_since_plugged=3537.5999999996275, range_charged=17.687999999998137, time_charged='4:10', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7444a8>), 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))
2024-01-05 04:22:01,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=[])
2024-01-05 04:22:01,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'])
2024-01-05 04:22:01,074 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2427.0, 2120.0, 2144.0], currents=[10.2, 8.9, 8.9], voltages=[239.17, 240.06, 238.63], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=8695.0, imported=7336771.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6691.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40601.81, raw_currents_left=[58.82, 60.15, 60.18], surplus_power_left=0, state_str=''))
2024-01-05 04:22:01,075 - {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=2351.3999999999996, invalid_home_consumption=0, daily_yield_home_consumption=5115.4955881909, imported_home_consumption=3360245.782518101, disengageable_smarthome_power=0))
2024-01-05 04:22:01,076 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:22:01,077 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:22:01,079 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:22:01,079 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:22:01,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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:22:01,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=20000, 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=66, soc_timestamp=1704424896.868771, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:22:01,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)
2024-01-05 04:22:01,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)
2024-01-05 04:22:01,088 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:22:01,089 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:22:01,090 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:22:01,090 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:22:01,091 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f744178>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:22:01,091 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:22:01,091 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=46.79))
2024-01-05 04:22:01,092 - {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=8202091.902000001, power=46.79))
2024-01-05 04:22:01,092 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424911, 'time': '04:21:51', 'grid': 6.706, 'house-power': 2.363, 'charging-all': 4.297, 'pv-all': -0.046, 'cp1-power': 4.297, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:22:01,093 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:22:01,093 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:22:01,093 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:22:01,094 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:22:01,094 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:22:01,094 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:22:01,095 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:22:01,097 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:22:01,098 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:22:01,099 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:22:01,107 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.82, 54.15, 54.18]A verbleibende Ströme, 36461.81W verbleibende Leistung
2024-01-05 04:22:01,108 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:22:01,110 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:22:01,112 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:22:01,115 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:22:01,116 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:22:01,120 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:22:01,120 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6638.190000000002W
2024-01-05 04:22:01,121 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6638.190000000002W
2024-01-05 04:22:01,122 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:22:01,123 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:22:01,126 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3550.7900000000373 counter 7210293.95
2024-01-05 04:22:01,128 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:22:01,131 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:22:01,151 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:22:01,539 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:22:05,598 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:22:05,602 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:22:10,617 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:22:10,618 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:22:10,662 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:22:10,671 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:22:10,679 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:22:10,679 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:22:10,683 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:22:10,725 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:22:10,727 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6702, -2431, -2125, -2146], Scale 0
2024-01-05 04:22:10,729 - {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":240.6, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424929},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:22","unixtime":1704424931,"uptime":3784293,"ram_size":248936,"ram_free":144372,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:22:10,733 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424920.1849024, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:22:10,734 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00293012, power1: 0, power2: 0
2024-01-05 04:22:10,734 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:22:10,735 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424930.7333355, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:22:10,736 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:22:10,754 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [101, 89, 89], Scale -1
2024-01-05 04:22:10,779 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23927, 24009, 23875, 0, 0, 0, 0], Scale -2
2024-01-05 04:22:10,955 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:22:10,974 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9969, 9919, 10000], Scale -2
2024-01-05 04:22:10,995 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336786, 3034820, 2160285, 2693625], Scale 0
2024-01-05 04:22:10,996 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.100000000000001, 8.9, 8.9], powers=[2431.0, 2125.0, 2146.0], voltages=[239.27, 240.09, 238.75], power_factors=[0.9969, 0.9919, 1.0], imported=7336786.0, exported=4871307.0, power=6702.0, frequency=49.99)
2024-01-05 04:22:10,998 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:22:11,013 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5204], Scale -2
2024-01-05 04:22:11,033 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:22:11,113 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 32, 33], Scale -2
2024-01-05 04:22:11,136 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5284], Scale -2
2024-01-05 04:22:11,137 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.32, 0.33], power=52.04, exported=7869605.0, dc_power=52.84)
2024-01-05 04:22:11,138 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:22:11,245 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424920.6443365, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:22:11,246 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00294474, power1: 0, power2: 0
2024-01-05 04:22:11,246 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:22:11,247 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424931.245405, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:22:11,248 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:22:11,267 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:22:11,268 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:22:11,330 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:22:11,334 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:22:11,336 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=52.04, exported=7904493.99, dc_power=None)
2024-01-05 04:22:11,337 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:22:11,337 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=52.04, exported=7904493.99, dc_power=None)
2024-01-05 04:22:11,344 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:22:11,347 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:22:11,418 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:22:11,419 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.100000000000001, 8.9, 8.9], powers=[2431.0, 2125.0, 2146.0], voltages=[239.27, 240.09, 238.75], power_factors=[0.9969, 0.9919, 1.0], imported=7336786.0, exported=4871307.0, power=6702.0, frequency=49.99)
2024-01-05 04:22:11,612 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:22:11,618 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:22:11,620 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.91, 60.14, 60.16]A
2024-01-05 04:22:11,621 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40592.979999999996W
2024-01-05 04:22:11,624 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:22:11,628 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:22:11,629 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:22:11,630 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:22:11.630375
2024-01-05 04:22:11,631 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1182.065158s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:22:11,632 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:22:11.632410
2024-01-05 04:22:11,633 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89252.715416s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:22:11,635 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:22:11,639 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:22:11,640 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.06
2024-01-05 04:22:11,645 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424921.0428572, power=2351.3999999999996, imported=3360245.782518101, exported=0)
2024-01-05 04:22:11,647 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00294512, power1: 2351.4, power2: 2354.98
2024-01-05 04:22:11,648 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.93042
2024-01-05 04:22:11,650 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.93042 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424931.6452842, power=2354.9800000000005, imported=3360252.712941769, exported=0)
2024-01-05 04:22:11,652 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:22:11,653 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:22:11,656 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3396.0, daily_exported=0, power=4294.98, imported=7210306.15, exported=0))
2024-01-05 04:22:11,659 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.04, 6.06, 6.01], daily_imported=3396.0, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210306.15, phases_in_use=3, plug_state=True, power=4294.98, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.62, 239.25, 239.73]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3550.7900000000373, imported_since_plugged=3550.7900000000373, range_charged=17.753950000000188, time_charged='4:10', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7f0e38>), 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))
2024-01-05 04:22:11,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=[])
2024-01-05 04:22:11,661 - {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'])
2024-01-05 04:22:11,664 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2431.0, 2125.0, 2146.0], currents=[10.1, 8.9, 8.9], voltages=[239.27, 240.09, 238.75], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=8695.0, imported=7336786.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6702.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40592.979999999996, raw_currents_left=[58.91, 60.14, 60.16], surplus_power_left=0, state_str=''))
2024-01-05 04:22:11,666 - {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=2354.9800000000005, invalid_home_consumption=0, daily_yield_home_consumption=5115.4955881909, imported_home_consumption=3360252.712941769, disengageable_smarthome_power=0))
2024-01-05 04:22:11,668 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:22:11,671 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:22:11,674 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:22:11,675 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:22:11,677 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:22:11,680 - {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=20000, 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=66, soc_timestamp=1704424896.868771, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:22:11,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)
2024-01-05 04:22:11,683 - {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)
2024-01-05 04:22:11,687 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:22:11,688 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:22:11,690 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:22:11,692 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:22:11,693 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7d4640>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:22:11,695 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:22:11,697 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=52.04))
2024-01-05 04:22:11,698 - {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=8202091.902000001, power=52.04))
2024-01-05 04:22:11,699 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424921, 'time': '04:22:01', 'grid': 6.691, 'house-power': 2.351, 'charging-all': 4.293, 'pv-all': -0.047, 'cp1-power': 4.293, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:22:11,701 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:22:11,705 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:22:11,708 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:22:11,709 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:22:11,711 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:22:11,727 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:22:11,733 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:22:11,736 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:22:11,742 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:22:11,743 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:22:11,745 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.91, 54.14, 54.16]A verbleibende Ströme, 36452.979999999996W verbleibende Leistung
2024-01-05 04:22:11,747 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:22:11,749 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:22:11,753 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:22:11,757 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:22:11,758 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:22:11,760 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:22:11,763 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6647.020000000004W
2024-01-05 04:22:11,767 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6647.020000000004W
2024-01-05 04:22:11,767 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:22:11,768 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:22:11,770 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3562.9900000002235 counter 7210306.15
2024-01-05 04:22:11,773 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:22:11,781 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:22:11,811 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:22:12,216 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:22:12,219 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:22:15,226 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:22:15,227 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:22:20,240 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:22:20,241 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:22:20,276 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:22:20,278 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:22:20,288 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:22:20,289 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:22:20,293 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:22:20,333 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:22:20,335 - {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":240.7, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424939},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:22","unixtime":1704424941,"uptime":3784302,"ram_size":248936,"ram_free":144384,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:22:20,338 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424930.7333355, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:22:20,339 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00266807, power1: 0, power2: 0
2024-01-05 04:22:20,340 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:22:20,341 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424940.3383949, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:22:20,342 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:22:20,425 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6701, -2430, -2123, -2147], Scale 0
2024-01-05 04:22:20,478 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [102, 89, 90], Scale -1
2024-01-05 04:22:20,505 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23938, 24024, 23885, 0, 0, 0, 0], Scale -2
2024-01-05 04:22:20,525 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:22:20,546 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9940, 9890, 9969], Scale -2
2024-01-05 04:22:20,596 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336809, 3034831, 2160295, 2693634], Scale 0
2024-01-05 04:22:20,597 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.200000000000001, 8.9, 9.0], powers=[2430.0, 2123.0, 2147.0], voltages=[239.38, 240.24, 238.85], power_factors=[0.9940000000000001, 0.9890000000000001, 0.9969], imported=7336809.0, exported=4871307.0, power=6701.0, frequency=49.99)
2024-01-05 04:22:20,601 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:22:20,625 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4085], Scale -2
2024-01-05 04:22:20,657 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:22:20,685 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 33, 34], Scale -2
2024-01-05 04:22:20,766 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4147], Scale -2
2024-01-05 04:22:20,767 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.33, 0.34], power=40.85, exported=7869605.0, dc_power=41.47)
2024-01-05 04:22:20,769 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:22:20,815 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424931.245405, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:22:20,816 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00265835, power1: 0, power2: 0
2024-01-05 04:22:20,817 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:22:20,817 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424940.8154728, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:22:20,819 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:22:20,835 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:22:20,837 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:22:20,905 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:22:20,907 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:22:20,909 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:22:20,910 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=40.85, exported=7904493.99, dc_power=None)
2024-01-05 04:22:20,925 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=40.85, exported=7904493.99, dc_power=None)
2024-01-05 04:22:20,920 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:22:20,932 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:22:21,012 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:22:21,013 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.200000000000001, 8.9, 9.0], powers=[2430.0, 2123.0, 2147.0], voltages=[239.38, 240.24, 238.85], power_factors=[0.9940000000000001, 0.9890000000000001, 0.9969], imported=7336809.0, exported=4871307.0, power=6701.0, frequency=49.99)
2024-01-05 04:22:21,179 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:22:21,182 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:22:21,193 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.81, 60.15, 60.06]A
2024-01-05 04:22:21,199 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40588.56W
2024-01-05 04:22:21,201 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:22:21,208 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:22:21,211 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:22:21,215 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:22:21.215275
2024-01-05 04:22:21,218 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1191.650058s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:22:21,219 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:22:21.219358
2024-01-05 04:22:21,220 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89243.128468s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:22:21,223 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:22:21,238 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:22:21,249 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.06
2024-01-05 04:22:21,255 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424931.6452842, power=2354.9800000000005, imported=3360252.712941769, exported=0)
2024-01-05 04:22:21,257 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00266943, power1: 2354.98, power2: 2370.59
2024-01-05 04:22:21,259 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.30728
2024-01-05 04:22:21,261 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.30728 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424941.255219, power=2370.5899999999992, imported=3360259.0202222727, exported=0)
2024-01-05 04:22:21,265 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:22:21,266 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:22:21,268 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3396.0, daily_exported=0, power=4289.56, imported=7210317.87, exported=0))
2024-01-05 04:22:21,273 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.05, 6.06, 6.01], daily_imported=3396.0, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210317.87, phases_in_use=3, plug_state=True, power=4289.56, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.66, 239.37, 239.78]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3562.9900000002235, imported_since_plugged=3562.9900000002235, range_charged=17.81495000000112, time_charged='4:10', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f744958>), 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))
2024-01-05 04:22:21,274 - {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=[])
2024-01-05 04:22:21,275 - {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'])
2024-01-05 04:22:21,276 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2430.0, 2123.0, 2147.0], currents=[10.2, 8.9, 9.0], voltages=[239.38, 240.24, 238.85], power_factors=[0.99, 0.99, 1.0], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=8695.0, imported=7336809.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6701.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40588.56, raw_currents_left=[58.81, 60.15, 60.06], surplus_power_left=0, state_str=''))
2024-01-05 04:22:21,280 - {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=2370.5899999999992, invalid_home_consumption=0, daily_yield_home_consumption=5115.4955881909, imported_home_consumption=3360259.0202222727, disengageable_smarthome_power=0))
2024-01-05 04:22:21,280 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:22:21,281 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:22:21,282 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:22:21,282 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:22:21,283 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:22:21,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=20000, 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=66, soc_timestamp=1704424896.868771, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:22:21,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)
2024-01-05 04:22:21,284 - {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)
2024-01-05 04:22:21,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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:22:21,288 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:22:21,292 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:22:21,294 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:22:21,296 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x701d10e8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:22:21,296 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:22:21,299 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=40.85))
2024-01-05 04:22:21,300 - {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=8202091.902000001, power=40.85))
2024-01-05 04:22:21,302 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424931, 'time': '04:22:11', 'grid': 6.702, 'house-power': 2.355, 'charging-all': 4.295, 'pv-all': -0.052, 'cp1-power': 4.295, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:22:21,303 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:22:21,306 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:22:21,307 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:22:21,307 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:22:21,308 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:22:21,308 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:22:21,308 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:22:21,309 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:22:21,309 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:22:21,310 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:22:21,311 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.81, 54.15, 54.06]A verbleibende Ströme, 36448.56W verbleibende Leistung
2024-01-05 04:22:21,311 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:22:21,313 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:22:21,314 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:22:21,314 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:22:21,315 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:22:21,318 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:22:21,323 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6651.440000000002W
2024-01-05 04:22:21,327 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6651.440000000002W
2024-01-05 04:22:21,328 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:22:21,329 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:22:21,339 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3574.7099999999627 counter 7210317.87
2024-01-05 04:22:21,342 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:22:21,344 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:22:21,388 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:22:21,612 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:22:25,674 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:22:25,675 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:22:30,687 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:22:30,688 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:22:30,733 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:22:30,736 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:22:30,744 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:22:30,737 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:22:30,747 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:22:30,774 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6701, -2430, -2127, -2144], Scale 0
2024-01-05 04:22:30,792 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:22:30,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":240.6, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424949},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:22","unixtime":1704424951,"uptime":3784313,"ram_size":248948,"ram_free":144524,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:22:30,799 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424940.3383949, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:22:30,801 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0029057, power1: 0, power2: 0
2024-01-05 04:22:30,801 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:22:30,802 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424950.798915, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:22:30,808 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:22:30,816 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [102, 89, 89], Scale -1
2024-01-05 04:22:30,874 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23932, 24024, 23891, 0, 0, 0, 0], Scale -2
2024-01-05 04:22:30,893 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:22:30,914 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9969, 9900, 10000], Scale -2
2024-01-05 04:22:31,055 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336823, 3034836, 2160299, 2693639], Scale 0
2024-01-05 04:22:31,056 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.200000000000001, 8.9, 8.9], powers=[2430.0, 2127.0, 2144.0], voltages=[239.32, 240.24, 238.91], power_factors=[0.9969, 0.99, 1.0], imported=7336823.0, exported=4871307.0, power=6701.0, frequency=49.99)
2024-01-05 04:22:31,058 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:22:31,119 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4696], Scale -2
2024-01-05 04:22:31,174 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:22:31,225 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 32, 34], Scale -2
2024-01-05 04:22:31,243 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4490], Scale -2
2024-01-05 04:22:31,244 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.32, 0.34], power=46.96, exported=7869605.0, dc_power=44.9)
2024-01-05 04:22:31,245 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:22:31,284 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424940.8154728, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:22:31,284 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00290795, power1: 0, power2: 0
2024-01-05 04:22:31,285 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:22:31,285 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424951.2840827, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:22:31,286 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:22:31,299 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:22:31,303 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:22:31,344 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:22:31,346 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:22:31,354 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.96, exported=7904493.99, dc_power=None)
2024-01-05 04:22:31,356 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.96, exported=7904493.99, dc_power=None)
2024-01-05 04:22:31,359 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:22:31,368 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:22:31,370 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:22:31,426 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:22:31,428 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.200000000000001, 8.9, 8.9], powers=[2430.0, 2127.0, 2144.0], voltages=[239.32, 240.24, 238.91], power_factors=[0.9969, 0.99, 1.0], imported=7336823.0, exported=4871307.0, power=6701.0, frequency=49.99)
2024-01-05 04:22:31,612 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:22:31,614 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:22:31,616 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.8, 60.14, 60.16]A
2024-01-05 04:22:31,618 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40592.49W
2024-01-05 04:22:31,619 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:22:31,622 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:22:31,624 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:22:31,626 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:22:31.626212
2024-01-05 04:22:31,628 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1202.060995s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:22:31,630 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:22:31.630092
2024-01-05 04:22:31,632 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89232.717734s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:22:31,634 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:22:31,637 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:22:31,645 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.06
2024-01-05 04:22:31,666 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424941.255219, power=2370.5899999999992, imported=3360259.0202222727, exported=0)
2024-01-05 04:22:31,668 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00289185, power1: 2370.59, power2: 2360.55
2024-01-05 04:22:31,670 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.84087
2024-01-05 04:22:31,673 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.84087 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424951.6658802, power=2360.55, imported=3360265.8610966792, exported=0)
2024-01-05 04:22:31,675 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:22:31,677 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:22:31,677 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3396.0, daily_exported=0, power=4293.49, imported=7210330.08, exported=0))
2024-01-05 04:22:31,680 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.04, 6.06, 6.0], daily_imported=3396.0, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210330.08, phases_in_use=3, plug_state=True, power=4293.49, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.63, 239.34, 239.79]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3574.7099999999627, imported_since_plugged=3574.7099999999627, range_charged=17.873549999999813, time_charged='4:10', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x701f19a0>), 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))
2024-01-05 04:22:31,683 - {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=[])
2024-01-05 04:22:31,684 - {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'])
2024-01-05 04:22:31,685 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2430.0, 2127.0, 2144.0], currents=[10.2, 8.9, 8.9], voltages=[239.32, 240.24, 238.91], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=8695.0, imported=7336823.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6701.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40592.49, raw_currents_left=[58.8, 60.14, 60.16], surplus_power_left=0, state_str=''))
2024-01-05 04:22:31,687 - {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=2360.55, invalid_home_consumption=0, daily_yield_home_consumption=5115.4955881909, imported_home_consumption=3360265.8610966792, disengageable_smarthome_power=0))
2024-01-05 04:22:31,690 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:22:31,691 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:22:31,693 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:22:31,695 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:22:31,697 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:22:31,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=20000, 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=66, soc_timestamp=1704424896.868771, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:22:31,700 - {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)
2024-01-05 04:22:31,702 - {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)
2024-01-05 04:22:31,703 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:22:31,705 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:22:31,706 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:22:31,707 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:22:31,709 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7ecb80>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:22:31,711 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:22:31,713 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=46.96))
2024-01-05 04:22:31,714 - {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=8202091.902000001, power=46.96))
2024-01-05 04:22:31,716 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424941, 'time': '04:22:21', 'grid': 6.701, 'house-power': 2.371, 'charging-all': 4.29, 'pv-all': -0.041, 'cp1-power': 4.29, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:22:31,722 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:22:31,727 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:22:31,733 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:22:31,734 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:22:31,738 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:22:31,742 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:22:31,744 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:22:31,749 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:22:31,750 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:22:31,752 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:22:31,759 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.8, 54.14, 54.16]A verbleibende Ströme, 36452.49W verbleibende Leistung
2024-01-05 04:22:31,760 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:22:31,763 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:22:31,766 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:22:31,771 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:22:31,772 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:22:31,779 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:22:31,783 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6647.510000000002W
2024-01-05 04:22:31,784 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6647.510000000002W
2024-01-05 04:22:31,785 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:22:31,786 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:22:31,788 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3586.9199999999255 counter 7210330.08
2024-01-05 04:22:31,791 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:22:31,806 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:22:31,853 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:22:32,288 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:22:32,289 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:22:35,297 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:22:35,298 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:22:40,311 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:22:40,311 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:22:40,348 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:22:40,351 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:22:40,353 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:22:40,361 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:22:40,363 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:22:40,385 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6696, -2426, -2125, -2144], Scale 0
2024-01-05 04:22:40,408 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:22:40,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":240.4, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424959},"temperature":{"tC":29.0, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:22","unixtime":1704424961,"uptime":3784323,"ram_size":248948,"ram_free":144524,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:22:40,412 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424950.798915, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:22:40,414 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00267053, power1: 0, power2: 0
2024-01-05 04:22:40,414 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:22:40,415 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424960.412833, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:22:40,417 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:22:40,524 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [102, 89, 90], Scale -1
2024-01-05 04:22:40,556 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23921, 24012, 23875, 0, 0, 0, 0], Scale -2
2024-01-05 04:22:40,585 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:22:40,605 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9950, 9900, 9959], Scale -2
2024-01-05 04:22:40,625 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336846, 3034841, 2160304, 2693644], Scale 0
2024-01-05 04:22:40,626 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.200000000000001, 8.9, 9.0], powers=[2426.0, 2125.0, 2144.0], voltages=[239.21, 240.12, 238.75], power_factors=[0.995, 0.99, 0.9959], imported=7336846.0, exported=4871307.0, power=6696.0, frequency=50.0)
2024-01-05 04:22:40,629 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:22:40,646 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5071], Scale -2
2024-01-05 04:22:40,715 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:22:40,734 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 32], Scale -2
2024-01-05 04:22:40,754 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4782], Scale -2
2024-01-05 04:22:40,755 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.32], power=50.71, exported=7869605.0, dc_power=47.82)
2024-01-05 04:22:40,757 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:22:40,879 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424951.2840827, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:22:40,880 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00266524, power1: 0, power2: 0
2024-01-05 04:22:40,880 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:22:40,881 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424960.8789365, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:22:40,882 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:22:40,890 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:22:40,892 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:22:40,973 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:22:40,977 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:22:40,979 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=50.71, exported=7904493.99, dc_power=None)
2024-01-05 04:22:40,980 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:22:40,981 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=50.71, exported=7904493.99, dc_power=None)
2024-01-05 04:22:40,983 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:22:40,988 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:22:41,056 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:22:41,057 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.200000000000001, 8.9, 9.0], powers=[2426.0, 2125.0, 2144.0], voltages=[239.21, 240.12, 238.75], power_factors=[0.995, 0.99, 0.9959], imported=7336846.0, exported=4871307.0, power=6696.0, frequency=50.0)
2024-01-05 04:22:41,224 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:22:41,225 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:22:41,229 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.82, 60.15, 60.08]A
2024-01-05 04:22:41,230 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40595.58W
2024-01-05 04:22:41,231 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:22:41,234 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:22:41,236 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:22:41,238 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:22:41.237755
2024-01-05 04:22:41,239 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1211.672538s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:22:41,243 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:22:41.242729
2024-01-05 04:22:41,251 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89223.105097s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:22:41,252 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:22:41,273 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:22:41,275 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:22:41,281 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424951.6658802, power=2360.55, imported=3360265.8610966792, exported=0)
2024-01-05 04:22:41,283 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00267108, power1: 2360.55, power2: 2353.71
2024-01-05 04:22:41,284 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.29607
2024-01-05 04:22:41,284 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.29607 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424961.2817552, power=2353.71, imported=3360272.1571709714, exported=0)
2024-01-05 04:22:41,286 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:22:41,288 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:22:41,300 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3396.0, daily_exported=0, power=4291.58, imported=7210341.8, exported=0))
2024-01-05 04:22:41,301 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.05, 6.08, 6.02], daily_imported=3396.0, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210341.8, phases_in_use=3, plug_state=True, power=4291.58, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.37, 239.08, 239.53]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3586.9199999999255, imported_since_plugged=3586.9199999999255, range_charged=17.93459999999963, time_charged='4:10', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70be40e8>), 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))
2024-01-05 04:22:41,302 - {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=[])
2024-01-05 04:22:41,303 - {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'])
2024-01-05 04:22:41,304 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2426.0, 2125.0, 2144.0], currents=[10.2, 8.9, 9.0], voltages=[239.21, 240.12, 238.75], power_factors=[0.99, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=8695.0, imported=7336846.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6696.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40595.58, raw_currents_left=[58.82, 60.15, 60.08], surplus_power_left=0, state_str=''))
2024-01-05 04:22:41,306 - {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=2353.71, invalid_home_consumption=0, daily_yield_home_consumption=5115.4955881909, imported_home_consumption=3360272.1571709714, disengageable_smarthome_power=0))
2024-01-05 04:22:41,307 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:22:41,308 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:22:41,311 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:22:41,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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:22:41,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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:22:41,318 - {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=20000, 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=66, soc_timestamp=1704424952.456516, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:22:41,322 - {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)
2024-01-05 04:22:41,323 - {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)
2024-01-05 04:22:41,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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:22:41,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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:22:41,324 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:22:41,324 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:22:41,325 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7d4310>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:22:41,327 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:22:41,328 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=50.71))
2024-01-05 04:22:41,329 - {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=8202091.902000001, power=50.71))
2024-01-05 04:22:41,331 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424951, 'time': '04:22:31', 'grid': 6.701, 'house-power': 2.361, 'charging-all': 4.293, 'pv-all': -0.047, 'cp1-power': 4.293, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:22:41,334 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:22:41,336 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:22:41,340 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:22:41,340 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:22:41,341 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:22:41,341 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:22:41,341 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:22:41,342 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:22:41,342 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:22:41,343 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:22:41,344 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.82, 54.15, 54.08]A verbleibende Ströme, 36455.58W verbleibende Leistung
2024-01-05 04:22:41,344 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:22:41,346 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:22:41,348 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:22:41,349 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:22:41,350 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:22:41,352 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:22:41,352 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6644.419999999998W
2024-01-05 04:22:41,355 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6644.419999999998W
2024-01-05 04:22:41,356 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:22:41,357 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:22:41,360 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3598.6399999996647 counter 7210341.8
2024-01-05 04:22:41,362 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:22:41,367 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:22:41,410 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:22:41,641 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:22:45,668 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:22:45,669 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:22:50,680 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:22:50,681 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:22:50,727 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:22:50,728 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:22:50,734 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:22:50,737 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:22:50,738 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:22:50,779 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:22:50,782 - {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":240.5, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424969},"temperature":{"tC":29.0, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:22","unixtime":1704424971,"uptime":3784333,"ram_size":249000,"ram_free":145092,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:22:50,789 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424960.412833, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:22:50,790 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00288229, power1: 0, power2: 0
2024-01-05 04:22:50,790 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:22:50,791 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424970.7890694, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:22:50,794 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:22:50,797 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6714, -2439, -2122, -2151], Scale 0
2024-01-05 04:22:50,865 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [102, 89, 90], Scale -1
2024-01-05 04:22:50,885 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23924, 24008, 23869, 0, 0, 0, 0], Scale -2
2024-01-05 04:22:50,903 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:22:50,923 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9879, 9950], Scale -2
2024-01-05 04:22:50,946 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336853, 3034847, 2160309, 2693649], Scale 0
2024-01-05 04:22:50,947 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.200000000000001, 8.9, 9.0], powers=[2439.0, 2122.0, 2151.0], voltages=[239.24, 240.08, 238.69], power_factors=[0.9929000000000001, 0.9879000000000001, 0.995], imported=7336853.0, exported=4871307.0, power=6714.0, frequency=50.0)
2024-01-05 04:22:50,961 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:22:50,984 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4738], Scale -2
2024-01-05 04:22:51,003 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:22:51,023 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 32, 32], Scale -2
2024-01-05 04:22:51,084 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4810], Scale -2
2024-01-05 04:22:51,084 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.32, 0.32], power=47.38, exported=7869605.0, dc_power=48.1)
2024-01-05 04:22:51,099 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:22:51,134 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424960.8789365, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:22:51,135 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00284884, power1: 0, power2: 0
2024-01-05 04:22:51,136 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:22:51,136 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424971.134745, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:22:51,144 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:22:51,159 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:22:51,160 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:22:51,202 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:22:51,205 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:22:51,206 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.38, exported=7904493.99, dc_power=None)
2024-01-05 04:22:51,208 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.38, exported=7904493.99, dc_power=None)
2024-01-05 04:22:51,207 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:22:51,214 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:22:51,215 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:22:51,295 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:22:51,297 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.200000000000001, 8.9, 9.0], powers=[2439.0, 2122.0, 2151.0], voltages=[239.24, 240.08, 238.69], power_factors=[0.9929000000000001, 0.9879000000000001, 0.995], imported=7336853.0, exported=4871307.0, power=6714.0, frequency=50.0)
2024-01-05 04:22:51,478 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:22:51,480 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:22:51,482 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.8, 60.14, 60.07]A
2024-01-05 04:22:51,483 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40574.8W
2024-01-05 04:22:51,485 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:22:51,487 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:22:51,489 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:22:51,491 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:22:51.490848
2024-01-05 04:22:51,492 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1221.925631s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:22:51,494 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:22:51.493545
2024-01-05 04:22:51,495 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89212.854281s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:22:51,496 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:22:51,499 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:22:51,500 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:22:51,520 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424961.2817552, power=2353.71, imported=3360272.1571709714, exported=0)
2024-01-05 04:22:51,521 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00284404, power1: 2353.71, power2: 2377.82
2024-01-05 04:22:51,522 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.72833
2024-01-05 04:22:51,533 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.72833 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424971.5202997, power=2377.8199999999997, imported=3360278.885501567, exported=0)
2024-01-05 04:22:51,535 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:22:51,536 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:22:51,541 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3396.0, daily_exported=0, power=4288.8, imported=7210354.0, exported=0))
2024-01-05 04:22:51,544 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.04, 6.07, 6.0], daily_imported=3396.0, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210354.0, phases_in_use=3, plug_state=True, power=4288.8, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.48, 239.16, 239.72]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3598.6399999996647, imported_since_plugged=3598.6399999996647, range_charged=17.993199999998325, time_charged='4:11', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7f9ef8>), 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))
2024-01-05 04:22:51,546 - {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=[])
2024-01-05 04:22:51,547 - {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'])
2024-01-05 04:22:51,548 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2439.0, 2122.0, 2151.0], currents=[10.2, 8.9, 9.0], voltages=[239.24, 240.08, 238.69], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=8695.0, imported=7336853.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6714.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40574.8, raw_currents_left=[58.8, 60.14, 60.07], surplus_power_left=0, state_str=''))
2024-01-05 04:22:51,549 - {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=2377.8199999999997, invalid_home_consumption=0, daily_yield_home_consumption=5115.4955881909, imported_home_consumption=3360278.885501567, disengageable_smarthome_power=0))
2024-01-05 04:22:51,551 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:22:51,552 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:22:51,555 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:22:51,556 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:22:51,558 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:22:51,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=20000, 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=66, soc_timestamp=1704424952.456516, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:22:51,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)
2024-01-05 04:22:51,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)
2024-01-05 04:22:51,564 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:22:51,566 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:22:51,569 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:22:51,570 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:22:51,571 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7f9c58>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:22:51,573 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:22:51,574 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=47.38))
2024-01-05 04:22:51,577 - {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=8202091.902000001, power=47.38))
2024-01-05 04:22:51,578 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424961, 'time': '04:22:41', 'grid': 6.696, 'house-power': 2.354, 'charging-all': 4.292, 'pv-all': -0.051, 'cp1-power': 4.292, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:22:51,580 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:22:51,581 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:22:51,583 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:22:51,585 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:22:51,587 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:22:51,588 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:22:51,589 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:22:51,590 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:22:51,591 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:22:51,593 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:22:51,594 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.8, 54.14, 54.07]A verbleibende Ströme, 36434.8W verbleibende Leistung
2024-01-05 04:22:51,596 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:22:51,601 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:22:51,603 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:22:51,604 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:22:51,605 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:22:51,608 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:22:51,610 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6665.199999999997W
2024-01-05 04:22:51,612 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6665.199999999997W
2024-01-05 04:22:51,613 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:22:51,615 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:22:51,618 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3610.839999999851 counter 7210354.0
2024-01-05 04:22:51,622 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:22:51,626 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:22:51,713 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:22:52,014 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:22:52,016 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:22:55,024 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:22:55,025 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:23:00,038 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:23:00,039 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:23:00,139 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:23:00,148 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:23:00,153 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:23:00,163 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:23:00,168 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:23:00,226 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6718, -2444, -2121, -2151], Scale 0
2024-01-05 04:23:00,232 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:23:00,234 - {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":240.5, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424979},"temperature":{"tC":29.1, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:23","unixtime":1704424980,"uptime":3784342,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:23:00,238 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424970.7890694, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:23:00,239 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00262467, power1: 0, power2: 0
2024-01-05 04:23:00,242 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:23:00,243 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424980.2378979, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:23:00,247 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:23:00,280 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [103, 89, 90], Scale -1
2024-01-05 04:23:00,313 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23916, 24011, 23906, 0, 0, 0, 0], Scale -2
2024-01-05 04:23:00,365 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:23:00,395 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9950, 9909, 9990], Scale -2
2024-01-05 04:23:00,416 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336883, 3034858, 2160318, 2693658], Scale 0
2024-01-05 04:23:00,417 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.3, 8.9, 9.0], powers=[2444.0, 2121.0, 2151.0], voltages=[239.16, 240.11, 239.06], power_factors=[0.995, 0.9909, 0.9990000000000001], imported=7336883.0, exported=4871307.0, power=6718.0, frequency=49.99)
2024-01-05 04:23:00,422 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:23:00,534 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5359], Scale -2
2024-01-05 04:23:00,554 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:23:00,594 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 32, 32], Scale -2
2024-01-05 04:23:00,623 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5018], Scale -2
2024-01-05 04:23:00,624 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.32, 0.32], power=53.59, exported=7869605.0, dc_power=50.18)
2024-01-05 04:23:00,625 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:23:00,662 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424971.134745, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:23:00,663 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00264667, power1: 0, power2: 0
2024-01-05 04:23:00,663 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:23:00,664 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424980.6627657, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:23:00,665 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:23:00,669 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:23:00,669 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:23:00,713 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:23:00,714 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:23:00,717 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=53.59, exported=7904493.99, dc_power=None)
2024-01-05 04:23:00,719 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=53.59, exported=7904493.99, dc_power=None)
2024-01-05 04:23:00,722 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:23:00,726 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:23:00,728 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:23:00,778 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:23:00,778 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.3, 8.9, 9.0], powers=[2444.0, 2121.0, 2151.0], voltages=[239.16, 240.11, 239.06], power_factors=[0.995, 0.9909, 0.9990000000000001], imported=7336883.0, exported=4871307.0, power=6718.0, frequency=49.99)
2024-01-05 04:23:00,966 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:23:00,969 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:23:00,971 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.72, 60.15, 60.07]A
2024-01-05 04:23:00,973 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40580.96W
2024-01-05 04:23:00,974 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:23:00,976 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:23:00,977 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:23:00,979 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:23:00.978635
2024-01-05 04:23:00,980 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1231.413418s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:23:00,982 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:23:00.982396
2024-01-05 04:23:00,984 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89203.36543s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:23:00,985 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:23:00,988 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:23:00,990 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:23:01,016 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424971.5202997, power=2377.8199999999997, imported=3360278.885501567, exported=0)
2024-01-05 04:23:01,021 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00263794, power1: 2377.82, power2: 2365.45
2024-01-05 04:23:01,024 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.25622
2024-01-05 04:23:01,026 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.25622 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424981.0168707, power=2365.45, imported=3360285.141723877, exported=0)
2024-01-05 04:23:01,029 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:23:01,038 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:23:01,038 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3396.0, daily_exported=0, power=4298.96, imported=7210366.21, exported=0))
2024-01-05 04:23:01,040 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.05, 6.07, 6.02], daily_imported=3396.0, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210366.21, phases_in_use=3, plug_state=True, power=4298.96, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.53, 239.57, 239.69]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3610.839999999851, imported_since_plugged=3610.839999999851, range_charged=18.054199999999256, time_charged='4:11', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b279d0>), 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))
2024-01-05 04:23:01,042 - {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=[])
2024-01-05 04:23:01,043 - {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'])
2024-01-05 04:23:01,044 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2444.0, 2121.0, 2151.0], currents=[10.3, 8.9, 9.0], voltages=[239.16, 240.11, 239.06], power_factors=[0.99, 0.99, 1.0], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=8695.0, imported=7336883.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6718.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40580.96, raw_currents_left=[58.72, 60.15, 60.07], surplus_power_left=0, state_str=''))
2024-01-05 04:23:01,044 - {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=2365.45, invalid_home_consumption=0, daily_yield_home_consumption=5115.4955881909, imported_home_consumption=3360285.141723877, disengageable_smarthome_power=0))
2024-01-05 04:23:01,045 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:23:01,046 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:23:01,048 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:23:01,049 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:23:01,056 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:23:01,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=20000, 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=66, soc_timestamp=1704424952.456516, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:23:01,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)
2024-01-05 04:23:01,060 - {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)
2024-01-05 04:23:01,062 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:23:01,064 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:23:01,066 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:23:01,067 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:23:01,068 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7f0148>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:23:01,069 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:23:01,071 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=53.59))
2024-01-05 04:23:01,072 - {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=8202091.902000001, power=53.59))
2024-01-05 04:23:01,073 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424971, 'time': '04:22:51', 'grid': 6.714, 'house-power': 2.378, 'charging-all': 4.289, 'pv-all': -0.047, 'cp1-power': 4.289, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:23:01,075 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:23:01,076 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:23:01,077 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:23:01,078 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:23:01,080 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:23:01,081 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:23:01,082 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:23:01,083 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:23:01,085 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:23:01,087 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:23:01,090 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.72, 54.15, 54.07]A verbleibende Ströme, 36440.96W verbleibende Leistung
2024-01-05 04:23:01,091 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:23:01,094 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:23:01,098 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:23:01,102 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:23:01,103 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:23:01,107 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:23:01,111 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6659.040000000001W
2024-01-05 04:23:01,117 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6659.040000000001W
2024-01-05 04:23:01,118 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:23:01,118 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:23:01,119 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3623.0499999998137 counter 7210366.21
2024-01-05 04:23:01,127 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:23:01,135 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:23:01,167 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:23:01,403 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:23:05,431 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:23:05,432 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:23:10,443 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:23:10,444 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:23:10,488 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:23:10,488 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:23:10,495 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:23:10,497 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:23:10,498 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:23:10,539 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:23:10,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":240.7, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424989},"temperature":{"tC":29.0, "tF":84.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:23","unixtime":1704424991,"uptime":3784353,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:23:10,545 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6725, -2446, -2130, -2149], Scale 0
2024-01-05 04:23:10,546 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424980.2378979, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:23:10,551 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00286346, power1: 0, power2: 0
2024-01-05 04:23:10,551 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:23:10,552 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424990.5463622, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:23:10,553 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:23:10,565 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [102, 89, 90], Scale -1
2024-01-05 04:23:10,583 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23938, 24028, 23925, 0, 0, 0, 0], Scale -2
2024-01-05 04:23:10,715 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:23:10,757 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9959, 9900, 9980], Scale -2
2024-01-05 04:23:10,795 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336898, 3034860, 2160321, 2693661], Scale 0
2024-01-05 04:23:10,796 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.200000000000001, 8.9, 9.0], powers=[2446.0, 2130.0, 2149.0], voltages=[239.38, 240.28, 239.25], power_factors=[0.9959, 0.99, 0.998], imported=7336898.0, exported=4871307.0, power=6725.0, frequency=50.0)
2024-01-05 04:23:10,804 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:23:10,823 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5132], Scale -2
2024-01-05 04:23:10,843 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:23:10,863 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 34], Scale -2
2024-01-05 04:23:10,946 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5210], Scale -2
2024-01-05 04:23:10,947 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.34], power=51.32, exported=7869605.0, dc_power=52.1)
2024-01-05 04:23:10,954 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:23:11,003 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424980.6627657, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:23:11,004 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00287242, power1: 0, power2: 0
2024-01-05 04:23:11,004 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:23:11,005 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424991.0034752, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:23:11,007 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:23:11,021 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:23:11,022 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:23:11,067 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:23:11,067 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:23:11,069 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=51.32, exported=7904493.99, dc_power=None)
2024-01-05 04:23:11,069 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=51.32, exported=7904493.99, dc_power=None)
2024-01-05 04:23:11,075 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:23:11,088 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:23:11,094 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:23:11,147 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:23:11,148 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.200000000000001, 8.9, 9.0], powers=[2446.0, 2130.0, 2149.0], voltages=[239.38, 240.28, 239.25], power_factors=[0.9959, 0.99, 0.998], imported=7336898.0, exported=4871307.0, power=6725.0, frequency=50.0)
2024-01-05 04:23:11,330 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:23:11,332 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:23:11,334 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.8, 60.14, 60.06]A
2024-01-05 04:23:11,335 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40564.520000000004W
2024-01-05 04:23:11,336 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:23:11,339 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:23:11,341 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:23:11,343 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:23:11.342662
2024-01-05 04:23:11,344 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1241.777445s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:23:11,345 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:23:11.345206
2024-01-05 04:23:11,347 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89193.00262s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:23:11,349 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:23:11,352 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:23:11,354 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.06
2024-01-05 04:23:11,379 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424981.0168707, power=2365.45, imported=3360285.141723877, exported=0)
2024-01-05 04:23:11,380 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00287837, power1: 2365.45, power2: 2384.16
2024-01-05 04:23:11,382 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.83556
2024-01-05 04:23:11,384 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.83556 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704424991.3789907, power=2384.16, imported=3360291.977283371, exported=0)
2024-01-05 04:23:11,386 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:23:11,389 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:23:11,390 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3396.0, daily_exported=0, power=4289.52, imported=7210377.93, exported=0))
2024-01-05 04:23:11,392 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.04, 6.06, 6.0], daily_imported=3396.0, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210377.93, phases_in_use=3, plug_state=True, power=4289.52, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.72, 239.64, 239.85]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3623.0499999998137, imported_since_plugged=3623.0499999998137, range_charged=18.11524999999907, time_charged='4:11', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7e8430>), 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))
2024-01-05 04:23:11,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=[])
2024-01-05 04:23:11,395 - {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'])
2024-01-05 04:23:11,398 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2446.0, 2130.0, 2149.0], currents=[10.2, 8.9, 9.0], voltages=[239.38, 240.28, 239.25], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=8695.0, imported=7336898.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6725.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40564.520000000004, raw_currents_left=[58.8, 60.14, 60.06], surplus_power_left=0, state_str=''))
2024-01-05 04:23:11,400 - {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=2384.16, invalid_home_consumption=0, daily_yield_home_consumption=5115.4955881909, imported_home_consumption=3360291.977283371, disengageable_smarthome_power=0))
2024-01-05 04:23:11,401 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:23:11,403 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:23:11,404 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:23:11,405 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:23:11,410 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:23:11,411 - {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=20000, 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=66, soc_timestamp=1704424952.456516, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:23:11,414 - {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)
2024-01-05 04:23:11,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)
2024-01-05 04:23:11,417 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:23:11,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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:23:11,420 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:23:11,421 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:23:11,423 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x70b5eb50>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:23:11,424 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:23:11,426 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=51.32))
2024-01-05 04:23:11,427 - {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=8202091.902000001, power=51.32))
2024-01-05 04:23:11,429 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424981, 'time': '04:23:01', 'grid': 6.718, 'house-power': 2.365, 'charging-all': 4.299, 'pv-all': -0.054, 'cp1-power': 4.299, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:23:11,432 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:23:11,434 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:23:11,436 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:23:11,437 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:23:11,439 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:23:11,440 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:23:11,442 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:23:11,443 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:23:11,446 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:23:11,450 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:23:11,452 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.8, 54.14, 54.06]A verbleibende Ströme, 36424.520000000004W verbleibende Leistung
2024-01-05 04:23:11,453 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:23:11,457 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:23:11,460 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:23:11,461 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:23:11,464 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:23:11,468 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:23:11,471 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6675.479999999996W
2024-01-05 04:23:11,472 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6675.479999999996W
2024-01-05 04:23:11,477 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:23:11,478 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:23:11,480 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3634.769999999553 counter 7210377.93
2024-01-05 04:23:11,484 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:23:11,488 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:23:11,559 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:23:11,842 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:23:11,844 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:23:15,853 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:23:20,869 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:23:20,872 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:23:20,920 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:23:20,921 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:23:20,934 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:23:20,943 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:23:20,942 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:23:20,974 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6738, -2453, -2130, -2154], Scale 0
2024-01-05 04:23:20,988 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:23:20,994 - {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":240.6, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704424999},"temperature":{"tC":29.0, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:23","unixtime":1704425001,"uptime":3784363,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:23:20,999 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [102, 89, 90], Scale -1
2024-01-05 04:23:21,008 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704424990.5463622, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:23:21,009 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00290611, power1: 0, power2: 0
2024-01-05 04:23:21,010 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:23:21,011 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425001.008342, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:23:21,012 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:23:21,036 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23948, 24029, 23924, 0, 0, 0, 0], Scale -2
2024-01-05 04:23:21,082 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:23:21,114 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9959, 9900, 9959], Scale -2
2024-01-05 04:23:21,166 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336913, 3034866, 2160326, 2693666], Scale 0
2024-01-05 04:23:21,167 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.200000000000001, 8.9, 9.0], powers=[2453.0, 2130.0, 2154.0], voltages=[239.48000000000002, 240.29, 239.24], power_factors=[0.9959, 0.99, 0.9959], imported=7336913.0, exported=4871307.0, power=6738.0, frequency=50.0)
2024-01-05 04:23:21,169 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:23:21,184 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4664], Scale -2
2024-01-05 04:23:21,223 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:23:21,264 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 33, 34], Scale -2
2024-01-05 04:23:21,443 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4735], Scale -2
2024-01-05 04:23:21,444 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.33, 0.34], power=46.64, exported=7869605.0, dc_power=47.35)
2024-01-05 04:23:21,447 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:23:21,506 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704424991.0034752, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:23:21,506 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00291738, power1: 0, power2: 0
2024-01-05 04:23:21,507 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:23:21,507 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425001.5060265, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:23:21,510 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:23:21,517 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:23:21,527 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:23:21,568 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:23:21,569 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:23:21,571 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.64, exported=7904493.99, dc_power=None)
2024-01-05 04:23:21,572 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.64, exported=7904493.99, dc_power=None)
2024-01-05 04:23:21,573 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:23:21,576 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:23:21,579 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:23:21,644 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:23:21,644 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.200000000000001, 8.9, 9.0], powers=[2453.0, 2130.0, 2154.0], voltages=[239.48000000000002, 240.29, 239.24], power_factors=[0.9959, 0.99, 0.9959], imported=7336913.0, exported=4871307.0, power=6738.0, frequency=50.0)
2024-01-05 04:23:21,834 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:23:21,845 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:23:21,848 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.82, 60.15, 60.07]A
2024-01-05 04:23:21,850 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40561.47W
2024-01-05 04:23:21,851 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:23:21,855 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:23:21,856 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:23:21,858 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:23:21.857981
2024-01-05 04:23:21,860 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1252.292764s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:23:21,861 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:23:21.861462
2024-01-05 04:23:21,863 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89182.486364s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:23:21,863 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:23:21,892 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:23:21,893 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:23:21,904 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704424991.3789907, power=2384.16, imported=3360291.977283371, exported=0)
2024-01-05 04:23:21,907 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00292381, power1: 2384.16, power2: 2391.89
2024-01-05 04:23:21,908 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.98212
2024-01-05 04:23:21,908 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.98212 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425001.9046946, power=2391.8899999999994, imported=3360298.9594067247, exported=0)
2024-01-05 04:23:21,911 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:23:21,913 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:23:21,914 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3396.0, daily_exported=0, power=4299.47, imported=7210390.14, exported=0))
2024-01-05 04:23:21,916 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.05, 6.07, 6.02], daily_imported=3396.0, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210390.14, phases_in_use=3, plug_state=True, power=4299.47, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.64, 239.52, 239.74]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3634.769999999553, imported_since_plugged=3634.769999999553, range_charged=18.173849999997767, time_charged='4:11', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b50f40>), 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))
2024-01-05 04:23:21,917 - {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=[])
2024-01-05 04:23:21,919 - {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'])
2024-01-05 04:23:21,920 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2453.0, 2130.0, 2154.0], currents=[10.2, 8.9, 9.0], voltages=[239.48, 240.29, 239.24], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=8695.0, imported=7336913.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6738.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40561.47, raw_currents_left=[58.82, 60.15, 60.07], surplus_power_left=0, state_str=''))
2024-01-05 04:23:21,921 - {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=2391.8899999999994, invalid_home_consumption=0, daily_yield_home_consumption=5115.4955881909, imported_home_consumption=3360298.9594067247, disengageable_smarthome_power=0))
2024-01-05 04:23:21,923 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:23:21,924 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:23:21,926 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:23:21,928 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:23:21,929 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:23:21,931 - {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=20000, 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=66, soc_timestamp=1704424952.456516, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:23:21,932 - {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)
2024-01-05 04:23:21,934 - {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)
2024-01-05 04:23:21,935 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:23:21,939 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:23:21,942 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:23:21,943 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:23:21,946 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7f1508>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:23:21,947 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:23:21,949 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=46.64))
2024-01-05 04:23:21,951 - {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=8202091.902000001, power=46.64))
2024-01-05 04:23:21,953 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704424991, 'time': '04:23:11', 'grid': 6.725, 'house-power': 2.384, 'charging-all': 4.29, 'pv-all': -0.051, 'cp1-power': 4.29, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:23:21,955 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:23:21,956 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:23:21,959 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:23:21,960 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:23:21,962 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:23:21,963 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:23:21,964 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:23:21,965 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:23:21,967 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:23:21,968 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:23:21,969 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.82, 54.15, 54.07]A verbleibende Ströme, 36421.47W verbleibende Leistung
2024-01-05 04:23:21,971 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:23:21,974 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:23:21,976 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:23:21,978 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:23:21,980 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:23:21,982 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:23:21,984 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6678.529999999999W
2024-01-05 04:23:21,985 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6678.529999999999W
2024-01-05 04:23:21,986 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:23:21,987 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:23:21,989 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3646.9799999995157 counter 7210390.14
2024-01-05 04:23:21,991 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:23:21,996 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:23:22,027 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:23:22,419 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:23:22,420 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:23:25,427 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:23:25,428 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:23:30,439 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:23:30,441 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:23:30,497 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:23:30,500 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:23:30,510 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:23:30,512 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:23:30,513 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:23:30,545 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6728, -2450, -2128, -2149], Scale 0
2024-01-05 04:23:30,554 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:23:30,556 - {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":240.6, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425009},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:23","unixtime":1704425011,"uptime":3784373,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:23:30,561 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425001.008342, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:23:30,566 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00265371, power1: 0, power2: 0
2024-01-05 04:23:30,567 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:23:30,570 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425010.5616963, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:23:30,572 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:23:30,589 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [102, 89, 90], Scale -1
2024-01-05 04:23:30,653 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23953, 24033, 23931, 0, 0, 0, 0], Scale -2
2024-01-05 04:23:30,672 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:23:30,695 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9950, 9890, 10000], Scale -2
2024-01-05 04:23:30,775 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336943, 3034877, 2160335, 2693675], Scale 0
2024-01-05 04:23:30,776 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.200000000000001, 8.9, 9.0], powers=[2450.0, 2128.0, 2149.0], voltages=[239.53, 240.33, 239.31], power_factors=[0.995, 0.9890000000000001, 1.0], imported=7336943.0, exported=4871307.0, power=6728.0, frequency=50.0)
2024-01-05 04:23:30,781 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:23:30,803 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4656], Scale -2
2024-01-05 04:23:30,823 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:23:30,843 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 33, 33], Scale -2
2024-01-05 04:23:30,863 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4727], Scale -2
2024-01-05 04:23:30,863 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.33, 0.33], power=46.56, exported=7869605.0, dc_power=47.27)
2024-01-05 04:23:30,864 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:23:30,919 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425001.5060265, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:23:30,920 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00261483, power1: 0, power2: 0
2024-01-05 04:23:30,920 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:23:30,920 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425010.9194012, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:23:30,921 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:23:30,924 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:23:30,924 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:23:30,978 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:23:30,980 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:23:30,982 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.56, exported=7904493.99, dc_power=None)
2024-01-05 04:23:30,984 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.56, exported=7904493.99, dc_power=None)
2024-01-05 04:23:30,983 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:23:30,987 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:23:30,988 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:23:31,039 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:23:31,040 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.200000000000001, 8.9, 9.0], powers=[2450.0, 2128.0, 2149.0], voltages=[239.53, 240.33, 239.31], power_factors=[0.995, 0.9890000000000001, 1.0], imported=7336943.0, exported=4871307.0, power=6728.0, frequency=50.0)
2024-01-05 04:23:31,197 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:23:31,199 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:23:31,202 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.8, 60.14, 60.06]A
2024-01-05 04:23:31,203 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40561.5W
2024-01-05 04:23:31,204 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:23:31,206 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:23:31,206 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:23:31,208 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:23:31.208149
2024-01-05 04:23:31,210 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1261.642932s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:23:31,213 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:23:31.213217
2024-01-05 04:23:31,224 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89173.134609s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:23:31,225 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:23:31,236 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:23:31,238 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.06
2024-01-05 04:23:31,246 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425001.9046946, power=2391.8899999999994, imported=3360298.9594067247, exported=0)
2024-01-05 04:23:31,253 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00259493, power1: 2391.89, power2: 2391.94
2024-01-05 04:23:31,258 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.20684
2024-01-05 04:23:31,259 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.20684 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425011.2464263, power=2391.9399999999996, imported=3360305.166247943, exported=0)
2024-01-05 04:23:31,264 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:23:31,282 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:23:31,284 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3396.0, daily_exported=0, power=4289.5, imported=7210401.86, exported=0))
2024-01-05 04:23:31,288 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.04, 6.06, 6.0], daily_imported=3396.0, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210401.86, phases_in_use=3, plug_state=True, power=4289.5, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.67, 239.56, 239.8]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3646.9799999995157, imported_since_plugged=3646.9799999995157, range_charged=18.234899999997577, time_charged='4:11', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x701fb550>), 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))
2024-01-05 04:23:31,295 - {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=[])
2024-01-05 04:23: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'])
2024-01-05 04:23:31,300 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2450.0, 2128.0, 2149.0], currents=[10.2, 8.9, 9.0], voltages=[239.53, 240.33, 239.31], power_factors=[0.99, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=8695.0, imported=7336943.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6728.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40561.5, raw_currents_left=[58.8, 60.14, 60.06], surplus_power_left=0, state_str=''))
2024-01-05 04:23:31,303 - {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=2391.9399999999996, invalid_home_consumption=0, daily_yield_home_consumption=5115.4955881909, imported_home_consumption=3360305.166247943, disengageable_smarthome_power=0))
2024-01-05 04:23:31,305 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:23:31,309 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:23:31,312 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:23:31,313 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:23:31,316 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:23:31,318 - {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=20000, 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=66, soc_timestamp=1704425008.0573, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:23:31,320 - {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)
2024-01-05 04:23: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)
2024-01-05 04:23:31,321 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:23:31,322 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:23:31,325 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:23:31,327 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:23:31,329 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7f9a48>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:23:31,331 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:23:31,333 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=46.56))
2024-01-05 04:23:31,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=8202091.902000001, power=46.56))
2024-01-05 04:23:31,335 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425002, 'time': '04:23:22', 'grid': 6.738, 'house-power': 2.392, 'charging-all': 4.299, 'pv-all': -0.047, 'cp1-power': 4.299, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:23:31,336 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:23:31,340 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:23:31,342 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:23:31,342 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:23:31,346 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:23:31,347 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:23:31,348 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:23:31,349 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:23:31,350 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:23:31,356 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:23:31,358 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.8, 54.14, 54.06]A verbleibende Ströme, 36421.5W verbleibende Leistung
2024-01-05 04:23:31,358 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:23:31,362 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:23:31,364 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:23:31,367 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:23:31,373 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:23:31,375 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:23:31,376 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6678.5W
2024-01-05 04:23:31,377 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6678.5W
2024-01-05 04:23:31,379 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:23:31,380 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:23:31,381 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3658.7000000001863 counter 7210401.86
2024-01-05 04:23:31,384 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:23:31,387 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:23:31,427 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:23:31,645 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:23:35,684 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:23:35,685 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:23:40,696 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:23:40,697 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:23:40,741 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:23:40,742 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:23:40,743 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:23:40,749 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:23:40,756 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:23:40,784 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6732, -2451, -2129, -2151], Scale 0
2024-01-05 04:23:40,793 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:23:40,796 - {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":240.5, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425019},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:23","unixtime":1704425021,"uptime":3784383,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:23:40,798 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425010.5616963, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:23:40,799 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00284348, power1: 0, power2: 0
2024-01-05 04:23:40,799 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:23:40,800 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425020.798236, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:23:40,801 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:23:40,894 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [102, 89, 90], Scale -1
2024-01-05 04:23:40,936 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23933, 24021, 23913, 0, 0, 0, 0], Scale -2
2024-01-05 04:23:40,975 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:23:41,018 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9980, 9890, 10000], Scale -2
2024-01-05 04:23:41,115 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336958, 3034882, 2160340, 2693680], Scale 0
2024-01-05 04:23:41,116 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.200000000000001, 8.9, 9.0], powers=[2451.0, 2129.0, 2151.0], voltages=[239.33, 240.21, 239.13], power_factors=[0.998, 0.9890000000000001, 1.0], imported=7336958.0, exported=4871307.0, power=6732.0, frequency=49.99)
2024-01-05 04:23:41,127 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:23:41,164 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4798], Scale -2
2024-01-05 04:23:41,285 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:23:41,303 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 33], Scale -2
2024-01-05 04:23:41,327 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4871], Scale -2
2024-01-05 04:23:41,328 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.33], power=47.980000000000004, exported=7869605.0, dc_power=48.71)
2024-01-05 04:23:41,333 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:23:41,403 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425010.9194012, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:23:41,404 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00291228, power1: 0, power2: 0
2024-01-05 04:23:41,405 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:23:41,405 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425021.4036155, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:23:41,408 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:23:41,424 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:23:41,426 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:23:41,475 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:23:41,476 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:23:41,477 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:23:41,479 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.980000000000004, exported=7904493.99, dc_power=None)
2024-01-05 04:23:41,500 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:23:41,511 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.980000000000004, exported=7904493.99, dc_power=None)
2024-01-05 04:23:41,513 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:23:41,576 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:23:41,578 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.200000000000001, 8.9, 9.0], powers=[2451.0, 2129.0, 2151.0], voltages=[239.33, 240.21, 239.13], power_factors=[0.998, 0.9890000000000001, 1.0], imported=7336958.0, exported=4871307.0, power=6732.0, frequency=49.99)
2024-01-05 04:23:41,816 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:23:41,818 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:23:41,822 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.82, 60.15, 60.07]A
2024-01-05 04:23:41,823 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40568.72W
2024-01-05 04:23:41,828 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:23:41,831 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:23:41,832 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:23:41,834 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:23:41.834105
2024-01-05 04:23:41,840 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1272.268888s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:23:41,843 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:23:41.843200
2024-01-05 04:23:41,846 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89162.504626s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:23:41,850 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:23:41,859 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:23:41,860 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:23:41,891 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425011.2464263, power=2391.9399999999996, imported=3360305.166247943, exported=0)
2024-01-05 04:23:41,893 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00295685, power1: 2391.94, power2: 2383.3
2024-01-05 04:23:41,895 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.05982
2024-01-05 04:23:41,899 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.05982 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425021.891069, power=2383.3, imported=3360312.226070594, exported=0)
2024-01-05 04:23:41,903 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:23:41,905 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:23:41,906 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3396.0, daily_exported=0, power=4300.72, imported=7210414.06, exported=0))
2024-01-05 04:23:41,908 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.05, 6.07, 6.02], daily_imported=3396.0, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210414.06, phases_in_use=3, plug_state=True, power=4300.72, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.58, 239.57, 239.7]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3658.7000000001863, imported_since_plugged=3658.7000000001863, range_charged=18.293500000000932, time_charged='4:11', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7445f8>), 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))
2024-01-05 04:23:41,909 - {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=[])
2024-01-05 04:23:41,910 - {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'])
2024-01-05 04:23:41,911 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2451.0, 2129.0, 2151.0], currents=[10.2, 8.9, 9.0], voltages=[239.33, 240.21, 239.13], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=8695.0, imported=7336958.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6732.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40568.72, raw_currents_left=[58.82, 60.15, 60.07], surplus_power_left=0, state_str=''))
2024-01-05 04:23:41,912 - {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=2383.3, invalid_home_consumption=0, daily_yield_home_consumption=5115.4955881909, imported_home_consumption=3360312.226070594, disengageable_smarthome_power=0))
2024-01-05 04:23:41,913 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:23:41,916 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:23:41,917 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:23:41,921 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:23:41,922 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:23:41,923 - {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=20000, 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=66, soc_timestamp=1704425008.0573, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:23:41,924 - {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)
2024-01-05 04:23:41,925 - {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)
2024-01-05 04:23:41,926 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:23:41,927 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:23:41,928 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:23:41,931 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:23:41,936 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x701f1040>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:23:41,937 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:23:41,941 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=47.98))
2024-01-05 04:23:41,941 - {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=8202091.902000001, power=47.98))
2024-01-05 04:23:41,943 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425011, 'time': '04:23:31', 'grid': 6.728, 'house-power': 2.392, 'charging-all': 4.29, 'pv-all': -0.047, 'cp1-power': 4.29, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:23:41,946 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:23:41,947 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:23:41,948 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:23:41,948 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:23:41,950 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:23:41,951 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:23:41,952 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:23:41,953 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:23:41,954 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:23:41,957 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:23:41,959 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.82, 54.15, 54.07]A verbleibende Ströme, 36428.72W verbleibende Leistung
2024-01-05 04:23:41,960 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:23:41,963 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:23:41,965 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:23:41,966 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:23:41,972 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:23:41,975 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:23:41,978 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6671.279999999999W
2024-01-05 04:23:41,979 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6671.279999999999W
2024-01-05 04:23:41,980 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:23:41,981 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:23:41,984 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3670.899999999441 counter 7210414.06
2024-01-05 04:23:41,988 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:23:41,994 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:23:42,022 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:23:42,350 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:23:42,364 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:23:45,381 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:23:45,382 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:23:50,396 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:23:50,397 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:23:50,480 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:23:50,483 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:23:50,493 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:23:50,498 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:23:50,501 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:23:50,560 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6747, -2454, -2138, -2154], Scale 0
2024-01-05 04:23:50,565 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:23:50,573 - {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":240.3, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425029},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:23","unixtime":1704425031,"uptime":3784393,"ram_size":248988,"ram_free":144976,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:23:50,586 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [102, 89, 90], Scale -1
2024-01-05 04:23:50,592 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425020.798236, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:23:50,602 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00272066, power1: 0, power2: 0
2024-01-05 04:23:50,604 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:23:50,617 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23947, 24023, 23913, 0, 0, 0, 0], Scale -2
2024-01-05 04:23:50,619 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425030.592626, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:23:50,629 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:23:50,705 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:23:50,749 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9969, 9909, 9990], Scale -2
2024-01-05 04:23:50,788 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336973, 3034888, 2160344, 2693685], Scale 0
2024-01-05 04:23:50,789 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.200000000000001, 8.9, 9.0], powers=[2454.0, 2138.0, 2154.0], voltages=[239.47, 240.23000000000002, 239.13], power_factors=[0.9969, 0.9909, 0.9990000000000001], imported=7336973.0, exported=4871307.0, power=6747.0, frequency=49.99)
2024-01-05 04:23:50,790 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:23:50,814 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5070], Scale -2
2024-01-05 04:23:50,836 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:23:50,866 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [32, 33, 33], Scale -2
2024-01-05 04:23:50,935 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5147], Scale -2
2024-01-05 04:23:50,936 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.32, 0.33, 0.33], power=50.7, exported=7869605.0, dc_power=51.47)
2024-01-05 04:23:50,937 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:23:50,972 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425021.4036155, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:23:50,973 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00265808, power1: 0, power2: 0
2024-01-05 04:23:50,973 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:23:50,974 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425030.9726932, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:23:50,975 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:23:50,980 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:23:50,981 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:23:51,028 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:23:51,030 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:23:51,032 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:23:51,034 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:23:51,033 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=50.7, exported=7904493.99, dc_power=None)
2024-01-05 04:23:51,036 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:23:51,045 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=50.7, exported=7904493.99, dc_power=None)
2024-01-05 04:23:51,100 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:23:51,101 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.200000000000001, 8.9, 9.0], powers=[2454.0, 2138.0, 2154.0], voltages=[239.47, 240.23000000000002, 239.13], power_factors=[0.9969, 0.9909, 0.9990000000000001], imported=7336973.0, exported=4871307.0, power=6747.0, frequency=49.99)
2024-01-05 04:23:51,252 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:23:51,254 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:23:51,256 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.81, 60.14, 60.07]A
2024-01-05 04:23:51,257 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40542.49W
2024-01-05 04:23:51,258 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:23:51,261 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:23:51,262 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:23:51,263 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:23:51.263389
2024-01-05 04:23:51,264 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1281.698172s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:23:51,267 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:23:51.266784
2024-01-05 04:23:51,268 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89153.081042s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:23:51,269 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:23:51,276 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:23:51,277 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:23:51,285 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425021.891069, power=2383.3, imported=3360312.226070594, exported=0)
2024-01-05 04:23:51,289 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00260947, power1: 2383.3, power2: 2406.81
2024-01-05 04:23:51,291 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.24982
2024-01-05 04:23:51,292 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.24982 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425031.2851605, power=2406.8100000000004, imported=3360318.475894503, exported=0)
2024-01-05 04:23:51,297 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:23:51,298 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:23:51,299 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3396.0, daily_exported=0, power=4289.49, imported=7210425.78, exported=0))
2024-01-05 04:23:51,302 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.04, 6.07, 6.01], daily_imported=3396.0, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210425.78, phases_in_use=3, plug_state=True, power=4289.49, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.35, 239.12, 239.47]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3670.899999999441, imported_since_plugged=3670.899999999441, range_charged=18.354499999997206, time_charged='4:12', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b3bb20>), 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))
2024-01-05 04:23: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=[])
2024-01-05 04:23: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'])
2024-01-05 04:23:51,307 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2454.0, 2138.0, 2154.0], currents=[10.2, 8.9, 9.0], voltages=[239.47, 240.23, 239.13], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=8695.0, imported=7336973.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6747.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40542.49, raw_currents_left=[58.81, 60.14, 60.07], surplus_power_left=0, state_str=''))
2024-01-05 04:23: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=2406.8100000000004, invalid_home_consumption=0, daily_yield_home_consumption=5115.4955881909, imported_home_consumption=3360318.475894503, disengageable_smarthome_power=0))
2024-01-05 04:23:51,312 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:23:51,313 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:23:51,317 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:23:51,318 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:23:51,320 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:23:51,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=20000, 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=66, soc_timestamp=1704425008.0573, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:23:51,325 - {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)
2024-01-05 04:23:51,326 - {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)
2024-01-05 04:23:51,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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:23: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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:23:51,331 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:23:51,332 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:23:51,333 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x701fb3d0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:23:51,333 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:23:51,334 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=50.7))
2024-01-05 04:23:51,336 - {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=8202091.902000001, power=50.7))
2024-01-05 04:23:51,338 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425022, 'time': '04:23:42', 'grid': 6.732, 'house-power': 2.383, 'charging-all': 4.301, 'pv-all': -0.048, 'cp1-power': 4.301, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:23:51,339 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:23:51,345 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:23:51,346 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:23:51,347 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:23:51,351 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:23:51,352 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:23:51,353 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:23:51,354 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:23:51,360 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:23:51,363 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:23:51,368 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.81, 54.14, 54.07]A verbleibende Ströme, 36402.49W verbleibende Leistung
2024-01-05 04:23:51,370 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:23:51,374 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:23:51,378 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:23:51,380 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:23:51,385 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:23:51,388 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:23:51,390 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6697.510000000002W
2024-01-05 04:23:51,391 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6697.510000000002W
2024-01-05 04:23:51,394 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:23:51,395 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:23:51,398 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3682.6200000001118 counter 7210425.78
2024-01-05 04:23:51,403 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:23:51,408 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:23:51,435 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:23:51,704 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:23:55,722 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:23:55,724 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:24:00,737 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:24:00,739 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:24:00,795 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:24:00,796 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:24:00,813 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:24:00,820 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:24:00,821 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:24:00,848 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6738, -2452, -2134, -2151], Scale 0
2024-01-05 04:24:00,875 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:24:00,881 - {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":240.4, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425039},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:24","unixtime":1704425041,"uptime":3784403,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:24:00,883 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [103, 89, 90], Scale -1
2024-01-05 04:24:00,885 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425030.592626, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:24:00,886 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00285915, power1: 0, power2: 0
2024-01-05 04:24:00,887 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:24:00,888 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425040.8855782, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:24:00,891 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:24:01,005 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23911, 23995, 23877, 0, 0, 0, 0], Scale -2
2024-01-05 04:24:01,034 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:24:01,064 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9900, 9990], Scale -2
2024-01-05 04:24:01,086 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7336988, 3034893, 2160349, 2693690], Scale 0
2024-01-05 04:24:01,086 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.3, 8.9, 9.0], powers=[2452.0, 2134.0, 2151.0], voltages=[239.11, 239.95000000000002, 238.77], power_factors=[0.9929000000000001, 0.99, 0.9990000000000001], imported=7336988.0, exported=4871307.0, power=6738.0, frequency=49.97)
2024-01-05 04:24:01,088 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:24:01,126 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4934], Scale -2
2024-01-05 04:24:01,166 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:24:01,245 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [34, 34, 37], Scale -2
2024-01-05 04:24:01,262 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5268], Scale -2
2024-01-05 04:24:01,263 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.34, 0.34, 0.37], power=49.34, exported=7869605.0, dc_power=52.68)
2024-01-05 04:24:01,264 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:24:01,396 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425030.9726932, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:24:01,396 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00289539, power1: 0, power2: 0
2024-01-05 04:24:01,397 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:24:01,397 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425041.396084, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:24:01,398 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:24:01,402 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:24:01,403 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:24:01,459 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:24:01,460 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:24:01,462 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=49.34, exported=7904493.99, dc_power=None)
2024-01-05 04:24:01,464 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=49.34, exported=7904493.99, dc_power=None)
2024-01-05 04:24:01,466 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:24:01,468 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:24:01,470 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:24:01,541 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:24:01,542 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.3, 8.9, 9.0], powers=[2452.0, 2134.0, 2151.0], voltages=[239.11, 239.95000000000002, 238.77], power_factors=[0.9929000000000001, 0.99, 0.9990000000000001], imported=7336988.0, exported=4871307.0, power=6738.0, frequency=49.97)
2024-01-05 04:24:01,737 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:24:01,739 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:24:01,741 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.73, 60.16, 60.08]A
2024-01-05 04:24:01,741 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40562.95W
2024-01-05 04:24:01,743 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:24:01,745 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:24:01,748 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:24:01,750 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:24:01.749631
2024-01-05 04:24:01,751 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1292.184414s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:24:01,752 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:24:01.751919
2024-01-05 04:24:01,754 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89142.595907s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:24:01,756 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:24:01,759 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:24:01,761 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:24:01,772 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425031.2851605, power=2406.8100000000004, imported=3360318.475894503, exported=0)
2024-01-05 04:24:01,783 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00291307, power1: 2406.81, power2: 2387.71
2024-01-05 04:24:01,796 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.98339
2024-01-05 04:24:01,798 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.98339 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425041.7722168, power=2387.71, imported=3360325.4592835247, exported=0)
2024-01-05 04:24:01,811 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:24:01,813 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:24:01,815 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3396.0, daily_exported=0, power=4300.95, imported=7210437.99, exported=0))
2024-01-05 04:24:01,817 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.06, 6.08, 6.03], daily_imported=3396.0, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210437.99, phases_in_use=3, plug_state=True, power=4300.95, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.38, 239.27, 239.54]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3682.6200000001118, imported_since_plugged=3682.6200000001118, range_charged=18.41310000000056, time_charged='4:12', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7f0fe8>), 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))
2024-01-05 04:24:01,819 - {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=[])
2024-01-05 04:24:01,822 - {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'])
2024-01-05 04:24:01,823 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2452.0, 2134.0, 2151.0], currents=[10.3, 8.9, 9.0], voltages=[239.11, 239.95, 238.77], power_factors=[0.99, 0.99, 1.0], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=8695.0, imported=7336988.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6738.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40562.95, raw_currents_left=[58.73, 60.16, 60.08], surplus_power_left=0, state_str=''))
2024-01-05 04:24:01,825 - {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=2387.71, invalid_home_consumption=0, daily_yield_home_consumption=5115.4955881909, imported_home_consumption=3360325.4592835247, disengageable_smarthome_power=0))
2024-01-05 04:24:01,826 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:24:01,827 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:24:01,829 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:24:01,830 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:24:01,833 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:24:01,835 - {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=20000, 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=66, soc_timestamp=1704425008.0573, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:24:01,836 - {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)
2024-01-05 04:24:01,837 - {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)
2024-01-05 04:24:01,838 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:24:01,841 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:24:01,844 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:24:01,857 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:24:01,862 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7f7580>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:24:01,863 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:24:01,865 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=49.34))
2024-01-05 04:24:01,866 - {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=8202091.902000001, power=49.34))
2024-01-05 04:24:01,871 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425031, 'time': '04:23:51', 'grid': 6.747, 'house-power': 2.407, 'charging-all': 4.289, 'pv-all': -0.051, 'cp1-power': 4.289, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:24:01,878 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:24:01,879 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:24:01,881 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:24:01,882 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:24:01,882 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:24:01,882 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:24:01,883 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:24:01,883 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:24:01,884 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:24:01,885 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:24:01,886 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.73, 54.16, 54.08]A verbleibende Ströme, 36422.95W verbleibende Leistung
2024-01-05 04:24:01,887 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:24:01,894 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:24:01,895 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:24:01,908 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:24:01,913 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:24:01,921 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:24:01,922 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6677.050000000003W
2024-01-05 04:24:01,923 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6677.050000000003W
2024-01-05 04:24:01,924 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:24:01,925 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:24:01,931 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3694.8300000000745 counter 7210437.99
2024-01-05 04:24:01,944 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:24:01,951 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:24:01,994 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:24:02,286 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:24:02,295 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:24:05,309 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:24:05,310 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:24:10,322 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:24:10,323 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:24:10,398 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:24:10,400 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:24:10,402 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:24:10,410 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:24:10,412 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:24:10,452 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6733, -2450, -2135, -2148], Scale 0
2024-01-05 04:24:10,456 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:24:10,458 - {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":240.5, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425049},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:24","unixtime":1704425050,"uptime":3784413,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:24:10,464 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425040.8855782, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:24:10,466 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00266069, power1: 0, power2: 0
2024-01-05 04:24:10,471 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:24:10,473 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425050.4640732, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:24:10,476 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:24:10,479 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [103, 89, 90], Scale -1
2024-01-05 04:24:10,553 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23922, 24011, 23890, 0, 0, 0, 0], Scale -2
2024-01-05 04:24:10,572 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:24:10,595 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9950, 9890, 10000], Scale -2
2024-01-05 04:24:10,698 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337018, 3034904, 2160359, 2693699], Scale 0
2024-01-05 04:24:10,700 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.3, 8.9, 9.0], powers=[2450.0, 2135.0, 2148.0], voltages=[239.22, 240.11, 238.9], power_factors=[0.995, 0.9890000000000001, 1.0], imported=7337018.0, exported=4871307.0, power=6733.0, frequency=49.99)
2024-01-05 04:24:10,702 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:24:10,733 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5043], Scale -2
2024-01-05 04:24:10,757 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:24:10,774 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [32, 34, 35], Scale -2
2024-01-05 04:24:10,796 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5120], Scale -2
2024-01-05 04:24:10,797 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.32, 0.34, 0.35000000000000003], power=50.43, exported=7869605.0, dc_power=51.2)
2024-01-05 04:24:10,800 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:24:10,913 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425041.396084, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:24:10,914 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00264383, power1: 0, power2: 0
2024-01-05 04:24:10,914 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:24:10,915 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425050.9138663, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:24:10,916 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:24:10,919 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:24:10,920 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:24:10,974 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:24:10,975 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:24:10,977 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=50.43, exported=7904493.99, dc_power=None)
2024-01-05 04:24:10,979 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=50.43, exported=7904493.99, dc_power=None)
2024-01-05 04:24:10,980 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:24:10,985 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:24:10,986 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:24:11,045 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:24:11,045 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.3, 8.9, 9.0], powers=[2450.0, 2135.0, 2148.0], voltages=[239.22, 240.11, 238.9], power_factors=[0.995, 0.9890000000000001, 1.0], imported=7337018.0, exported=4871307.0, power=6733.0, frequency=49.99)
2024-01-05 04:24:11,206 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:24:11,208 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:24:11,210 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.71, 60.14, 60.07]A
2024-01-05 04:24:11,212 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40557.26W
2024-01-05 04:24:11,213 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:24:11,216 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:24:11,220 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:24:11,222 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:24:11.221601
2024-01-05 04:24:11,222 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1301.656384s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:24:11,223 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:24:11.223324
2024-01-05 04:24:11,224 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89133.124502s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:24:11,224 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:24:11,227 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:24:11,228 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:24:11,252 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425041.7722168, power=2387.71, imported=3360325.4592835247, exported=0)
2024-01-05 04:24:11,253 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00263337, power1: 2387.71, power2: 2392.31
2024-01-05 04:24:11,256 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.29377
2024-01-05 04:24:11,257 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.29377 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425051.2523322, power=2392.3099999999995, imported=3360331.753053147, exported=0)
2024-01-05 04:24:11,264 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:24:11,265 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:24:11,266 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3396.0, daily_exported=0, power=4290.26, imported=7210450.2, exported=0))
2024-01-05 04:24:11,267 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.04, 6.07, 6.01], daily_imported=3396.0, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210450.2, phases_in_use=3, plug_state=True, power=4290.26, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.46, 239.2, 239.63]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3694.8300000000745, imported_since_plugged=3694.8300000000745, range_charged=18.47415000000037, time_charged='4:12', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b936d0>), 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))
2024-01-05 04:24:11,269 - {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=[])
2024-01-05 04:24:11,270 - {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'])
2024-01-05 04:24:11,271 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2450.0, 2135.0, 2148.0], currents=[10.3, 8.9, 9.0], voltages=[239.22, 240.11, 238.9], power_factors=[0.99, 0.99, 1.0], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=8695.0, imported=7337018.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6733.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40557.26, raw_currents_left=[58.71, 60.14, 60.07], surplus_power_left=0, state_str=''))
2024-01-05 04:24:11,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=2392.3099999999995, invalid_home_consumption=0, daily_yield_home_consumption=5115.4955881909, imported_home_consumption=3360331.753053147, disengageable_smarthome_power=0))
2024-01-05 04:24:11,274 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:24:11,275 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:24:11,277 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:24:11,277 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:24:11,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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:24:11,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=20000, 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=66, soc_timestamp=1704425008.0573, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:24:11,281 - {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)
2024-01-05 04:24:11,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)
2024-01-05 04:24:11,282 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:24:11,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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:24:11,284 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:24:11,285 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:24:11,286 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7d4568>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:24:11,286 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:24:11,287 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=50.43))
2024-01-05 04:24:11,287 - {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=8202091.902000001, power=50.43))
2024-01-05 04:24:11,288 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425041, 'time': '04:24:01', 'grid': 6.738, 'house-power': 2.388, 'charging-all': 4.301, 'pv-all': -0.049, 'cp1-power': 4.301, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:24:11,288 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:24:11,288 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:24:11,289 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:24:11,289 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:24:11,290 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:24:11,290 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:24:11,291 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:24:11,292 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:24:11,294 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:24:11,296 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:24:11,300 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.71, 54.14, 54.07]A verbleibende Ströme, 36417.26W verbleibende Leistung
2024-01-05 04:24:11,301 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:24:11,304 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:24:11,306 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:24:11,306 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:24:11,307 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:24:11,310 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:24:11,311 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6682.739999999998W
2024-01-05 04:24:11,316 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6682.739999999998W
2024-01-05 04:24:11,318 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:24:11,319 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:24:11,325 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3707.0400000000373 counter 7210450.2
2024-01-05 04:24:11,328 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:24:11,341 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:24:11,372 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:24:11,641 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:24:15,662 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:24:15,663 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:24:20,676 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:24:20,677 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:24:20,747 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:24:20,754 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:24:20,766 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:24:20,769 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:24:20,770 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:24:20,805 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6735, -2449, -2131, -2153], Scale 0
2024-01-05 04:24:20,812 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:24:20,815 - {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":240.7, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425059},"temperature":{"tC":29.0, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:24","unixtime":1704425061,"uptime":3784423,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:24:20,818 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425050.4640732, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:24:20,819 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00287614, power1: 0, power2: 0
2024-01-05 04:24:20,820 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:24:20,824 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [102, 89, 90], Scale -1
2024-01-05 04:24:20,825 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425060.8181832, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:24:20,829 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:24:20,985 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23950, 24037, 23915, 0, 0, 0, 0], Scale -2
2024-01-05 04:24:21,004 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:24:21,046 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9959, 9890, 9969], Scale -2
2024-01-05 04:24:21,074 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337033, 3034910, 2160363, 2693704], Scale 0
2024-01-05 04:24:21,075 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.200000000000001, 8.9, 9.0], powers=[2449.0, 2131.0, 2153.0], voltages=[239.5, 240.37, 239.15], power_factors=[0.9959, 0.9890000000000001, 0.9969], imported=7337033.0, exported=4871307.0, power=6735.0, frequency=50.0)
2024-01-05 04:24:21,080 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:24:21,093 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4692], Scale -2
2024-01-05 04:24:21,113 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:24:21,154 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 33], Scale -2
2024-01-05 04:24:21,185 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4763], Scale -2
2024-01-05 04:24:21,185 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.33], power=46.92, exported=7869605.0, dc_power=47.63)
2024-01-05 04:24:21,190 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:24:21,295 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425050.9138663, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:24:21,296 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00288376, power1: 0, power2: 0
2024-01-05 04:24:21,296 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:24:21,297 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425061.2954187, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:24:21,298 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:24:21,316 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:24:21,317 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:24:21,354 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:24:21,363 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:24:21,365 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.92, exported=7904493.99, dc_power=None)
2024-01-05 04:24:21,366 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:24:21,371 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.92, exported=7904493.99, dc_power=None)
2024-01-05 04:24:21,372 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:24:21,374 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:24:21,434 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:24:21,435 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.200000000000001, 8.9, 9.0], powers=[2449.0, 2131.0, 2153.0], voltages=[239.5, 240.37, 239.15], power_factors=[0.9959, 0.9890000000000001, 0.9969], imported=7337033.0, exported=4871307.0, power=6735.0, frequency=50.0)
2024-01-05 04:24:21,625 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:24:21,627 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:24:21,630 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.82, 60.15, 60.07]A
2024-01-05 04:24:21,632 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40565.36W
2024-01-05 04:24:21,633 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:24:21,637 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:24:21,638 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:24:21,640 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:24:21.640022
2024-01-05 04:24:21,641 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1312.074805s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:24:21,643 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:24:21.642579
2024-01-05 04:24:21,643 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89122.705247s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:24:21,645 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:24:21,648 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:24:21,649 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:24:21,688 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425051.2523322, power=2392.3099999999995, imported=3360331.753053147, exported=0)
2024-01-05 04:24:21,690 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0028989, power1: 2392.31, power2: 2387.72
2024-01-05 04:24:21,693 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.92841
2024-01-05 04:24:21,695 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.92841 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425061.688364, power=2387.7200000000003, imported=3360338.6814621985, exported=0)
2024-01-05 04:24:21,697 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:24:21,699 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:24:21,701 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3396.0, daily_exported=0, power=4300.36, imported=7210461.91, exported=0))
2024-01-05 04:24:21,702 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.05, 6.07, 6.02], daily_imported=3396.0, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210461.91, phases_in_use=3, plug_state=True, power=4300.36, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.77, 239.51, 239.82]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3707.0400000000373, imported_since_plugged=3707.0400000000373, range_charged=18.535200000000188, time_charged='4:12', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b27af0>), 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))
2024-01-05 04:24:21,703 - {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=[])
2024-01-05 04:24:21,704 - {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'])
2024-01-05 04:24:21,706 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2449.0, 2131.0, 2153.0], currents=[10.2, 8.9, 9.0], voltages=[239.5, 240.37, 239.15], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=8695.0, imported=7337033.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6735.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40565.36, raw_currents_left=[58.82, 60.15, 60.07], surplus_power_left=0, state_str=''))
2024-01-05 04:24:21,707 - {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=2387.7200000000003, invalid_home_consumption=0, daily_yield_home_consumption=5115.4955881909, imported_home_consumption=3360338.6814621985, disengageable_smarthome_power=0))
2024-01-05 04:24:21,708 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:24:21,710 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:24:21,712 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:24:21,714 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:24:21,715 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:24:21,718 - {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=20000, 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=66, soc_timestamp=1704425008.0573, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:24:21,719 - {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)
2024-01-05 04:24:21,720 - {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)
2024-01-05 04:24:21,721 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:24:21,723 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:24:21,724 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:24:21,725 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:24:21,726 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7f7cd0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:24:21,728 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:24:21,729 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=46.92))
2024-01-05 04:24:21,731 - {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=8202091.902000001, power=46.92))
2024-01-05 04:24:21,736 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425051, 'time': '04:24:11', 'grid': 6.733, 'house-power': 2.392, 'charging-all': 4.29, 'pv-all': -0.05, 'cp1-power': 4.29, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:24:21,737 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:24:21,740 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:24:21,741 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:24:21,741 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:24:21,743 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:24:21,744 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:24:21,746 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:24:21,748 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:24:21,750 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:24:21,751 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:24:21,753 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.82, 54.15, 54.07]A verbleibende Ströme, 36425.36W verbleibende Leistung
2024-01-05 04:24:21,754 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:24:21,757 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:24:21,759 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:24:21,761 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:24:21,763 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:24:21,765 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:24:21,766 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6674.639999999999W
2024-01-05 04:24:21,768 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6674.639999999999W
2024-01-05 04:24:21,769 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:24:21,770 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:24:21,773 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3718.75 counter 7210461.91
2024-01-05 04:24:21,777 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:24:21,779 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:24:21,818 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:24:22,135 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:24:22,145 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:24:25,153 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:24:25,154 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:24:30,166 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:24:30,167 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:24:30,250 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:24:30,252 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:24:30,253 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:24:30,263 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:24:30,266 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:24:30,293 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6736, -2451, -2133, -2151], Scale 0
2024-01-05 04:24:30,323 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:24:30,325 - {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":240.7, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425069},"temperature":{"tC":29.1, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:24","unixtime":1704425070,"uptime":3784432,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:24:30,327 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425060.8181832, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:24:30,329 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0026415, power1: 0, power2: 0
2024-01-05 04:24:30,330 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:24:30,330 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425070.3275914, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:24:30,331 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:24:30,345 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [102, 89, 90], Scale -1
2024-01-05 04:24:30,402 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23948, 24036, 23910, 0, 0, 0, 0], Scale -2
2024-01-05 04:24:30,425 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:24:30,624 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9969, 9879, 9990], Scale -2
2024-01-05 04:24:30,665 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337048, 3034915, 2160368, 2693709], Scale 0
2024-01-05 04:24:30,666 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.200000000000001, 8.9, 9.0], powers=[2451.0, 2133.0, 2151.0], voltages=[239.48000000000002, 240.36, 239.1], power_factors=[0.9969, 0.9879000000000001, 0.9990000000000001], imported=7337048.0, exported=4871307.0, power=6736.0, frequency=50.0)
2024-01-05 04:24:30,680 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:24:30,736 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4113], Scale -2
2024-01-05 04:24:30,782 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:24:30,802 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 33], Scale -2
2024-01-05 04:24:30,823 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4175], Scale -2
2024-01-05 04:24:30,823 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.33], power=41.13, exported=7869605.0, dc_power=41.75)
2024-01-05 04:24:30,824 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:24:30,973 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425061.2954187, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:24:30,974 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00268833, power1: 0, power2: 0
2024-01-05 04:24:30,974 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:24:30,974 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425070.9734159, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:24:30,976 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:24:30,989 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:24:30,991 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:24:31,059 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:24:31,061 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:24:31,062 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=41.13, exported=7904493.99, dc_power=None)
2024-01-05 04:24:31,064 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=41.13, exported=7904493.99, dc_power=None)
2024-01-05 04:24:31,066 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:24:31,072 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:24:31,079 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:24:31,150 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:24:31,152 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.200000000000001, 8.9, 9.0], powers=[2451.0, 2133.0, 2151.0], voltages=[239.48000000000002, 240.36, 239.1], power_factors=[0.9969, 0.9879000000000001, 0.9990000000000001], imported=7337048.0, exported=4871307.0, power=6736.0, frequency=50.0)
2024-01-05 04:24:31,313 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:24:31,314 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:24:31,327 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.81, 60.14, 60.06]A
2024-01-05 04:24:31,328 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40553.89W
2024-01-05 04:24:31,329 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:24:31,331 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:24:31,333 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:24:31,335 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:24:31.334584
2024-01-05 04:24:31,336 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1321.769367s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:24:31,339 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:24:31.338693
2024-01-05 04:24:31,340 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89113.009133s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:24:31,343 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:24:31,348 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:24:31,350 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.06
2024-01-05 04:24:31,354 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425061.688364, power=2387.7200000000003, imported=3360338.6814621985, exported=0)
2024-01-05 04:24:31,359 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0026851, power1: 2387.72, power2: 2404.98
2024-01-05 04:24:31,361 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.43444
2024-01-05 04:24:31,361 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.43444 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425071.3547323, power=2404.9799999999996, imported=3360345.1159070726, exported=0)
2024-01-05 04:24:31,377 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:24:31,378 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:24:31,379 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3396.0, daily_exported=0, power=4289.89, imported=7210474.12, exported=0))
2024-01-05 04:24:31,384 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.04, 6.06, 6.01], daily_imported=3396.0, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210474.12, phases_in_use=3, plug_state=True, power=4289.89, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.71, 239.51, 239.76]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3718.75, imported_since_plugged=3718.75, range_charged=18.59375, time_charged='4:12', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7f7388>), 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))
2024-01-05 04:24:31,385 - {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=[])
2024-01-05 04:24:31,387 - {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'])
2024-01-05 04:24:31,390 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2451.0, 2133.0, 2151.0], currents=[10.2, 8.9, 9.0], voltages=[239.48, 240.36, 239.1], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=8695.0, imported=7337048.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6736.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40553.89, raw_currents_left=[58.81, 60.14, 60.06], surplus_power_left=0, state_str=''))
2024-01-05 04:24:31,391 - {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=2404.9799999999996, invalid_home_consumption=0, daily_yield_home_consumption=5115.4955881909, imported_home_consumption=3360345.1159070726, disengageable_smarthome_power=0))
2024-01-05 04:24:31,394 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:24:31,398 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:24:31,406 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:24:31,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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:24:31,409 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:24:31,411 - {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=20000, 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=66, soc_timestamp=1704425067.266912, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:24:31,412 - {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)
2024-01-05 04:24:31,415 - {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)
2024-01-05 04:24:31,417 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:24:31,418 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:24:31,419 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:24:31,420 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:24:31,421 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x70b5e610>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:24:31,422 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:24:31,424 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=41.13))
2024-01-05 04:24:31,425 - {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=8202091.902000001, power=41.13))
2024-01-05 04:24:31,426 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425061, 'time': '04:24:21', 'grid': 6.735, 'house-power': 2.388, 'charging-all': 4.3, 'pv-all': -0.047, 'cp1-power': 4.3, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:24:31,426 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:24:31,428 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:24:31,430 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:24:31,431 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:24:31,432 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:24:31,433 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:24:31,434 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:24:31,436 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:24:31,442 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:24:31,444 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:24:31,445 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.81, 54.14, 54.06]A verbleibende Ströme, 36413.89W verbleibende Leistung
2024-01-05 04:24:31,446 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:24:31,450 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:24:31,451 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:24:31,453 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:24:31,455 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:24:31,458 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:24:31,459 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6686.110000000001W
2024-01-05 04:24:31,464 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6686.110000000001W
2024-01-05 04:24:31,466 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:24:31,467 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:24:31,469 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3730.9599999999627 counter 7210474.12
2024-01-05 04:24:31,472 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:24:31,474 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:24:31,509 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:24:31,730 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:24:35,761 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:24:35,762 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:24:40,774 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:24:40,776 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:24:40,847 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:24:40,854 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:24:40,858 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:24:40,858 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:24:40,871 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:24:40,917 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6717, -2443, -2127, -2146], Scale 0
2024-01-05 04:24:40,939 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:24:40,941 - {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":240.8, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425079},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:24","unixtime":1704425081,"uptime":3784443,"ram_size":249000,"ram_free":145096,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:24:40,944 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [102, 89, 89], Scale -1
2024-01-05 04:24:40,955 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425070.3275914, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:24:40,965 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00295225, power1: 0, power2: 0
2024-01-05 04:24:40,966 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:24:40,967 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425080.9556944, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:24:40,970 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:24:40,983 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23946, 24032, 23916, 0, 0, 0, 0], Scale -2
2024-01-05 04:24:41,003 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:24:41,104 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9980, 9900, 10000], Scale -2
2024-01-05 04:24:41,127 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337063, 3034921, 2160373, 2693713], Scale 0
2024-01-05 04:24:41,128 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.200000000000001, 8.9, 8.9], powers=[2443.0, 2127.0, 2146.0], voltages=[239.46, 240.32, 239.16], power_factors=[0.998, 0.99, 1.0], imported=7337063.0, exported=4871307.0, power=6717.0, frequency=49.99)
2024-01-05 04:24:41,129 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:24:41,176 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4413], Scale -2
2024-01-05 04:24:41,203 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:24:41,223 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 33, 34], Scale -2
2024-01-05 04:24:41,243 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4480], Scale -2
2024-01-05 04:24:41,244 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.33, 0.34], power=44.13, exported=7869605.0, dc_power=44.800000000000004)
2024-01-05 04:24:41,245 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:24:41,344 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425070.9734159, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:24:41,345 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00288092, power1: 0, power2: 0
2024-01-05 04:24:41,346 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:24:41,346 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425081.3447447, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:24:41,347 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:24:41,362 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:24:41,363 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:24:41,414 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:24:41,415 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:24:41,416 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:24:41,417 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=44.13, exported=7904493.99, dc_power=None)
2024-01-05 04:24:41,419 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:24:41,424 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=44.13, exported=7904493.99, dc_power=None)
2024-01-05 04:24:41,430 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:24:41,504 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:24:41,504 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.200000000000001, 8.9, 8.9], powers=[2443.0, 2127.0, 2146.0], voltages=[239.46, 240.32, 239.16], power_factors=[0.998, 0.99, 1.0], imported=7337063.0, exported=4871307.0, power=6717.0, frequency=49.99)
2024-01-05 04:24:41,690 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:24:41,695 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:24:41,698 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.82, 60.15, 60.17]A
2024-01-05 04:24:41,700 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40583.84W
2024-01-05 04:24:41,702 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:24:41,704 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:24:41,705 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:24:41,707 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:24:41.706764
2024-01-05 04:24:41,710 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1332.141547s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:24:41,712 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:24:41.711691
2024-01-05 04:24:41,713 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89102.636135s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:24:41,714 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:24:41,725 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:24:41,731 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:24:41,736 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425071.3547323, power=2404.9799999999996, imported=3360345.1159070726, exported=0)
2024-01-05 04:24:41,737 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00288369, power1: 2404.98, power2: 2372.03
2024-01-05 04:24:41,738 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.88771
2024-01-05 04:24:41,740 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.88771 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425081.736022, power=2372.0299999999997, imported=3360352.0036188513, exported=0)
2024-01-05 04:24:41,742 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:24:41,744 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:24:41,756 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3396.0, daily_exported=0, power=4300.84, imported=7210485.84, exported=0))
2024-01-05 04:24:41,757 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.05, 6.07, 6.02], daily_imported=3396.0, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210485.84, phases_in_use=3, plug_state=True, power=4300.84, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.79, 239.54, 239.84]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3730.9599999999627, imported_since_plugged=3730.9599999999627, range_charged=18.654799999999813, time_charged='4:12', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d4f10>), 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))
2024-01-05 04:24:41,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=[])
2024-01-05 04:24:41,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'])
2024-01-05 04:24:41,762 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2443.0, 2127.0, 2146.0], currents=[10.2, 8.9, 8.9], voltages=[239.46, 240.32, 239.16], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=8695.0, imported=7337063.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6717.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40583.84, raw_currents_left=[58.82, 60.15, 60.17], surplus_power_left=0, state_str=''))
2024-01-05 04:24:41,763 - {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=2372.0299999999997, invalid_home_consumption=0, daily_yield_home_consumption=5115.4955881909, imported_home_consumption=3360352.0036188513, disengageable_smarthome_power=0))
2024-01-05 04:24:41,765 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:24:41,768 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:24:41,769 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:24:41,771 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:24:41,779 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:24:41,780 - {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=20000, 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=66, soc_timestamp=1704425067.266912, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:24:41,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)
2024-01-05 04:24:41,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)
2024-01-05 04:24:41,783 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:24:41,784 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:24:41,785 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:24:41,786 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:24:41,789 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f73f568>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:24:41,793 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:24:41,794 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=44.13))
2024-01-05 04:24:41,794 - {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=8202091.902000001, power=44.13))
2024-01-05 04:24:41,796 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425071, 'time': '04:24:31', 'grid': 6.736, 'house-power': 2.405, 'charging-all': 4.29, 'pv-all': -0.041, 'cp1-power': 4.29, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:24:41,797 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:24:41,798 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:24:41,806 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:24:41,808 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:24:41,815 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:24:41,819 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:24:41,820 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:24:41,821 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:24:41,823 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:24:41,825 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:24:41,826 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.82, 54.15, 54.17]A verbleibende Ströme, 36443.84W verbleibende Leistung
2024-01-05 04:24:41,827 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:24:41,831 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:24:41,834 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:24:41,835 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:24:41,838 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:24:41,841 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:24:41,842 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6656.1600000000035W
2024-01-05 04:24:41,843 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6656.1600000000035W
2024-01-05 04:24:41,844 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:24:41,848 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:24:41,850 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3742.679999999702 counter 7210485.84
2024-01-05 04:24:41,852 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:24:41,858 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:24:41,904 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:24:42,162 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:24:42,173 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:24:45,182 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:24:45,182 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:24:50,196 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:24:50,197 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:24:50,273 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:24:50,275 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:24:50,276 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:24:50,284 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:24:50,292 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:24:50,333 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:24:50,337 - {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":240.9, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425089},"temperature":{"tC":29.0, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:24","unixtime":1704425090,"uptime":3784452,"ram_size":249000,"ram_free":145096,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:24:50,340 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6707, -2441, -2123, -2142], Scale 0
2024-01-05 04:24:50,346 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425080.9556944, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:24:50,349 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00260846, power1: 0, power2: 0
2024-01-05 04:24:50,350 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:24:50,350 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425090.3461654, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:24:50,353 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:24:50,364 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [102, 89, 89], Scale -1
2024-01-05 04:24:50,397 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23949, 24045, 23932, 0, 0, 0, 0], Scale -2
2024-01-05 04:24:50,452 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:24:50,471 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9980, 9909, 9980], Scale -2
2024-01-05 04:24:50,492 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337093, 3034932, 2160382, 2693723], Scale 0
2024-01-05 04:24:50,493 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.200000000000001, 8.9, 8.9], powers=[2441.0, 2123.0, 2142.0], voltages=[239.49, 240.45000000000002, 239.32], power_factors=[0.998, 0.9909, 0.998], imported=7337093.0, exported=4871307.0, power=6707.0, frequency=49.99)
2024-01-05 04:24:50,499 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:24:50,674 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5037], Scale -2
2024-01-05 04:24:50,704 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:24:50,723 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 33, 32], Scale -2
2024-01-05 04:24:50,743 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5114], Scale -2
2024-01-05 04:24:50,746 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.33, 0.32], power=50.370000000000005, exported=7869605.0, dc_power=51.14)
2024-01-05 04:24:50,748 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:24:50,794 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425081.3447447, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:24:50,795 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00262497, power1: 0, power2: 0
2024-01-05 04:24:50,797 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:24:50,798 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425090.7946196, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:24:50,800 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:24:50,805 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:24:50,806 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:24:50,932 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:24:50,936 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:24:50,937 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:24:50,938 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=50.370000000000005, exported=7904493.99, dc_power=None)
2024-01-05 04:24:50,942 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:24:50,944 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=50.370000000000005, exported=7904493.99, dc_power=None)
2024-01-05 04:24:50,945 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:24:51,008 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:24:51,009 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.200000000000001, 8.9, 8.9], powers=[2441.0, 2123.0, 2142.0], voltages=[239.49, 240.45000000000002, 239.32], power_factors=[0.998, 0.9909, 0.998], imported=7337093.0, exported=4871307.0, power=6707.0, frequency=49.99)
2024-01-05 04:24:51,194 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:24:51,195 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:24:51,197 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.8, 60.13, 60.16]A
2024-01-05 04:24:51,198 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40583.1W
2024-01-05 04:24:51,199 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:24:51,201 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:24:51,202 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:24:51,204 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:24:51.203694
2024-01-05 04:24:51,205 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1341.638477s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:24:51,206 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:24:51.205893
2024-01-05 04:24:51,208 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89093.141933s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:24:51,209 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:24:51,211 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:24:51,212 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.06
2024-01-05 04:24:51,221 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425081.736022, power=2372.0299999999997, imported=3360352.0036188513, exported=0)
2024-01-05 04:24:51,223 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0026347, power1: 2372.03, power2: 2366.53
2024-01-05 04:24:51,230 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.24234
2024-01-05 04:24:51,231 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.24234 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425091.220937, power=2366.5299999999997, imported=3360358.2459575883, exported=0)
2024-01-05 04:24:51,235 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:24:51,237 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:24:51,239 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3396.0, daily_exported=0, power=4290.1, imported=7210498.05, exported=0))
2024-01-05 04:24:51,241 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.03, 6.06, 6.0], daily_imported=3396.0, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210498.05, phases_in_use=3, plug_state=True, power=4290.1, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.83, 239.61, 239.92]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3742.679999999702, imported_since_plugged=3742.679999999702, range_charged=18.713399999998508, time_charged='4:13', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x701fd850>), 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))
2024-01-05 04:24:51,242 - {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=[])
2024-01-05 04:24:51,243 - {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'])
2024-01-05 04:24:51,244 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2441.0, 2123.0, 2142.0], currents=[10.2, 8.9, 8.9], voltages=[239.49, 240.45, 239.32], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=8695.0, imported=7337093.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6707.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40583.1, raw_currents_left=[58.8, 60.13, 60.16], surplus_power_left=0, state_str=''))
2024-01-05 04:24:51,245 - {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=2366.5299999999997, invalid_home_consumption=0, daily_yield_home_consumption=5115.4955881909, imported_home_consumption=3360358.2459575883, disengageable_smarthome_power=0))
2024-01-05 04:24:51,246 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:24:51,247 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:24:51,250 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:24:51,253 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:24:51,256 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:24:51,258 - {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=20000, 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=66, soc_timestamp=1704425067.266912, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:24:51,259 - {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)
2024-01-05 04:24:51,260 - {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)
2024-01-05 04:24:51,261 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:24:51,263 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:24:51,263 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:24:51,265 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:24:51,266 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7f98f8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:24:51,268 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:24:51,269 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=50.37))
2024-01-05 04:24:51,271 - {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=8202091.902000001, power=50.37))
2024-01-05 04:24:51,273 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425081, 'time': '04:24:41', 'grid': 6.717, 'house-power': 2.372, 'charging-all': 4.301, 'pv-all': -0.044, 'cp1-power': 4.301, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:24:51,273 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:24:51,274 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:24:51,275 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:24:51,278 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:24:51,279 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:24:51,282 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:24:51,290 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:24:51,292 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:24:51,292 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:24:51,293 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:24:51,294 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.8, 54.13, 54.16]A verbleibende Ströme, 36443.1W verbleibende Leistung
2024-01-05 04:24:51,294 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:24:51,297 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:24:51,301 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:24:51,303 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:24:51,305 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:24:51,308 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:24:51,309 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6656.9000000000015W
2024-01-05 04:24:51,311 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6656.9000000000015W
2024-01-05 04:24:51,312 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:24:51,315 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:24:51,316 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3754.8899999996647 counter 7210498.05
2024-01-05 04:24:51,321 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:24:51,325 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:24:51,366 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:24:51,602 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:24:55,624 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:24:55,625 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:25:00,636 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:25:00,638 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:25:00,693 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:25:00,696 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:25:00,704 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:25:00,706 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:25:00,707 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:25:00,750 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:25:00,753 - {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":240.9, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425099},"temperature":{"tC":29.1, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:25","unixtime":1704425101,"uptime":3784463,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:25:00,758 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425090.3461654, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:25:00,759 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00289216, power1: 0, power2: 0
2024-01-05 04:25:00,760 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6743, -2474, -2125, -2143], Scale 0
2024-01-05 04:25:00,762 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:25:00,773 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425100.7579374, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:25:00,775 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:25:00,806 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [103, 89, 89], Scale -1
2024-01-05 04:25:00,833 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23951, 24048, 23917, 0, 0, 0, 0], Scale -2
2024-01-05 04:25:00,857 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:25:00,934 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9959, 9879, 9969], Scale -2
2024-01-05 04:25:00,954 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337108, 3034937, 2160387, 2693728], Scale 0
2024-01-05 04:25:00,956 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.3, 8.9, 8.9], powers=[2474.0, 2125.0, 2143.0], voltages=[239.51, 240.48000000000002, 239.17000000000002], power_factors=[0.9959, 0.9879000000000001, 0.9969], imported=7337108.0, exported=4871307.0, power=6743.0, frequency=49.99)
2024-01-05 04:25:00,959 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:25:00,984 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4231], Scale -2
2024-01-05 04:25:01,164 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:25:01,195 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 33, 33], Scale -2
2024-01-05 04:25:01,234 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4296], Scale -2
2024-01-05 04:25:01,235 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.33, 0.33], power=42.31, exported=7869605.0, dc_power=42.96)
2024-01-05 04:25:01,236 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:25:01,282 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425090.7946196, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:25:01,283 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00291337, power1: 0, power2: 0
2024-01-05 04:25:01,283 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:25:01,284 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425101.2827568, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:25:01,285 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:25:01,291 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:25:01,296 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:25:01,345 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:25:01,346 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:25:01,348 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=42.31, exported=7904493.99, dc_power=None)
2024-01-05 04:25:01,349 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:25:01,350 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=42.31, exported=7904493.99, dc_power=None)
2024-01-05 04:25:01,358 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:25:01,364 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:25:01,421 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:25:01,421 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.3, 8.9, 8.9], powers=[2474.0, 2125.0, 2143.0], voltages=[239.51, 240.48000000000002, 239.17000000000002], power_factors=[0.9959, 0.9879000000000001, 0.9969], imported=7337108.0, exported=4871307.0, power=6743.0, frequency=49.99)
2024-01-05 04:25:01,607 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:25:01,609 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:25:01,617 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.72, 60.15, 60.17]A
2024-01-05 04:25:01,619 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40558.33W
2024-01-05 04:25:01,621 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:25:01,624 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:25:01,627 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:25:01,630 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:25:01.629598
2024-01-05 04:25:01,631 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1352.064381s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:25:01,634 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:25:01.633621
2024-01-05 04:25:01,635 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89082.714205s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:25:01,636 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:25:01,640 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:25:01,644 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:25:01,666 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425091.220937, power=2366.5299999999997, imported=3360358.2459575883, exported=0)
2024-01-05 04:25:01,673 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00290166, power1: 2366.53, power2: 2399.36
2024-01-05 04:25:01,674 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.91449
2024-01-05 04:25:01,679 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.91449 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425101.6669059, power=2399.3599999999997, imported=3360365.160449055, exported=0)
2024-01-05 04:25:01,683 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:25:01,684 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:25:01,687 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3396.0, daily_exported=0, power=4301.33, imported=7210509.77, exported=0))
2024-01-05 04:25:01,694 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.05, 6.07, 6.02], daily_imported=3396.0, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210509.77, phases_in_use=3, plug_state=True, power=4301.33, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.85, 239.61, 239.86]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3754.8899999996647, imported_since_plugged=3754.8899999996647, range_charged=18.774449999998325, time_charged='4:13', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7f92b0>), 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))
2024-01-05 04:25:01,696 - {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=[])
2024-01-05 04:25:01,698 - {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'])
2024-01-05 04:25:01,699 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2474.0, 2125.0, 2143.0], currents=[10.3, 8.9, 8.9], voltages=[239.51, 240.48, 239.17], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=8695.0, imported=7337108.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6743.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40558.33, raw_currents_left=[58.72, 60.15, 60.17], surplus_power_left=0, state_str=''))
2024-01-05 04:25:01,704 - {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=2399.3599999999997, invalid_home_consumption=0, daily_yield_home_consumption=5115.4955881909, imported_home_consumption=3360365.160449055, disengageable_smarthome_power=0))
2024-01-05 04:25:01,706 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:25:01,709 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:25:01,711 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:25:01,713 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:25:01,713 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:25:01,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=20000, 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=66, soc_timestamp=1704425067.266912, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:25:01,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)
2024-01-05 04:25:01,717 - {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)
2024-01-05 04:25:01,721 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:25:01,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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:25:01,734 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:25:01,737 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:25:01,738 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7edbf8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:25:01,741 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:25:01,743 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=42.31))
2024-01-05 04:25:01,744 - {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=8202091.902000001, power=42.31))
2024-01-05 04:25:01,747 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425091, 'time': '04:24:51', 'grid': 6.707, 'house-power': 2.367, 'charging-all': 4.29, 'pv-all': -0.05, 'cp1-power': 4.29, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:25:01,748 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:25:01,752 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:25:01,754 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:25:01,756 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:25:01,757 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:25:01,761 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:25:01,763 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:25:01,764 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:25:01,769 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:25:01,771 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:25:01,773 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.72, 54.15, 54.17]A verbleibende Ströme, 36418.33W verbleibende Leistung
2024-01-05 04:25:01,775 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:25:01,779 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:25:01,781 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:25:01,782 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:25:01,783 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:25:01,785 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:25:01,786 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6681.669999999998W
2024-01-05 04:25:01,790 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6681.669999999998W
2024-01-05 04:25:01,796 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:25:01,796 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:25:01,798 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3766.609999999404 counter 7210509.77
2024-01-05 04:25:01,806 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:25:01,817 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:25:01,846 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:25:02,136 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:25:02,137 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:25:02,145 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2024-01-05 04:25:02,154 - {root:107} - {DEBUG:MainThread} - 5 Minuten Handler ausführen.
2024-01-05 04:25:02,252 - {helpermodules.system:74} - {INFO:MainThread} - my IP: 192.168.1.31
2024-01-05 04:25:02,253 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2024-01-05 04:25:05,655 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:25:05,656 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:25:10,669 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:25:10,670 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:25:10,746 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:25:10,747 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:25:10,749 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:25:10,758 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:25:10,772 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:25:10,797 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6753, -2476, -2127, -2150], Scale 0
2024-01-05 04:25:10,801 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:25:10,804 - {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":240.7, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425109},"temperature":{"tC":29.0, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:25","unixtime":1704425111,"uptime":3784473,"ram_size":248948,"ram_free":144524,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:25:10,807 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425100.7579374, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:25:10,808 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00279149, power1: 0, power2: 0
2024-01-05 04:25:10,809 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:25:10,810 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425110.8073032, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:25:10,811 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:25:11,015 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [103, 89, 90], Scale -1
2024-01-05 04:25:11,047 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23938, 24040, 23913, 0, 0, 0, 0], Scale -2
2024-01-05 04:25:11,095 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:25:11,144 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9950, 9900, 9959], Scale -2
2024-01-05 04:25:11,164 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337123, 3034942, 2160392, 2693733], Scale 0
2024-01-05 04:25:11,165 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.3, 8.9, 9.0], powers=[2476.0, 2127.0, 2150.0], voltages=[239.38, 240.4, 239.13], power_factors=[0.995, 0.99, 0.9959], imported=7337123.0, exported=4871307.0, power=6753.0, frequency=49.97)
2024-01-05 04:25:11,166 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:25:11,193 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4664], Scale -2
2024-01-05 04:25:11,286 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:25:11,315 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 32], Scale -2
2024-01-05 04:25:11,343 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4735], Scale -2
2024-01-05 04:25:11,343 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.32], power=46.64, exported=7869605.0, dc_power=47.35)
2024-01-05 04:25:11,345 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:25:11,394 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425101.2827568, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:25:11,395 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00280894, power1: 0, power2: 0
2024-01-05 04:25:11,396 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:25:11,396 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425111.3949401, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:25:11,397 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:25:11,400 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:25:11,402 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:25:11,478 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:25:11,479 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:25:11,482 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:25:11,483 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.64, exported=7904493.99, dc_power=None)
2024-01-05 04:25:11,486 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:25:11,489 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.64, exported=7904493.99, dc_power=None)
2024-01-05 04:25:11,492 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:25:11,566 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:25:11,567 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.3, 8.9, 9.0], powers=[2476.0, 2127.0, 2150.0], voltages=[239.38, 240.4, 239.13], power_factors=[0.995, 0.99, 0.9959], imported=7337123.0, exported=4871307.0, power=6753.0, frequency=49.97)
2024-01-05 04:25:11,719 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:25:11,721 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:25:11,724 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.71, 60.14, 60.06]A
2024-01-05 04:25:11,725 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40537.99W
2024-01-05 04:25:11,726 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:25:11,729 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:25:11,730 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:25:11,733 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:25:11.732564
2024-01-05 04:25:11,733 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1362.167347s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:25:11,735 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:25:11.734656
2024-01-05 04:25:11,736 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89072.61317s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:25:11,737 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:25:11,740 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:25:11,741 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.06
2024-01-05 04:25:11,752 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425101.6669059, power=2399.3599999999997, imported=3360365.160449055, exported=0)
2024-01-05 04:25:11,757 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00280147, power1: 2399.36, power2: 2415.37
2024-01-05 04:25:11,759 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.74416
2024-01-05 04:25:11,760 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.74416 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425111.7521946, power=2415.37, imported=3360371.904607717, exported=0)
2024-01-05 04:25:11,776 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:25:11,779 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:25:11,780 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3753.91, daily_exported=0, power=4290.99, imported=7210521.97, exported=0))
2024-01-05 04:25:11,782 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.04, 6.06, 6.01], daily_imported=3753.91, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210521.97, phases_in_use=3, plug_state=True, power=4290.99, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.76, 239.49, 239.74]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3766.609999999404, imported_since_plugged=3766.609999999404, range_charged=18.83304999999702, time_charged='4:13', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7ed730>), 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))
2024-01-05 04:25:11,783 - {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=[])
2024-01-05 04:25:11,783 - {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'])
2024-01-05 04:25:11,784 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2476.0, 2127.0, 2150.0], currents=[10.3, 8.9, 9.0], voltages=[239.38, 240.4, 239.13], power_factors=[0.99, 0.99, 1.0], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=9247.0, imported=7337123.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6753.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40537.99, raw_currents_left=[58.71, 60.14, 60.06], surplus_power_left=0, state_str=''))
2024-01-05 04:25:11,786 - {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=2415.37, invalid_home_consumption=0, daily_yield_home_consumption=5312.1950177583, imported_home_consumption=3360371.904607717, disengageable_smarthome_power=0))
2024-01-05 04:25:11,787 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:25:11,788 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:25:11,791 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:25:11,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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:25:11,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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:25:11,798 - {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=20000, 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=66, soc_timestamp=1704425067.266912, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:25:11,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)
2024-01-05 04:25:11,805 - {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)
2024-01-05 04:25:11,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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:25:11,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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:25:11,812 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:25:11,813 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:25:11,814 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7f7400>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:25:11,816 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:25:11,818 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=46.64))
2024-01-05 04:25:11,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=8202091.902000001, power=46.64))
2024-01-05 04:25:11,820 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425101, 'time': '04:25:01', 'grid': 6.743, 'house-power': 2.399, 'charging-all': 4.301, 'pv-all': -0.042, 'cp1-power': 4.301, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:25:11,821 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:25:11,822 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:25:11,823 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:25:11,824 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:25:11,825 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:25:11,826 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:25:11,827 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:25:11,828 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:25:11,829 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:25:11,831 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:25:11,832 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.71, 54.14, 54.06]A verbleibende Ströme, 36397.99W verbleibende Leistung
2024-01-05 04:25:11,833 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:25:11,836 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:25:11,837 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:25:11,839 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:25:11,840 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:25:11,842 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:25:11,843 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6702.010000000002W
2024-01-05 04:25:11,844 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6702.010000000002W
2024-01-05 04:25:11,845 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:25:11,846 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:25:11,847 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3778.80999999959 counter 7210521.97
2024-01-05 04:25:11,852 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:25:11,854 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:25:11,908 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:25:12,138 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:25:15,154 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:25:15,156 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:25:20,286 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:25:20,287 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:25:20,336 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:25:20,337 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:25:20,345 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:25:20,347 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:25:20,348 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:25:20,388 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:25:20,390 - {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":240.7, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425119},"temperature":{"tC":29.0, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:25","unixtime":1704425120,"uptime":3784482,"ram_size":248948,"ram_free":144524,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-05 04:25:20,399 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425110.8073032, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:25:20,403 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00266436, power1: 0, power2: 0
2024-01-05 04:25:20,404 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:25:20,406 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425120.3989868, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:25:20,413 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:25:20,513 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6733, -2468, -2120, -2144], Scale 0
2024-01-05 04:25:20,565 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [103, 89, 90], Scale -1
2024-01-05 04:25:20,594 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23937, 24037, 23905, 0, 0, 0, 0], Scale -2
2024-01-05 04:25:20,637 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:25:20,672 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9940, 9900, 9950], Scale -2
2024-01-05 04:25:20,724 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337138, 3034948, 2160397, 2693737], Scale 0
2024-01-05 04:25:20,725 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.3, 8.9, 9.0], powers=[2468.0, 2120.0, 2144.0], voltages=[239.37, 240.37, 239.05], power_factors=[0.9940000000000001, 0.99, 0.995], imported=7337138.0, exported=4871307.0, power=6733.0, frequency=49.99)
2024-01-05 04:25:20,728 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:25:20,873 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4543], Scale -2
2024-01-05 04:25:20,892 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:25:20,924 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 34, 33], Scale -2
2024-01-05 04:25:20,943 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4612], Scale -2
2024-01-05 04:25:20,944 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.34, 0.33], power=45.43, exported=7869605.0, dc_power=46.12)
2024-01-05 04:25:20,946 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:25:21,037 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425111.3949401, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:25:21,037 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00267836, power1: 0, power2: 0
2024-01-05 04:25:21,038 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:25:21,038 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425121.037041, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:25:21,039 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:25:21,058 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:25:21,065 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:25:21,243 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:25:21,244 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:25:21,252 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=45.43, exported=7904493.99, dc_power=None)
2024-01-05 04:25:21,254 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=45.43, exported=7904493.99, dc_power=None)
2024-01-05 04:25:21,256 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:25:21,259 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:25:21,260 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:25:21,354 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:25:21,354 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.3, 8.9, 9.0], powers=[2468.0, 2120.0, 2144.0], voltages=[239.37, 240.37, 239.05], power_factors=[0.9940000000000001, 0.99, 0.995], imported=7337138.0, exported=4871307.0, power=6733.0, frequency=49.99)
2024-01-05 04:25:21,546 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:25:21,548 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:25:21,551 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.72, 60.15, 60.08]A
2024-01-05 04:25:21,553 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40568.479999999996W
2024-01-05 04:25:21,555 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:25:21,557 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:25:21,559 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:25:21,561 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:25:21.561012
2024-01-05 04:25:21,563 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1371.995795s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:25:21,566 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:25:21.565530
2024-01-05 04:25:21,567 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89062.782296s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:25:21,569 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:25:21,571 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:25:21,572 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:25:21,588 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425111.7521946, power=2415.37, imported=3360371.904607717, exported=0)
2024-01-05 04:25:21,591 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00273217, power1: 2415.37, power2: 2386.09
2024-01-05 04:25:21,594 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.5592
2024-01-05 04:25:21,598 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.5592 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425121.5880013, power=2386.09, imported=3360378.4638066054, exported=0)
2024-01-05 04:25:21,602 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:25:21,603 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:25:21,604 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3753.91, daily_exported=0, power=4301.48, imported=7210534.18, exported=0))
2024-01-05 04:25:21,607 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.05, 6.08, 6.02], daily_imported=3753.91, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210534.18, phases_in_use=3, plug_state=True, power=4301.48, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.73, 239.52, 239.74]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3778.80999999959, imported_since_plugged=3778.80999999959, range_charged=18.89404999999795, time_charged='4:13', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x701f1e80>), 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))
2024-01-05 04:25:21,608 - {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=[])
2024-01-05 04:25:21,609 - {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'])
2024-01-05 04:25:21,610 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2468.0, 2120.0, 2144.0], currents=[10.3, 8.9, 9.0], voltages=[239.37, 240.37, 239.05], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=9247.0, imported=7337138.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6733.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40568.479999999996, raw_currents_left=[58.72, 60.15, 60.08], surplus_power_left=0, state_str=''))
2024-01-05 04:25:21,612 - {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=2386.09, invalid_home_consumption=0, daily_yield_home_consumption=5312.1950177583, imported_home_consumption=3360378.4638066054, disengageable_smarthome_power=0))
2024-01-05 04:25:21,613 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:25:21,614 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:25:21,616 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:25: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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:25:21,620 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:25:21,621 - {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=20000, 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=66, soc_timestamp=1704425067.266912, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:25:21,622 - {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)
2024-01-05 04:25:21,623 - {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)
2024-01-05 04:25:21,625 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:25:21,626 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:25:21,627 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:25:21,629 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:25:21,630 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7dca30>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:25:21,631 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:25:21,632 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=45.43))
2024-01-05 04:25:21,633 - {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=8202091.902000001, power=45.43))
2024-01-05 04:25:21,634 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425111, 'time': '04:25:11', 'grid': 6.753, 'house-power': 2.415, 'charging-all': 4.291, 'pv-all': -0.047, 'cp1-power': 4.291, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:25:21,636 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:25:21,637 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:25:21,638 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:25:21,639 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:25:21,640 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:25:21,641 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:25:21,642 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:25:21,643 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:25:21,645 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:25:21,647 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:25:21,648 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.72, 54.15, 54.08]A verbleibende Ströme, 36428.479999999996W verbleibende Leistung
2024-01-05 04:25:21,650 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:25:21,653 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:25:21,655 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:25:21,656 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:25:21,658 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:25:21,660 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:25:21,662 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6671.520000000004W
2024-01-05 04:25:21,663 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6671.520000000004W
2024-01-05 04:25:21,664 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:25:21,666 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:25:21,668 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3791.019999999553 counter 7210534.18
2024-01-05 04:25:21,672 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:25:21,687 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:25:21,754 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:25:22,052 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:25:22,054 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:25:25,063 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:25:25,066 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:25:30,080 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:25:30,081 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:25:30,149 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:25:30,150 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:25:30,151 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:25:30,163 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:25:30,166 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:25:30,192 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6723, -2469, -2118, -2135], Scale 0
2024-01-05 04:25:30,215 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:25:30,217 - {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":240.5, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425129},"temperature":{"tC":29.0, "tF":84.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:25","unixtime":1704425130,"uptime":3784492,"ram_size":248948,"ram_free":144524,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:25:30,221 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425120.3989868, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:25:30,222 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00272836, power1: 0, power2: 0
2024-01-05 04:25:30,224 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [103, 89, 90], Scale -1
2024-01-05 04:25:30,225 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:25:30,229 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425130.2210956, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:25:30,231 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:25:30,244 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23934, 24035, 23892, 0, 0, 0, 0], Scale -2
2024-01-05 04:25:30,287 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:25:30,336 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9890, 9950], Scale -2
2024-01-05 04:25:30,364 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337168, 3034959, 2160406, 2693747], Scale 0
2024-01-05 04:25:30,364 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.3, 8.9, 9.0], powers=[2469.0, 2118.0, 2135.0], voltages=[239.34, 240.35, 238.92000000000002], power_factors=[0.9929000000000001, 0.9890000000000001, 0.995], imported=7337168.0, exported=4871307.0, power=6723.0, frequency=49.97)
2024-01-05 04:25:30,371 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:25:30,392 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4556], Scale -2
2024-01-05 04:25:30,491 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:25:30,511 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 32], Scale -2
2024-01-05 04:25:30,531 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4625], Scale -2
2024-01-05 04:25:30,532 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.32], power=45.56, exported=7869605.0, dc_power=46.25)
2024-01-05 04:25:30,533 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:25:30,602 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425121.037041, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:25:30,603 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00265703, power1: 0, power2: 0
2024-01-05 04:25:30,603 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:25:30,603 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425130.602351, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:25:30,604 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:25:30,607 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:25:30,608 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:25:30,658 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:25:30,660 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:25:30,662 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=45.56, exported=7904493.99, dc_power=None)
2024-01-05 04:25:30,663 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:25:30,664 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=45.56, exported=7904493.99, dc_power=None)
2024-01-05 04:25:30,666 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:25:30,671 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:25:30,728 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:25:30,729 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.3, 8.9, 9.0], powers=[2469.0, 2118.0, 2135.0], voltages=[239.34, 240.35, 238.92000000000002], power_factors=[0.9929000000000001, 0.9890000000000001, 0.995], imported=7337168.0, exported=4871307.0, power=6723.0, frequency=49.97)
2024-01-05 04:25:30,888 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:25:30,889 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:25:30,891 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.71, 60.15, 60.08]A
2024-01-05 04:25:30,892 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40578.57W
2024-01-05 04:25:30,893 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:25:30,895 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:25:30,896 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:25:30,898 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:25:30.898412
2024-01-05 04:25:30,900 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1381.333195s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:25:30,901 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:25:30.900901
2024-01-05 04:25:30,902 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89053.446925s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:25:30,902 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:25:30,906 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:25:30,907 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:25:30,915 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425121.5880013, power=2386.09, imported=3360378.4638066054, exported=0)
2024-01-05 04:25:30,917 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00259086, power1: 2386.09, power2: 2375.87
2024-01-05 04:25:30,919 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.1688
2024-01-05 04:25:30,920 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.1688 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425130.915112, power=2375.87, imported=3360384.6326022153, exported=0)
2024-01-05 04:25:30,926 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:25:30,931 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:25:30,934 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3753.91, daily_exported=0, power=4301.57, imported=7210543.95, exported=0))
2024-01-05 04:25:30,936 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.05, 6.08, 6.01], daily_imported=3753.91, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210543.95, phases_in_use=3, plug_state=True, power=4301.57, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.7, 239.36, 239.74]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3791.019999999553, imported_since_plugged=3791.019999999553, range_charged=18.955099999997767, time_charged='4:13', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b1bc40>), 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))
2024-01-05 04:25:30,942 - {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=[])
2024-01-05 04:25:30,945 - {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'])
2024-01-05 04:25:30,951 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2469.0, 2118.0, 2135.0], currents=[10.3, 8.9, 9.0], voltages=[239.34, 240.35, 238.92], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=9247.0, imported=7337168.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6723.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40578.57, raw_currents_left=[58.71, 60.15, 60.08], surplus_power_left=0, state_str=''))
2024-01-05 04:25:30,954 - {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=2375.87, invalid_home_consumption=0, daily_yield_home_consumption=5312.1950177583, imported_home_consumption=3360384.6326022153, disengageable_smarthome_power=0))
2024-01-05 04:25:30,957 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:25:30,966 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:25:30,968 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:25:30,970 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:25:30,971 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:25:30,973 - {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=20000, 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=66, soc_timestamp=1704425122.971397, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:25:30,981 - {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)
2024-01-05 04:25:30,982 - {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)
2024-01-05 04:25:30,982 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:25:30,983 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:25:30,984 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:25:30,986 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:25:30,989 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7e8490>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:25:31,001 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:25:31,004 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=45.56))
2024-01-05 04:25:31,006 - {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=8202091.902000001, power=45.56))
2024-01-05 04:25:31,007 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425121, 'time': '04:25:21', 'grid': 6.733, 'house-power': 2.386, 'charging-all': 4.301, 'pv-all': -0.045, 'cp1-power': 4.301, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:25:31,009 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:25:31,011 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:25:31,013 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:25:31,027 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:25:31,027 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:25:31,028 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:25:31,033 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:25:31,033 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:25:31,035 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:25:31,045 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:25:31,047 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.71, 54.15, 54.08]A verbleibende Ströme, 36438.57W verbleibende Leistung
2024-01-05 04:25:31,053 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:25:31,056 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:25:31,059 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:25:31,061 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:25:31,062 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:25:31,064 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:25:31,068 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6661.43W
2024-01-05 04:25:31,072 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6661.43W
2024-01-05 04:25:31,074 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:25:31,076 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:25:31,086 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3800.7900000000373 counter 7210543.95
2024-01-05 04:25:31,093 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:25:31,095 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:25:31,122 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:25:31,528 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:25:35,645 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:25:35,646 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:25:40,657 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:25:40,658 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:25:40,706 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:25:40,707 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:25:40,714 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:25:40,715 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:25:40,716 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:25:40,765 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:25:40,770 - {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":240.6, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425139},"temperature":{"tC":29.0, "tF":84.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:25","unixtime":1704425141,"uptime":3784503,"ram_size":248948,"ram_free":144524,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:25:40,777 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425130.2210956, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:25:40,778 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00293231, power1: 0, power2: 0
2024-01-05 04:25:40,779 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:25:40,780 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425140.7774072, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:25:40,782 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:25:40,801 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6737, -2470, -2122, -2145], Scale 0
2024-01-05 04:25:40,823 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [104, 89, 90], Scale -1
2024-01-05 04:25:41,029 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23936, 24025, 23880, 0, 0, 0, 0], Scale -2
2024-01-05 04:25:41,119 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:25:41,174 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9890, 9950], Scale -2
2024-01-05 04:25:41,194 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337183, 3034964, 2160411, 2693752], Scale 0
2024-01-05 04:25:41,195 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.4, 8.9, 9.0], powers=[2470.0, 2122.0, 2145.0], voltages=[239.36, 240.25, 238.8], power_factors=[0.9929000000000001, 0.9890000000000001, 0.995], imported=7337183.0, exported=4871307.0, power=6737.0, frequency=49.97)
2024-01-05 04:25:41,198 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:25:41,313 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4667], Scale -2
2024-01-05 04:25:41,364 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:25:41,409 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 32], Scale -2
2024-01-05 04:25:41,452 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4783], Scale -2
2024-01-05 04:25:41,453 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.32], power=46.67, exported=7869605.0, dc_power=47.83)
2024-01-05 04:25:41,455 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:25:41,543 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425130.602351, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:25:41,544 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00303917, power1: 0, power2: 0
2024-01-05 04:25:41,544 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:25:41,545 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425141.5433533, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:25:41,547 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:25:41,559 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:25:41,566 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:25:41,608 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:25:41,610 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:25:41,611 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.67, exported=7904493.99, dc_power=None)
2024-01-05 04:25:41,612 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.67, exported=7904493.99, dc_power=None)
2024-01-05 04:25:41,615 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:25:41,628 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:25:41,629 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:25:41,688 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:25:41,689 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.4, 8.9, 9.0], powers=[2470.0, 2122.0, 2145.0], voltages=[239.36, 240.25, 238.8], power_factors=[0.9929000000000001, 0.9890000000000001, 0.995], imported=7337183.0, exported=4871307.0, power=6737.0, frequency=49.97)
2024-01-05 04:25:41,865 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:25:41,869 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:25:41,874 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.62, 60.16, 60.08]A
2024-01-05 04:25:41,875 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40565.32W
2024-01-05 04:25:41,877 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:25:41,880 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:25:41,881 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:25:41,883 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:25:41.883349
2024-01-05 04:25:41,884 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1392.318132s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:25:41,886 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:25:41.885764
2024-01-05 04:25:41,887 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89042.462062s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:25:41,889 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:25:41,892 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:25:41,893 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:25:41,922 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425130.915112, power=2375.87, imported=3360384.6326022153, exported=0)
2024-01-05 04:25:41,932 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00305745, power1: 2375.87, power2: 2388.01
2024-01-05 04:25:41,933 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.28265
2024-01-05 04:25:41,934 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.28265 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425141.9219196, power=2388.01, imported=3360391.915256441, exported=0)
2024-01-05 04:25:41,945 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:25:41,947 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:25:41,949 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3753.91, daily_exported=0, power=4302.32, imported=7210558.11, exported=0))
2024-01-05 04:25:41,950 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.06, 6.08, 6.02], daily_imported=3753.91, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210558.11, phases_in_use=3, plug_state=True, power=4302.32, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.63, 239.21, 239.66]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3800.7900000000373, imported_since_plugged=3800.7900000000373, range_charged=19.003950000000184, time_charged='4:13', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f75ff40>), 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))
2024-01-05 04:25:41,952 - {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=[])
2024-01-05 04:25:41,955 - {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'])
2024-01-05 04:25:41,956 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2470.0, 2122.0, 2145.0], currents=[10.4, 8.9, 9.0], voltages=[239.36, 240.25, 238.8], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=9247.0, imported=7337183.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6737.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40565.32, raw_currents_left=[58.62, 60.16, 60.08], surplus_power_left=0, state_str=''))
2024-01-05 04:25:41,957 - {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=2388.01, invalid_home_consumption=0, daily_yield_home_consumption=5312.1950177583, imported_home_consumption=3360391.915256441, disengageable_smarthome_power=0))
2024-01-05 04:25:41,959 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:25:41,960 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:25:41,965 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:25:41,966 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:25:41,970 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:25:41,971 - {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=20000, 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=66, soc_timestamp=1704425122.971397, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:25:41,973 - {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)
2024-01-05 04:25:41,974 - {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)
2024-01-05 04:25:41,975 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:25:41,977 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:25:41,980 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:25:41,982 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:25:41,984 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x70b3df70>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:25:41,986 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:25:41,988 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=46.67))
2024-01-05 04:25:41,989 - {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=8202091.902000001, power=46.67))
2024-01-05 04:25:41,990 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425131, 'time': '04:25:31', 'grid': 6.723, 'house-power': 2.376, 'charging-all': 4.302, 'pv-all': -0.046, 'cp1-power': 4.302, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:25:41,992 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:25:41,993 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:25:41,994 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:25:41,996 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:25:41,998 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:25:41,999 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:25:42,002 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:25:42,003 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:25:42,004 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:25:42,006 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:25:42,007 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.62, 54.16, 54.08]A verbleibende Ströme, 36425.32W verbleibende Leistung
2024-01-05 04:25:42,009 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:25:42,012 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:25:42,014 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:25:42,016 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:25:42,017 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:25:42,021 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:25:42,022 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6674.68W
2024-01-05 04:25:42,024 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6674.68W
2024-01-05 04:25:42,026 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:25:42,026 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:25:42,028 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3814.9500000001863 counter 7210558.11
2024-01-05 04:25:42,033 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:25:42,039 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:25:42,093 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:25:42,377 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:25:42,379 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:25:45,389 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:25:45,390 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:25:50,408 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:25:50,410 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:25:50,486 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:25:50,488 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:25:50,489 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:25:50,500 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:25:50,502 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:25:50,539 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6735, -2467, -2122, -2145], Scale 0
2024-01-05 04:25:50,547 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:25:50,550 - {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":240.6, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425149},"temperature":{"tC":29.0, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:25","unixtime":1704425151,"uptime":3784513,"ram_size":249000,"ram_free":145092,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:25:50,556 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425140.7774072, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:25:50,561 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00271626, power1: 0, power2: 0
2024-01-05 04:25:50,563 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [103, 89, 89], Scale -1
2024-01-05 04:25:50,565 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:25:50,571 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425150.5559435, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:25:50,575 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:25:50,584 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23926, 24022, 23876, 0, 0, 0, 0], Scale -2
2024-01-05 04:25:50,605 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:25:50,624 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9950, 9900, 10000], Scale -2
2024-01-05 04:25:50,663 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337198, 3034970, 2160415, 2693756], Scale 0
2024-01-05 04:25:50,664 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.3, 8.9, 8.9], powers=[2467.0, 2122.0, 2145.0], voltages=[239.26, 240.22, 238.76], power_factors=[0.995, 0.99, 1.0], imported=7337198.0, exported=4871307.0, power=6735.0, frequency=49.97)
2024-01-05 04:25:50,668 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:25:50,697 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5006], Scale -2
2024-01-05 04:25:50,763 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:25:50,781 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 32, 33], Scale -2
2024-01-05 04:25:50,801 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4617], Scale -2
2024-01-05 04:25:50,801 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.32, 0.33], power=50.06, exported=7869605.0, dc_power=46.17)
2024-01-05 04:25:50,803 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:25:50,922 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425141.5433533, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:25:50,923 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00260539, power1: 0, power2: 0
2024-01-05 04:25:50,923 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:25:50,924 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425150.9227686, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:25:50,926 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:25:50,928 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:25:50,930 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:25:50,980 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:25:50,982 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:25:50,984 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:25:50,984 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=50.06, exported=7904493.99, dc_power=None)
2024-01-05 04:25:50,989 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:25:50,991 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=50.06, exported=7904493.99, dc_power=None)
2024-01-05 04:25:50,997 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:25:51,044 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:25:51,045 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.3, 8.9, 8.9], powers=[2467.0, 2122.0, 2145.0], voltages=[239.26, 240.22, 238.76], power_factors=[0.995, 0.99, 1.0], imported=7337198.0, exported=4871307.0, power=6735.0, frequency=49.97)
2024-01-05 04:25:51,205 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:25:51,207 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:25:51,213 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.72, 60.15, 60.18]A
2024-01-05 04:25:51,215 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40566.69W
2024-01-05 04:25:51,217 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:25:51,220 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:25:51,221 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:25:51,223 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:25:51.223169
2024-01-05 04:25:51,224 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1401.657952s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:25:51,226 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:25:51.225897
2024-01-05 04:25:51,227 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89033.121929s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:25:51,228 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:25:51,231 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:25:51,238 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:25:51,246 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425141.9219196, power=2388.01, imported=3360391.915256441, exported=0)
2024-01-05 04:25:51,251 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00259007, power1: 2388.01, power2: 2383.25
2024-01-05 04:25:51,252 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.17894
2024-01-05 04:25:51,253 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.17894 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425151.2461584, power=2383.25, imported=3360398.0941963727, exported=0)
2024-01-05 04:25:51,256 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:25:51,260 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:25:51,262 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3753.91, daily_exported=0, power=4301.69, imported=7210567.87, exported=0))
2024-01-05 04:25:51,263 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.05, 6.08, 6.02], daily_imported=3753.91, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210567.87, phases_in_use=3, plug_state=True, power=4301.69, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.68, 239.25, 239.71]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3814.9500000001863, imported_since_plugged=3814.9500000001863, range_charged=19.074750000000932, time_charged='4:14', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bea6e8>), 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))
2024-01-05 04:25:51,264 - {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=[])
2024-01-05 04:25:51,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'])
2024-01-05 04:25:51,266 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2467.0, 2122.0, 2145.0], currents=[10.3, 8.9, 8.9], voltages=[239.26, 240.22, 238.76], power_factors=[0.99, 0.99, 1.0], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=9247.0, imported=7337198.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6735.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40566.69, raw_currents_left=[58.72, 60.15, 60.18], surplus_power_left=0, state_str=''))
2024-01-05 04:25:51,268 - {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=2383.25, invalid_home_consumption=0, daily_yield_home_consumption=5312.1950177583, imported_home_consumption=3360398.0941963727, disengageable_smarthome_power=0))
2024-01-05 04:25:51,269 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:25:51,270 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:25:51,272 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:25:51,275 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:25:51,277 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:25:51,279 - {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=20000, 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=66, soc_timestamp=1704425122.971397, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:25:51,287 - {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)
2024-01-05 04:25: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)
2024-01-05 04:25:51,297 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:25:51,305 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:25:51,307 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:25:51,320 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:25:51,322 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7d4e98>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:25:51,324 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:25:51,332 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=50.06))
2024-01-05 04:25:51,337 - {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=8202091.902000001, power=50.06))
2024-01-05 04:25:51,345 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425142, 'time': '04:25:42', 'grid': 6.737, 'house-power': 2.388, 'charging-all': 4.302, 'pv-all': -0.047, 'cp1-power': 4.302, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:25:51,346 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:25:51,349 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:25:51,351 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:25:51,362 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:25:51,363 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:25:51,365 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:25:51,372 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:25:51,374 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:25:51,376 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:25:51,377 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:25:51,383 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.72, 54.15, 54.18]A verbleibende Ströme, 36426.69W verbleibende Leistung
2024-01-05 04:25:51,386 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:25:51,390 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:25:51,393 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:25:51,395 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:25:51,408 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:25:51,413 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:25:51,415 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6673.309999999998W
2024-01-05 04:25:51,420 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6673.309999999998W
2024-01-05 04:25:51,425 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:25:51,427 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:25:51,430 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3824.7099999999627 counter 7210567.87
2024-01-05 04:25:51,440 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:25:51,453 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:25:51,490 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:25:51,796 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:25:55,830 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:25:55,830 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:26:00,843 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:26:00,844 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:26:00,893 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:26:00,894 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:26:00,901 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:26:00,901 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:26:00,922 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:26:00,952 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:26:00,954 - {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":240.6, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425159},"temperature":{"tC":29.0, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:26","unixtime":1704425161,"uptime":3784523,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:26:00,964 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425150.5559435, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:26:00,965 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00289115, power1: 0, power2: 0
2024-01-05 04:26:00,969 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6735, -2470, -2122, -2141], Scale 0
2024-01-05 04:26:00,976 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:26:00,978 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425160.9640682, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:26:00,980 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:26:00,993 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [103, 89, 89], Scale -1
2024-01-05 04:26:01,015 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23939, 24031, 23886, 0, 0, 0, 0], Scale -2
2024-01-05 04:26:01,053 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:26:01,073 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9959, 9890, 9969], Scale -2
2024-01-05 04:26:01,094 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337213, 3034975, 2160420, 2693761], Scale 0
2024-01-05 04:26:01,094 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.3, 8.9, 8.9], powers=[2470.0, 2122.0, 2141.0], voltages=[239.39000000000001, 240.31, 238.86], power_factors=[0.9959, 0.9890000000000001, 0.9969], imported=7337213.0, exported=4871307.0, power=6735.0, frequency=49.99)
2024-01-05 04:26:01,096 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:26:01,112 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4356], Scale -2
2024-01-05 04:26:01,154 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:26:01,197 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 34, 33], Scale -2
2024-01-05 04:26:01,224 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4422], Scale -2
2024-01-05 04:26:01,225 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.34, 0.33], power=43.56, exported=7869605.0, dc_power=44.22)
2024-01-05 04:26:01,226 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:26:01,512 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425150.9227686, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:26:01,514 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00294165, power1: 0, power2: 0
2024-01-05 04:26:01,516 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:26:01,518 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425161.5126953, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:26:01,523 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:26:01,530 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:26:01,536 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:26:01,771 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:26:01,776 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:26:01,778 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:26:01,789 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=43.56, exported=7904493.99, dc_power=None)
2024-01-05 04:26:01,791 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:26:01,793 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=43.56, exported=7904493.99, dc_power=None)
2024-01-05 04:26:01,796 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:26:01,855 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:26:01,856 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.3, 8.9, 8.9], powers=[2470.0, 2122.0, 2141.0], voltages=[239.39000000000001, 240.31, 238.86], power_factors=[0.9959, 0.9890000000000001, 0.9969], imported=7337213.0, exported=4871307.0, power=6735.0, frequency=49.99)
2024-01-05 04:26:02,045 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:26:02,046 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:26:02,049 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.72, 60.16, 60.18]A
2024-01-05 04:26:02,050 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40567.11W
2024-01-05 04:26:02,052 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:26:02,070 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:26:02,071 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:26:02,073 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:26:02.072989
2024-01-05 04:26:02,075 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1412.507772s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:26:02,076 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:26:02.076134
2024-01-05 04:26:02,077 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89022.271692s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:26:02,078 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:26:02,081 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:26:02,082 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:26:02,115 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425151.2461584, power=2383.25, imported=3360398.0941963727, exported=0)
2024-01-05 04:26:02,117 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00301934, power1: 2383.25, power2: 2389.33
2024-01-05 04:26:02,117 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.20501
2024-01-05 04:26:02,119 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.20501 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425162.115773, power=2389.33, imported=3360405.2992109912, exported=0)
2024-01-05 04:26:02,123 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:26:02,126 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:26:02,127 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3753.91, daily_exported=0, power=4302.11, imported=7210583.01, exported=0))
2024-01-05 04:26:02,129 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.06, 6.08, 6.02], daily_imported=3753.91, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210583.01, phases_in_use=3, plug_state=True, power=4302.11, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.65, 239.28, 239.68]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3824.7099999999627, imported_since_plugged=3824.7099999999627, range_charged=19.123549999999813, time_charged='4:14', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7635c8>), 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))
2024-01-05 04:26:02,131 - {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=[])
2024-01-05 04:26:02,132 - {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'])
2024-01-05 04:26:02,139 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2470.0, 2122.0, 2141.0], currents=[10.3, 8.9, 8.9], voltages=[239.39, 240.31, 238.86], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=9247.0, imported=7337213.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6735.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40567.11, raw_currents_left=[58.72, 60.16, 60.18], surplus_power_left=0, state_str=''))
2024-01-05 04:26:02,142 - {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=2389.33, invalid_home_consumption=0, daily_yield_home_consumption=5312.1950177583, imported_home_consumption=3360405.2992109912, disengageable_smarthome_power=0))
2024-01-05 04:26:02,143 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:26:02,157 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:26:02,158 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:26:02,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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:26:02,161 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:26:02,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=20000, 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=66, soc_timestamp=1704425122.971397, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:26:02,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)
2024-01-05 04:26:02,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)
2024-01-05 04:26:02,166 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:26:02,168 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:26:02,169 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:26:02,172 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:26:02,177 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x701fbe50>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:26:02,180 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:26:02,183 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=43.56))
2024-01-05 04:26:02,186 - {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=8202091.902000001, power=43.56))
2024-01-05 04:26:02,189 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425151, 'time': '04:25:51', 'grid': 6.735, 'house-power': 2.383, 'charging-all': 4.302, 'pv-all': -0.05, 'cp1-power': 4.302, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:26:02,191 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:26:02,192 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:26:02,193 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:26:02,194 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:26:02,199 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:26:02,204 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:26:02,206 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:26:02,208 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:26:02,210 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:26:02,211 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:26:02,212 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.72, 54.16, 54.18]A verbleibende Ströme, 36427.11W verbleibende Leistung
2024-01-05 04:26:02,214 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:26:02,216 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:26:02,218 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:26:02,219 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:26:02,220 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:26:02,222 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:26:02,222 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6672.889999999999W
2024-01-05 04:26:02,223 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6672.889999999999W
2024-01-05 04:26:02,223 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:26:02,224 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:26:02,225 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3839.8499999996275 counter 7210583.01
2024-01-05 04:26:02,231 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:26:02,257 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:26:02,287 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:26:02,548 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:26:02,555 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:26:05,563 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:26:05,564 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:26:10,577 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:26:10,578 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:26:10,663 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:26:10,664 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:26:10,666 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:26:10,676 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:26:10,681 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:26:10,724 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:26:10,726 - {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":240.6, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425169},"temperature":{"tC":29.0, "tF":84.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:26","unixtime":1704425171,"uptime":3784533,"ram_size":248936,"ram_free":144376,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:26:10,729 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425160.9640682, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:26:10,730 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00271257, power1: 0, power2: 0
2024-01-05 04:26:10,730 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:26:10,730 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425170.7293115, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:26:10,735 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:26:10,784 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6731, -2464, -2124, -2141], Scale 0
2024-01-05 04:26:10,812 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [103, 89, 90], Scale -1
2024-01-05 04:26:10,881 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23936, 24032, 23893, 0, 0, 0, 0], Scale -2
2024-01-05 04:26:10,925 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:26:10,974 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9959, 9879, 9969], Scale -2
2024-01-05 04:26:11,183 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337243, 3034986, 2160430, 2693771], Scale 0
2024-01-05 04:26:11,184 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.3, 8.9, 9.0], powers=[2464.0, 2124.0, 2141.0], voltages=[239.36, 240.32, 238.93], power_factors=[0.9959, 0.9879000000000001, 0.9969], imported=7337243.0, exported=4871307.0, power=6731.0, frequency=49.97)
2024-01-05 04:26:11,186 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:26:11,222 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5013], Scale -2
2024-01-05 04:26:11,252 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:26:11,272 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [31, 32, 34], Scale -2
2024-01-05 04:26:11,291 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5090], Scale -2
2024-01-05 04:26:11,292 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.31, 0.32, 0.34], power=50.13, exported=7869605.0, dc_power=50.9)
2024-01-05 04:26:11,293 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:26:11,425 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425161.5126953, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:26:11,427 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.0027536, power1: 0, power2: 0
2024-01-05 04:26:11,430 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:26:11,431 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425171.4256592, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:26:11,437 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:26:11,453 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:26:11,454 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:26:11,599 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:26:11,600 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:26:11,603 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=50.13, exported=7904493.99, dc_power=None)
2024-01-05 04:26:11,603 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:26:11,604 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=50.13, exported=7904493.99, dc_power=None)
2024-01-05 04:26:11,606 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:26:11,618 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:26:11,691 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:26:11,692 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.3, 8.9, 9.0], powers=[2464.0, 2124.0, 2141.0], voltages=[239.36, 240.32, 238.93], power_factors=[0.9959, 0.9879000000000001, 0.9969], imported=7337243.0, exported=4871307.0, power=6731.0, frequency=49.97)
2024-01-05 04:26:11,847 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:26:11,850 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:26:11,852 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.71, 60.14, 60.07]A
2024-01-05 04:26:11,854 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40560.74W
2024-01-05 04:26:11,855 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:26:11,857 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:26:11,858 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:26:11,859 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:37:30.434783 start_time 2024-01-05 04:02:29.565217 end 2024-01-05 05:40:00 now 2024-01-05 04:26:11.859432
2024-01-05 04:26:11,860 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1422.294215s, Dauer 1.62512077294686h, Termin heute verpasst: False
2024-01-05 04:26:11,862 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-06 05:09:44.347826 end 2024-01-06 05:40:00 now 2024-01-05 04:26:11.861773
2024-01-05 04:26:11,863 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89012.486053s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-05 04:26:11,864 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:26:11,869 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:26:11,872 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:26:11,893 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425162.115773, power=2389.33, imported=3360405.2992109912, exported=0)
2024-01-05 04:26:11,894 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00271593, power1: 2389.33, power2: 2389.13
2024-01-05 04:26:11,895 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.48898
2024-01-05 04:26:11,897 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.48898 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425171.8931231, power=2389.13, imported=3360411.788193877, exported=0)
2024-01-05 04:26:11,899 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:26:11,901 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:26:11,903 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3753.91, daily_exported=0, power=4291.74, imported=7210594.24, exported=0))
2024-01-05 04:26:11,904 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.04, 6.07, 6.01], daily_imported=3753.91, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210594.24, phases_in_use=3, plug_state=True, power=4291.74, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.62, 239.34, 239.71]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3839.8499999996275, imported_since_plugged=3839.8499999996275, range_charged=19.199249999998138, time_charged='4:14', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b3b688>), 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))
2024-01-05 04:26:11,907 - {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=[])
2024-01-05 04:26:11,907 - {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'])
2024-01-05 04:26:11,908 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2464.0, 2124.0, 2141.0], currents=[10.3, 8.9, 9.0], voltages=[239.36, 240.32, 238.93], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=9247.0, imported=7337243.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6731.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40560.74, raw_currents_left=[58.71, 60.14, 60.07], surplus_power_left=0, state_str=''))
2024-01-05 04:26:11,908 - {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=2389.13, invalid_home_consumption=0, daily_yield_home_consumption=5312.1950177583, imported_home_consumption=3360411.788193877, disengageable_smarthome_power=0))
2024-01-05 04:26:11,909 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:26:11,910 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:26:11,910 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:26:11,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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:26:11,911 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:26:11,912 - {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=20000, 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=66, soc_timestamp=1704425122.971397, force_soc_update=False, range=198, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:26:11,912 - {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)
2024-01-05 04:26:11,913 - {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)
2024-01-05 04:26:11,913 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:26:11,914 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:26:11,914 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:26:11,915 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:26:11,919 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x70b5e0a0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:26:11,921 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:26:11,925 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=50.13))
2024-01-05 04:26:11,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=8202091.902000001, power=50.13))
2024-01-05 04:26:11,928 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425162, 'time': '04:26:02', 'grid': 6.735, 'house-power': 2.389, 'charging-all': 4.302, 'pv-all': -0.044, 'cp1-power': 4.302, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:26:11,933 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:26:11,934 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:26:11,937 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:26:11,938 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:26:11,940 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:26:11,945 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:26:11,946 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:26:11,947 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:26:11,949 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:26:11,951 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:26:11,953 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.71, 54.14, 54.07]A verbleibende Ströme, 36420.74W verbleibende Leistung
2024-01-05 04:26:11,954 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:26:11,957 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:26:11,959 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:26:11,960 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:26:11,962 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:26:11,966 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:26:11,967 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6679.260000000002W
2024-01-05 04:26:11,969 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6679.260000000002W
2024-01-05 04:26:11,970 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:26:11,971 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:26:11,974 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3851.0800000000745 counter 7210594.24
2024-01-05 04:26:11,977 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:26:11,980 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:26:12,018 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:26:12,267 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:26:15,282 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:26:15,283 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:26:20,295 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:26:20,296 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:26:20,340 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:26:20,341 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:26:20,342 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:26:20,348 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:26:20,351 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:26:20,393 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:26:20,396 - {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":240.8, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425179},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:26","unixtime":1704425180,"uptime":3784542,"ram_size":248936,"ram_free":144384,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:26:20,399 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425170.7293115, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:26:20,401 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00268625, power1: 0, power2: 0
2024-01-05 04:26:20,402 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:26:20,403 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425180.3998132, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:26:20,405 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:26:20,423 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6740, -2472, -2119, -2147], Scale 0
2024-01-05 04:26:20,454 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [103, 89, 89], Scale -1
2024-01-05 04:26:20,494 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23931, 24028, 23897, 0, 0, 0, 0], Scale -2
2024-01-05 04:26:20,522 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:26:20,553 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9959, 9890, 9980], Scale -2
2024-01-05 04:26:20,617 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337258, 3034992, 2160434, 2693776], Scale 0
2024-01-05 04:26:20,618 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.3, 8.9, 8.9], powers=[2472.0, 2119.0, 2147.0], voltages=[239.31, 240.28, 238.97], power_factors=[0.9959, 0.9890000000000001, 0.998], imported=7337258.0, exported=4871307.0, power=6740.0, frequency=49.97)
2024-01-05 04:26:20,620 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:26:20,653 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4566], Scale -2
2024-01-05 04:26:20,683 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:26:20,701 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 32, 33], Scale -2
2024-01-05 04:26:20,813 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4636], Scale -2
2024-01-05 04:26:20,814 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.32, 0.33], power=45.660000000000004, exported=7869605.0, dc_power=46.36)
2024-01-05 04:26:20,816 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:26:20,893 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425171.4256592, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:26:20,894 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00263004, power1: 0, power2: 0
2024-01-05 04:26:20,895 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:26:20,895 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425180.8937898, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:26:20,896 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:26:20,913 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:26:20,914 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:26:20,979 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:26:20,980 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:26:20,981 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:26:20,982 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=45.660000000000004, exported=7904493.99, dc_power=None)
2024-01-05 04:26:20,984 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:26:20,992 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=45.660000000000004, exported=7904493.99, dc_power=None)
2024-01-05 04:26:20,994 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:26:21,066 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:26:21,067 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.3, 8.9, 8.9], powers=[2472.0, 2119.0, 2147.0], voltages=[239.31, 240.28, 238.97], power_factors=[0.9959, 0.9890000000000001, 0.998], imported=7337258.0, exported=4871307.0, power=6740.0, frequency=49.97)
2024-01-05 04:26:21,243 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:26:21,250 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:26:21,255 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.71, 60.14, 60.17]A
2024-01-05 04:26:21,256 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40552.19W
2024-01-05 04:26:21,258 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:26:21,268 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:26:21,270 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:26:21,281 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:34:08.695652 start_time 2024-01-05 04:05:51.304348 end 2024-01-05 05:40:00 now 2024-01-05 04:26:21.280925
2024-01-05 04:26:21,282 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1229.976577s, Dauer 1.569082125603865h, Termin heute verpasst: False
2024-01-05 04:26:21,283 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:26:53.913043 start_time 2024-01-06 05:13:06.086957 end 2024-01-06 05:40:00 now 2024-01-05 04:26:21.283335
2024-01-05 04:26:21,285 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89204.803622s, Dauer 0.44830917874396137h, Termin heute verpasst: False
2024-01-05 04:26:21,286 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:26:21,290 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:26:21,291 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:26:21,335 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425171.8931231, power=2389.13, imported=3360411.788193877, exported=0)
2024-01-05 04:26:21,337 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00262289, power1: 2389.13, power2: 2402.15
2024-01-05 04:26:21,338 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.28351
2024-01-05 04:26:21,348 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.28351 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425181.33554, power=2402.1500000000005, imported=3360418.071702665, exported=0)
2024-01-05 04:26:21,352 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:26:21,358 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:26:21,363 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3753.91, daily_exported=0, power=4292.19, imported=7210604.0, exported=0))
2024-01-05 04:26:21,366 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=66), currents=[6.04, 6.07, 6.01], daily_imported=3753.91, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210604.0, phases_in_use=3, plug_state=True, power=4292.19, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.71, 239.36, 239.75]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3851.0800000000745, imported_since_plugged=3851.0800000000745, range_charged=19.25540000000037, time_charged='4:14', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7cd838>), 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))
2024-01-05 04:26:21,367 - {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=[])
2024-01-05 04:26:21,372 - {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'])
2024-01-05 04:26:21,373 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2472.0, 2119.0, 2147.0], currents=[10.3, 8.9, 8.9], voltages=[239.31, 240.28, 238.97], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=9247.0, imported=7337258.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6740.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40552.19, raw_currents_left=[58.71, 60.14, 60.17], surplus_power_left=0, state_str=''))
2024-01-05 04:26:21,379 - {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=2402.1500000000005, invalid_home_consumption=0, daily_yield_home_consumption=5312.1950177583, imported_home_consumption=3360418.071702665, disengageable_smarthome_power=0))
2024-01-05 04:26:21,381 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:26:21,382 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:26:21,384 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:26:21,385 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:26:21,387 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:26:21,388 - {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=20000, 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=67, soc_timestamp=1704425178.715252, force_soc_update=False, range=202, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:26:21,389 - {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)
2024-01-05 04:26:21,390 - {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)
2024-01-05 04:26:21,391 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:26:21,393 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:26:21,394 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:26:21,396 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:26:21,396 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7f03e8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:26:21,397 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:26:21,398 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=45.66))
2024-01-05 04:26:21,400 - {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=8202091.902000001, power=45.66))
2024-01-05 04:26:21,401 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425172, 'time': '04:26:12', 'grid': 6.731, 'house-power': 2.389, 'charging-all': 4.292, 'pv-all': -0.05, 'cp1-power': 4.292, 'ev1-soc': 58.0, 'ev2-soc': 66, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:26:21,403 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:26:21,405 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:26:21,406 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:26:21,407 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:26:21,408 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:26:21,409 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:26:21,410 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:26:21,411 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:26:21,412 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:26:21,413 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:26:21,414 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.71, 54.14, 54.17]A verbleibende Ströme, 36412.19W verbleibende Leistung
2024-01-05 04:26:21,416 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:26:21,418 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:26:21,420 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:26:21,420 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:26:21,422 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:26:21,424 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:26:21,425 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6687.809999999998W
2024-01-05 04:26:21,425 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6687.809999999998W
2024-01-05 04:26:21,426 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:26:21,426 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:26:21,427 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3860.839999999851 counter 7210604.0
2024-01-05 04:26:21,429 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:26:21,432 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:26:21,470 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:26:21,836 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:26:21,854 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:26:25,864 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:26:25,864 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:26:30,877 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:26:30,878 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:26:30,970 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:26:30,972 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:26:30,973 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:26:30,982 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:26:30,985 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:26:31,025 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:26:31,028 - {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":240.7, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425189},"temperature":{"tC":29.2, "tF":84.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:26","unixtime":1704425191,"uptime":3784553,"ram_size":248948,"ram_free":144524,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:26:31,032 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425180.3998132, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:26:31,032 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00295338, power1: 0, power2: 0
2024-01-05 04:26:31,033 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:26:31,033 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425191.0319963, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:26:31,034 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:26:31,097 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6773, -2506, -2120, -2147], Scale 0
2024-01-05 04:26:31,134 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [103, 89, 90], Scale -1
2024-01-05 04:26:31,153 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23937, 24038, 23902, 0, 0, 0, 0], Scale -2
2024-01-05 04:26:31,173 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:26:31,253 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9959, 9890, 9969], Scale -2
2024-01-05 04:26:31,285 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337273, 3034997, 2160439, 2693780], Scale 0
2024-01-05 04:26:31,285 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.3, 8.9, 9.0], powers=[2506.0, 2120.0, 2147.0], voltages=[239.37, 240.38, 239.02], power_factors=[0.9959, 0.9890000000000001, 0.9969], imported=7337273.0, exported=4871307.0, power=6773.0, frequency=49.97)
2024-01-05 04:26:31,287 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:26:31,313 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4987], Scale -2
2024-01-05 04:26:31,333 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:26:31,352 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 31, 33], Scale -2
2024-01-05 04:26:31,374 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5063], Scale -2
2024-01-05 04:26:31,374 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.31, 0.33], power=49.870000000000005, exported=7869605.0, dc_power=50.63)
2024-01-05 04:26:31,376 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:26:31,453 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425180.8937898, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:26:31,454 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00293328, power1: 0, power2: 0
2024-01-05 04:26:31,454 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:26:31,454 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425191.4535806, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:26:31,457 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:26:31,465 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:26:31,466 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:26:31,507 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:26:31,510 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:26:31,512 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=49.870000000000005, exported=7904493.99, dc_power=None)
2024-01-05 04:26:31,513 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:26:31,515 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=49.870000000000005, exported=7904493.99, dc_power=None)
2024-01-05 04:26:31,519 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:26:31,523 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:26:31,573 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:26:31,574 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.3, 8.9, 9.0], powers=[2506.0, 2120.0, 2147.0], voltages=[239.37, 240.38, 239.02], power_factors=[0.9959, 0.9890000000000001, 0.9969], imported=7337273.0, exported=4871307.0, power=6773.0, frequency=49.97)
2024-01-05 04:26:31,851 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:26:31,859 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:26:31,886 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.73, 60.15, 60.08]A
2024-01-05 04:26:31,888 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40529.12W
2024-01-05 04:26:31,890 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:26:31,894 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:26:31,900 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:26:31,901 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:34:08.695652 start_time 2024-01-05 04:05:51.304348 end 2024-01-05 05:40:00 now 2024-01-05 04:26:31.901134
2024-01-05 04:26:31,908 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1240.596786s, Dauer 1.569082125603865h, Termin heute verpasst: False
2024-01-05 04:26:31,910 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:26:53.913043 start_time 2024-01-06 05:13:06.086957 end 2024-01-06 05:40:00 now 2024-01-05 04:26:31.909891
2024-01-05 04:26:31,912 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89194.177066s, Dauer 0.44830917874396137h, Termin heute verpasst: False
2024-01-05 04:26:31,913 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:26:31,917 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:26:31,919 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:26:31,923 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425181.33554, power=2402.1500000000005, imported=3360418.071702665, exported=0)
2024-01-05 04:26:31,930 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00294118, power1: 2402.15, power2: 2421.01
2024-01-05 04:26:31,934 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.0929
2024-01-05 04:26:31,938 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.0929 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425191.9237983, power=2421.01, imported=3360425.164600407, exported=0)
2024-01-05 04:26:31,942 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:26:31,948 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:26:31,949 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3753.91, daily_exported=0, power=4302.12, imported=7210616.21, exported=0))
2024-01-05 04:26:31,952 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=67), currents=[6.05, 6.08, 6.03], daily_imported=3753.91, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210616.21, phases_in_use=3, plug_state=True, power=4302.12, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.65, 239.32, 239.64]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3860.839999999851, imported_since_plugged=3860.839999999851, range_charged=19.304199999999256, time_charged='4:14', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b93268>), 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))
2024-01-05 04:26:31,954 - {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=[])
2024-01-05 04:26:31,955 - {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'])
2024-01-05 04:26:31,960 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2506.0, 2120.0, 2147.0], currents=[10.3, 8.9, 9.0], voltages=[239.37, 240.38, 239.02], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=9247.0, imported=7337273.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6773.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40529.12, raw_currents_left=[58.73, 60.15, 60.08], surplus_power_left=0, state_str=''))
2024-01-05 04:26:31,963 - {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=2421.01, invalid_home_consumption=0, daily_yield_home_consumption=5312.1950177583, imported_home_consumption=3360425.164600407, disengageable_smarthome_power=0))
2024-01-05 04:26:31,964 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:26:31,967 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:26:31,968 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:26:31,973 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:26:31,974 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:26:31,975 - {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=20000, 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=67, soc_timestamp=1704425178.715252, force_soc_update=False, range=202, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:26:31,976 - {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)
2024-01-05 04:26:31,978 - {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)
2024-01-05 04:26:31,985 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:26:31,986 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:26:31,987 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:26:31,988 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:26:31,989 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7f9640>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:26:31,989 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:26:31,990 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=49.87))
2024-01-05 04:26:31,992 - {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=8202091.902000001, power=49.87))
2024-01-05 04:26:31,993 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425181, 'time': '04:26:21', 'grid': 6.74, 'house-power': 2.402, 'charging-all': 4.292, 'pv-all': -0.046, 'cp1-power': 4.292, 'ev1-soc': 58.0, 'ev2-soc': 67, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:26:31,994 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:26:31,996 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:26:31,996 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:26:31,998 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:26:32,000 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:26:32,002 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:26:32,002 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:26:32,003 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:26:32,003 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:26:32,005 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:26:32,007 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.73, 54.15, 54.08]A verbleibende Ströme, 36389.12W verbleibende Leistung
2024-01-05 04:26:32,009 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:26:32,012 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:26:32,014 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:26:32,015 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:26:32,016 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:26:32,018 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:26:32,019 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6710.879999999997W
2024-01-05 04:26:32,020 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6710.879999999997W
2024-01-05 04:26:32,021 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:26:32,024 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:26:32,025 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3873.0499999998137 counter 7210616.21
2024-01-05 04:26:32,028 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:26:32,035 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:26:32,064 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:26:32,367 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:26:35,404 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:26:35,405 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:26:40,417 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:26:40,418 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:26:40,460 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:26:40,461 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:26:40,462 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:26:40,469 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:26:40,472 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:26:40,511 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6780, -2505, -2125, -2150], Scale 0
2024-01-05 04:26:40,514 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:26:40,518 - {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":240.7, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425199},"temperature":{"tC":29.2, "tF":84.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:26","unixtime":1704425200,"uptime":3784563,"ram_size":248948,"ram_free":144524,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:26:40,521 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425191.0319963, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:26:40,522 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00263587, power1: 0, power2: 0
2024-01-05 04:26:40,522 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:26:40,522 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425200.5211346, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:26:40,526 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:26:40,532 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [105, 89, 89], Scale -1
2024-01-05 04:26:40,552 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23943, 24043, 23902, 0, 0, 0, 0], Scale -2
2024-01-05 04:26:40,592 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:26:40,612 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9909, 9990], Scale -2
2024-01-05 04:26:40,633 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337288, 3035003, 2160444, 2693785], Scale 0
2024-01-05 04:26:40,634 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.5, 8.9, 8.9], powers=[2505.0, 2125.0, 2150.0], voltages=[239.43, 240.43, 239.02], power_factors=[0.9929000000000001, 0.9909, 0.9990000000000001], imported=7337288.0, exported=4871307.0, power=6780.0, frequency=49.97)
2024-01-05 04:26:40,635 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:26:40,662 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4511], Scale -2
2024-01-05 04:26:40,715 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:26:40,755 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 33, 33], Scale -2
2024-01-05 04:26:40,783 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4619], Scale -2
2024-01-05 04:26:40,784 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.33, 0.33], power=45.11, exported=7869605.0, dc_power=46.19)
2024-01-05 04:26:40,785 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:26:40,873 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425191.4535806, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:26:40,874 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00261655, power1: 0, power2: 0
2024-01-05 04:26:40,874 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:26:40,875 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425200.8731623, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:26:40,876 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:26:40,885 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:26:40,888 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:26:40,953 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:26:40,955 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:26:40,961 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:26:40,969 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=45.11, exported=7904493.99, dc_power=None)
2024-01-05 04:26:40,975 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:26:40,976 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=45.11, exported=7904493.99, dc_power=None)
2024-01-05 04:26:40,977 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:26:41,038 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:26:41,039 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.5, 8.9, 8.9], powers=[2505.0, 2125.0, 2150.0], voltages=[239.43, 240.43, 239.02], power_factors=[0.9929000000000001, 0.9909, 0.9990000000000001], imported=7337288.0, exported=4871307.0, power=6780.0, frequency=49.97)
2024-01-05 04:26:41,233 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:26:41,238 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:26:41,249 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.53, 60.15, 60.18]A
2024-01-05 04:26:41,251 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40514.09W
2024-01-05 04:26:41,252 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:26:41,255 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:26:41,256 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:26:41,257 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:34:08.695652 start_time 2024-01-05 04:05:51.304348 end 2024-01-05 05:40:00 now 2024-01-05 04:26:41.257362
2024-01-05 04:26:41,258 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1249.953014s, Dauer 1.569082125603865h, Termin heute verpasst: False
2024-01-05 04:26:41,262 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:26:53.913043 start_time 2024-01-06 05:13:06.086957 end 2024-01-06 05:40:00 now 2024-01-05 04:26:41.261705
2024-01-05 04:26:41,262 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89184.825252s, Dauer 0.44830917874396137h, Termin heute verpasst: False
2024-01-05 04:26:41,263 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:26:41,266 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:26:41,268 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:26:41,292 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425191.9237983, power=2421.01, imported=3360425.164600407, exported=0)
2024-01-05 04:26:41,294 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00260251, power1: 2421.01, power2: 2440.8
2024-01-05 04:26:41,295 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.32644
2024-01-05 04:26:41,295 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.32644 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425201.2928178, power=2440.8, imported=3360431.4910438424, exported=0)
2024-01-05 04:26:41,297 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:26:41,298 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:26:41,299 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3753.91, daily_exported=0, power=4294.09, imported=7210627.93, exported=0))
2024-01-05 04:26:41,300 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=67), currents=[6.05, 6.08, 6.03], daily_imported=3753.91, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210627.93, phases_in_use=3, plug_state=True, power=4294.09, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.63, 239.23, 239.64]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3873.0499999998137, imported_since_plugged=3873.0499999998137, range_charged=19.36524999999907, time_charged='4:14', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b3d3e8>), 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))
2024-01-05 04:26:41,302 - {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=[])
2024-01-05 04:26:41,303 - {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'])
2024-01-05 04:26:41,305 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2505.0, 2125.0, 2150.0], currents=[10.5, 8.9, 8.9], voltages=[239.43, 240.43, 239.02], power_factors=[0.99, 0.99, 1.0], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=9247.0, imported=7337288.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6780.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40514.09, raw_currents_left=[58.53, 60.15, 60.18], surplus_power_left=0, state_str=''))
2024-01-05 04:26:41,306 - {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=2440.8, invalid_home_consumption=0, daily_yield_home_consumption=5312.1950177583, imported_home_consumption=3360431.4910438424, disengageable_smarthome_power=0))
2024-01-05 04:26:41,307 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:26:41,308 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:26:41,310 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:26:41,311 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:26:41,312 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:26:41,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=20000, 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=67, soc_timestamp=1704425178.715252, force_soc_update=False, range=202, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:26:41,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)
2024-01-05 04:26:41,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)
2024-01-05 04:26:41,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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:26:41,321 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:26:41,322 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:26:41,327 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:26:41,331 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7f9a48>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:26:41,332 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:26:41,333 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=45.11))
2024-01-05 04:26:41,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=8202091.902000001, power=45.11))
2024-01-05 04:26:41,336 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425192, 'time': '04:26:32', 'grid': 6.773, 'house-power': 2.421, 'charging-all': 4.302, 'pv-all': -0.05, 'cp1-power': 4.302, 'ev1-soc': 58.0, 'ev2-soc': 67, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:26:41,337 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:26:41,343 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:26:41,344 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:26:41,345 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:26:41,347 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:26:41,351 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:26:41,351 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:26:41,352 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:26:41,352 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:26:41,353 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:26:41,354 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.53, 54.15, 54.18]A verbleibende Ströme, 36374.09W verbleibende Leistung
2024-01-05 04:26:41,354 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:26:41,357 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:26:41,359 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:26:41,360 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:26:41,362 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:26:41,368 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:26:41,369 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6725.9100000000035W
2024-01-05 04:26:41,374 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6725.9100000000035W
2024-01-05 04:26:41,381 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:26:41,382 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:26:41,384 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3884.769999999553 counter 7210627.93
2024-01-05 04:26:41,391 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:26:41,394 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:26:41,438 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:26:41,716 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:26:41,724 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:26:45,734 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:26:45,735 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:26:50,747 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:26:50,747 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:26:50,789 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:26:50,791 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:26:50,792 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:26:50,798 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:26:50,798 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:26:50,841 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:26:50,843 - {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":240.7, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425209},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:26","unixtime":1704425211,"uptime":3784573,"ram_size":249000,"ram_free":145096,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:26:50,847 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425200.5211346, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:26:50,849 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00286847, power1: 0, power2: 0
2024-01-05 04:26:50,850 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:26:50,851 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425210.8476248, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:26:50,853 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:26:50,893 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6833, -2510, -2126, -2196], Scale 0
2024-01-05 04:26:50,924 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [105, 89, 90], Scale -1
2024-01-05 04:26:50,955 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23937, 24041, 23899, 0, 0, 0, 0], Scale -2
2024-01-05 04:26:50,988 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:26:51,021 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9940, 9900, 9980], Scale -2
2024-01-05 04:26:51,082 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337318, 3035014, 2160453, 2693795], Scale 0
2024-01-05 04:26:51,083 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.5, 8.9, 9.0], powers=[2510.0, 2126.0, 2196.0], voltages=[239.37, 240.41, 238.99], power_factors=[0.9940000000000001, 0.99, 0.998], imported=7337318.0, exported=4871307.0, power=6833.0, frequency=49.97)
2024-01-05 04:26:51,092 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:26:51,111 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4596], Scale -2
2024-01-05 04:26:51,277 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:26:51,343 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [31, 33, 34], Scale -2
2024-01-05 04:26:51,363 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5341], Scale -2
2024-01-05 04:26:51,364 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.31, 0.33, 0.34], power=45.96, exported=7869605.0, dc_power=53.410000000000004)
2024-01-05 04:26:51,369 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:26:51,483 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425200.8731623, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:26:51,484 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00294715, power1: 0, power2: 0
2024-01-05 04:26:51,484 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:26:51,485 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425211.482914, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:26:51,486 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:26:51,493 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:26:51,494 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:26:51,568 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:26:51,570 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:26:51,573 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:26:51,575 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=45.96, exported=7904493.99, dc_power=None)
2024-01-05 04:26:51,577 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:26:51,579 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=45.96, exported=7904493.99, dc_power=None)
2024-01-05 04:26:51,587 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:26:51,675 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:26:51,677 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.5, 8.9, 9.0], powers=[2510.0, 2126.0, 2196.0], voltages=[239.37, 240.41, 238.99], power_factors=[0.9940000000000001, 0.99, 0.998], imported=7337318.0, exported=4871307.0, power=6833.0, frequency=49.97)
2024-01-05 04:26:51,882 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:26:51,884 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:26:51,887 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.51, 60.14, 60.06]A
2024-01-05 04:26:51,888 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40460.34W
2024-01-05 04:26:51,890 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:26:51,892 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:26:51,893 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:26:51,894 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:34:08.695652 start_time 2024-01-05 04:05:51.304348 end 2024-01-05 05:40:00 now 2024-01-05 04:26:51.894277
2024-01-05 04:26:51,897 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1260.589929s, Dauer 1.569082125603865h, Termin heute verpasst: False
2024-01-05 04:26:51,900 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:26:53.913043 start_time 2024-01-06 05:13:06.086957 end 2024-01-06 05:40:00 now 2024-01-05 04:26:51.900169
2024-01-05 04:26:51,901 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89174.186788s, Dauer 0.44830917874396137h, Termin heute verpasst: False
2024-01-05 04:26:51,903 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:26:51,907 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:26:51,910 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.06
2024-01-05 04:26:51,917 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425201.2928178, power=2440.8, imported=3360431.4910438424, exported=0)
2024-01-05 04:26:51,918 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00295141, power1: 2440.8, power2: 2493.7
2024-01-05 04:26:51,930 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.28186
2024-01-05 04:26:51,933 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.28186 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425211.9178839, power=2493.7, imported=3360438.7729033404, exported=0)
2024-01-05 04:26:51,947 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:26:51,953 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:26:51,954 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3753.91, daily_exported=0, power=4293.34, imported=7210641.11, exported=0))
2024-01-05 04:26:51,956 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=67), currents=[6.04, 6.06, 6.01], daily_imported=3753.91, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210641.11, phases_in_use=3, plug_state=True, power=4293.34, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.7, 239.34, 239.68]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3884.769999999553, imported_since_plugged=3884.769999999553, range_charged=19.423849999997763, time_charged='4:15', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7e8430>), 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))
2024-01-05 04:26:51,957 - {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=[])
2024-01-05 04:26:51,962 - {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'])
2024-01-05 04:26:51,963 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2510.0, 2126.0, 2196.0], currents=[10.5, 8.9, 9.0], voltages=[239.37, 240.41, 238.99], power_factors=[0.99, 0.99, 1.0], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=9247.0, imported=7337318.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6833.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40460.34, raw_currents_left=[58.51, 60.14, 60.06], surplus_power_left=0, state_str=''))
2024-01-05 04:26:51,963 - {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=2493.7, invalid_home_consumption=0, daily_yield_home_consumption=5312.1950177583, imported_home_consumption=3360438.7729033404, disengageable_smarthome_power=0))
2024-01-05 04:26:51,964 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:26:51,966 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:26:51,967 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:26:51,969 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:26:51,971 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:26:51,972 - {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=20000, 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=67, soc_timestamp=1704425178.715252, force_soc_update=False, range=202, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:26:51,974 - {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)
2024-01-05 04:26:51,976 - {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)
2024-01-05 04:26:51,978 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:26:51,980 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:26:51,982 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:26:51,983 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:26:51,984 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x70b61928>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:26:51,985 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:26:51,986 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=45.96))
2024-01-05 04:26:51,987 - {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=8202091.902000001, power=45.96))
2024-01-05 04:26:51,992 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425201, 'time': '04:26:41', 'grid': 6.78, 'house-power': 2.441, 'charging-all': 4.294, 'pv-all': -0.045, 'cp1-power': 4.294, 'ev1-soc': 58.0, 'ev2-soc': 67, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:26:51,993 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:26:51,995 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:26:51,998 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:26:52,000 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:26:52,001 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:26:52,002 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:26:52,006 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:26:52,007 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:26:52,008 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:26:52,009 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:26:52,011 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.51, 54.14, 54.06]A verbleibende Ströme, 36320.34W verbleibende Leistung
2024-01-05 04:26:52,012 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:26:52,015 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:26:52,016 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:26:52,017 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:26:52,019 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:26:52,021 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:26:52,021 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6779.6600000000035W
2024-01-05 04:26:52,022 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6779.6600000000035W
2024-01-05 04:26:52,022 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:26:52,022 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:26:52,023 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3897.9500000001863 counter 7210641.11
2024-01-05 04:26:52,026 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:26:52,029 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:26:52,057 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:26:52,376 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:26:55,433 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:26:55,434 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:27:00,446 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:27:00,447 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:27:00,491 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:27:00,491 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:27:00,493 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:27:00,500 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:27:00,533 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:27:00,557 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:27:00,560 - {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":240.6, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425219},"temperature":{"tC":29.2, "tF":84.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:27","unixtime":1704425221,"uptime":3784583,"ram_size":248940,"ram_free":144416,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:27:00,563 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425210.8476248, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:27:00,564 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00269876, power1: 0, power2: 0
2024-01-05 04:27:00,564 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:27:00,564 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425220.5631716, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:27:00,565 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:27:00,682 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6813, -2500, -2121, -2191], Scale 0
2024-01-05 04:27:00,706 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [105, 89, 92], Scale -1
2024-01-05 04:27:00,748 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23928, 24027, 23878, 0, 0, 0, 0], Scale -2
2024-01-05 04:27:00,821 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:27:00,841 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9959, 9869, 9980], Scale -2
2024-01-05 04:27:00,872 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337326, 3035017, 2160456, 2693797], Scale 0
2024-01-05 04:27:00,873 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.5, 8.9, 9.200000000000001], powers=[2500.0, 2121.0, 2191.0], voltages=[239.28, 240.27, 238.78], power_factors=[0.9959, 0.9869, 0.998], imported=7337326.0, exported=4871307.0, power=6813.0, frequency=49.97)
2024-01-05 04:27:00,881 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:27:00,974 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4357], Scale -2
2024-01-05 04:27:01,002 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:27:01,034 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [31, 33, 34], Scale -2
2024-01-05 04:27:01,082 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4890], Scale -2
2024-01-05 04:27:01,083 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.31, 0.33, 0.34], power=43.57, exported=7869605.0, dc_power=48.9)
2024-01-05 04:27:01,091 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:27:01,161 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425211.482914, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:27:01,162 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00268861, power1: 0, power2: 0
2024-01-05 04:27:01,163 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:27:01,163 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425221.1619143, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:27:01,166 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:27:01,180 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:27:01,181 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:27:01,227 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:27:01,228 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:27:01,230 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:27:01,231 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=43.57, exported=7904493.99, dc_power=None)
2024-01-05 04:27:01,233 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:27:01,243 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=43.57, exported=7904493.99, dc_power=None)
2024-01-05 04:27:01,245 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:27:01,311 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:27:01,312 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.5, 8.9, 9.200000000000001], powers=[2500.0, 2121.0, 2191.0], voltages=[239.28, 240.27, 238.78], power_factors=[0.9959, 0.9869, 0.998], imported=7337326.0, exported=4871307.0, power=6813.0, frequency=49.97)
2024-01-05 04:27:01,472 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:27:01,474 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:27:01,476 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.53, 60.16, 59.89]A
2024-01-05 04:27:01,477 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40490.75W
2024-01-05 04:27:01,479 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:27:01,481 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:27:01,482 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:27:01,484 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:34:08.695652 start_time 2024-01-05 04:05:51.304348 end 2024-01-05 05:40:00 now 2024-01-05 04:27:01.484006
2024-01-05 04:27:01,486 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1270.179658s, Dauer 1.569082125603865h, Termin heute verpasst: False
2024-01-05 04:27:01,487 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:26:53.913043 start_time 2024-01-06 05:13:06.086957 end 2024-01-06 05:40:00 now 2024-01-05 04:27:01.487000
2024-01-05 04:27:01,489 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89164.599957s, Dauer 0.44830917874396137h, Termin heute verpasst: False
2024-01-05 04:27:01,489 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:27:01,491 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:27:01,492 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.09
2024-01-05 04:27:01,494 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425211.9178839, power=2493.7, imported=3360438.7729033404, exported=0)
2024-01-05 04:27:01,496 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00266028, power1: 2493.7, power2: 2465.68
2024-01-05 04:27:01,498 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.59668
2024-01-05 04:27:01,499 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.59668 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425221.4949033, power=2465.6800000000003, imported=3360445.3695809427, exported=0)
2024-01-05 04:27:01,507 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:27:01,513 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:27:01,514 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3753.91, daily_exported=0, power=4303.75, imported=7210652.83, exported=0))
2024-01-05 04:27:01,517 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=67), currents=[6.06, 6.09, 6.03], daily_imported=3753.91, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210652.83, phases_in_use=3, plug_state=True, power=4303.75, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.6, 239.15, 239.59]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3897.9500000001863, imported_since_plugged=3897.9500000001863, range_charged=19.48975000000093, time_charged='4:15', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b899b8>), 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))
2024-01-05 04:27:01,523 - {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=[])
2024-01-05 04:27:01,524 - {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'])
2024-01-05 04:27:01,526 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2500.0, 2121.0, 2191.0], currents=[10.5, 8.9, 9.2], voltages=[239.28, 240.27, 238.78], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=9247.0, imported=7337326.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6813.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40490.75, raw_currents_left=[58.53, 60.16, 59.89], surplus_power_left=0, state_str=''))
2024-01-05 04:27:01,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=2465.6800000000003, invalid_home_consumption=0, daily_yield_home_consumption=5312.1950177583, imported_home_consumption=3360445.3695809427, disengageable_smarthome_power=0))
2024-01-05 04:27:01,537 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:27:01,542 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:27:01,546 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:27:01,548 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:27:01,555 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:27:01,563 - {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=20000, 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=67, soc_timestamp=1704425178.715252, force_soc_update=False, range=202, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:27:01,564 - {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)
2024-01-05 04:27:01,568 - {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)
2024-01-05 04:27:01,572 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:27:01,573 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:27:01,577 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:27:01,583 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:27:01,587 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x70b4f2e0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:27:01,588 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:27:01,590 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=43.57))
2024-01-05 04:27:01,593 - {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=8202091.902000001, power=43.57))
2024-01-05 04:27:01,595 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425212, 'time': '04:26:52', 'grid': 6.833, 'house-power': 2.494, 'charging-all': 4.293, 'pv-all': -0.046, 'cp1-power': 4.293, 'ev1-soc': 58.0, 'ev2-soc': 67, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:27:01,597 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:27:01,599 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:27:01,600 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:27:01,603 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:27:01,604 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:27:01,619 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:27:01,621 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:27:01,625 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:27:01,628 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:27:01,630 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:27:01,633 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.53, 54.16, 53.89]A verbleibende Ströme, 36350.75W verbleibende Leistung
2024-01-05 04:27:01,635 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:27:01,638 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:27:01,640 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:27:01,642 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:27:01,643 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:27:01,645 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:27:01,645 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6749.25W
2024-01-05 04:27:01,647 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6749.25W
2024-01-05 04:27:01,648 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:27:01,649 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:27:01,652 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3909.6699999999255 counter 7210652.83
2024-01-05 04:27:01,659 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:27:01,663 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:27:01,710 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:27:01,995 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:27:01,996 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:27:05,010 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:27:05,011 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:27:10,033 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:27:10,035 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:27:10,108 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:27:10,111 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:27:10,112 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:27:10,120 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:27:10,131 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:27:10,172 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:27:10,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":240.7, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425229},"temperature":{"tC":28.9, "tF":84.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:27","unixtime":1704425230,"uptime":3784592,"ram_size":248948,"ram_free":144524,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:27:10,181 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425220.5631716, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:27:10,182 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00267183, power1: 0, power2: 0
2024-01-05 04:27:10,183 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:27:10,184 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425230.1817417, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:27:10,185 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:27:10,196 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6792, -2492, -2119, -2179], Scale 0
2024-01-05 04:27:10,222 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [104, 89, 91], Scale -1
2024-01-05 04:27:10,274 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23923, 24024, 23874, 0, 0, 0, 0], Scale -2
2024-01-05 04:27:10,315 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:27:10,360 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9950, 9919, 10000], Scale -2
2024-01-05 04:27:10,381 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337341, 3035023, 2160460, 2693802], Scale 0
2024-01-05 04:27:10,382 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.4, 8.9, 9.1], powers=[2492.0, 2119.0, 2179.0], voltages=[239.23000000000002, 240.24, 238.74], power_factors=[0.995, 0.9919, 1.0], imported=7337341.0, exported=4871307.0, power=6792.0, frequency=49.97)
2024-01-05 04:27:10,383 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:27:10,400 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4807], Scale -2
2024-01-05 04:27:10,420 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:27:10,462 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [31, 33, 35], Scale -2
2024-01-05 04:27:10,506 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4881], Scale -2
2024-01-05 04:27:10,507 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.31, 0.33, 0.35000000000000003], power=48.07, exported=7869605.0, dc_power=48.81)
2024-01-05 04:27:10,508 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:27:10,553 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425221.1619143, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:27:10,554 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00260883, power1: 0, power2: 0
2024-01-05 04:27:10,554 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:27:10,555 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425230.5536845, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:27:10,556 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:27:10,560 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:27:10,561 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:27:10,606 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:27:10,607 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:27:10,608 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=48.07, exported=7904493.99, dc_power=None)
2024-01-05 04:27:10,609 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:27:10,609 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=48.07, exported=7904493.99, dc_power=None)
2024-01-05 04:27:10,613 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:27:10,620 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:27:10,669 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:27:10,672 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.4, 8.9, 9.1], powers=[2492.0, 2119.0, 2179.0], voltages=[239.23000000000002, 240.24, 238.74], power_factors=[0.995, 0.9919, 1.0], imported=7337341.0, exported=4871307.0, power=6792.0, frequency=49.97)
2024-01-05 04:27:10,846 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:27:10,848 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:27:10,853 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.61, 60.14, 59.97]A
2024-01-05 04:27:10,854 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40499.770000000004W
2024-01-05 04:27:10,857 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:27:10,860 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:27:10,862 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:27:10,864 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:34:08.695652 start_time 2024-01-05 04:05:51.304348 end 2024-01-05 05:40:00 now 2024-01-05 04:27:10.864174
2024-01-05 04:27:10,866 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1279.559826s, Dauer 1.569082125603865h, Termin heute verpasst: False
2024-01-05 04:27:10,869 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:26:53.913043 start_time 2024-01-06 05:13:06.086957 end 2024-01-06 05:40:00 now 2024-01-05 04:27:10.868497
2024-01-05 04:27:10,870 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89155.21846s, Dauer 0.44830917874396137h, Termin heute verpasst: False
2024-01-05 04:27:10,871 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:27:10,879 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:27:10,886 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:27:10,907 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425221.4949033, power=2465.6800000000003, imported=3360445.3695809427, exported=0)
2024-01-05 04:27:10,909 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00261458, power1: 2465.68, power2: 2452.16
2024-01-05 04:27:10,910 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.42905
2024-01-05 04:27:10,911 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.42905 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425230.9074054, power=2452.16, imported=3360451.798633593, exported=0)
2024-01-05 04:27:10,913 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:27:10,914 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:27:10,915 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3753.91, daily_exported=0, power=4291.77, imported=7210664.06, exported=0))
2024-01-05 04:27:10,917 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=67), currents=[6.04, 6.07, 6.01], daily_imported=3753.91, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210664.06, phases_in_use=3, plug_state=True, power=4291.77, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.71, 239.27, 239.62]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3909.6699999999255, imported_since_plugged=3909.6699999999255, range_charged=19.54834999999963, time_charged='4:15', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7edb08>), 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))
2024-01-05 04:27:10,918 - {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=[])
2024-01-05 04:27:10,919 - {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'])
2024-01-05 04:27:10,920 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2492.0, 2119.0, 2179.0], currents=[10.4, 8.9, 9.1], voltages=[239.23, 240.24, 238.74], power_factors=[0.99, 0.99, 1.0], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=9247.0, imported=7337341.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6792.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40499.770000000004, raw_currents_left=[58.61, 60.14, 59.97], surplus_power_left=0, state_str=''))
2024-01-05 04:27:10,922 - {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=2452.16, invalid_home_consumption=0, daily_yield_home_consumption=5312.1950177583, imported_home_consumption=3360451.798633593, disengageable_smarthome_power=0))
2024-01-05 04:27:10,924 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:27:10,925 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:27:10,928 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:27:10,930 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:27:10,942 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:27:10,943 - {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=20000, 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=67, soc_timestamp=1704425178.715252, force_soc_update=False, range=202, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:27:10,944 - {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)
2024-01-05 04:27:10,944 - {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)
2024-01-05 04:27:10,946 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:27:10,947 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:27:10,948 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:27:10,949 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:27:10,950 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7f9268>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:27:10,951 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:27:10,952 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=48.07))
2024-01-05 04:27:10,953 - {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=8202091.902000001, power=48.07))
2024-01-05 04:27:10,954 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425221, 'time': '04:27:01', 'grid': 6.813, 'house-power': 2.466, 'charging-all': 4.304, 'pv-all': -0.044, 'cp1-power': 4.304, 'ev1-soc': 58.0, 'ev2-soc': 67, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:27:10,957 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:27:10,960 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:27:10,961 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:27:10,962 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:27:10,963 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:27:10,966 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:27:10,973 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:27:10,974 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:27:10,976 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:27:10,977 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:27:10,979 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.61, 54.14, 53.97]A verbleibende Ströme, 36359.770000000004W verbleibende Leistung
2024-01-05 04:27:10,983 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:27:10,985 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:27:10,987 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:27:10,989 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:27:10,991 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:27:10,993 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:27:10,994 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6740.229999999996W
2024-01-05 04:27:10,995 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6740.229999999996W
2024-01-05 04:27:10,999 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:27:11,001 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:27:11,003 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3920.899999999441 counter 7210664.06
2024-01-05 04:27:11,006 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:27:11,008 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:27:11,042 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:27:11,277 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:27:15,372 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:27:15,373 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:27:20,386 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:27:20,388 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:27:20,452 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:27:20,460 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:27:20,466 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:27:20,467 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:27:20,476 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:27:20,494 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6801, -2498, -2125, -2177], Scale 0
2024-01-05 04:27:20,525 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:27:20,528 - {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":240.7, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425239},"temperature":{"tC":29.1, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:27","unixtime":1704425241,"uptime":3784603,"ram_size":248944,"ram_free":142824,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:27:20,530 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425230.1817417, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:27:20,530 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00287453, power1: 0, power2: 0
2024-01-05 04:27:20,531 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:27:20,532 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425240.5300422, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:27:20,534 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:27:20,571 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [105, 89, 91], Scale -1
2024-01-05 04:27:20,591 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23926, 24038, 23883, 0, 0, 0, 0], Scale -2
2024-01-05 04:27:20,611 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:27:20,631 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9929, 9900, 9980], Scale -2
2024-01-05 04:27:20,683 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337372, 3035034, 2160470, 2693812], Scale 0
2024-01-05 04:27:20,684 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.5, 8.9, 9.1], powers=[2498.0, 2125.0, 2177.0], voltages=[239.26, 240.38, 238.83], power_factors=[0.9929000000000001, 0.99, 0.998], imported=7337372.0, exported=4871307.0, power=6801.0, frequency=49.97)
2024-01-05 04:27:20,686 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:27:20,727 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4684], Scale -2
2024-01-05 04:27:20,812 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:27:20,963 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 32, 33], Scale -2
2024-01-05 04:27:21,006 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5239], Scale -2
2024-01-05 04:27:21,007 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.32, 0.33], power=46.84, exported=7869605.0, dc_power=52.39)
2024-01-05 04:27:21,008 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:27:21,061 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425230.5536845, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:27:21,062 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00291895, power1: 0, power2: 0
2024-01-05 04:27:21,063 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:27:21,063 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425241.0619135, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:27:21,064 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:27:21,070 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:27:21,080 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:27:21,123 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:27:21,124 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:27:21,126 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:27:21,137 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.84, exported=7904493.99, dc_power=None)
2024-01-05 04:27:21,138 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:27:21,138 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.84, exported=7904493.99, dc_power=None)
2024-01-05 04:27:21,139 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:27:21,198 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:27:21,199 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.5, 8.9, 9.1], powers=[2498.0, 2125.0, 2177.0], voltages=[239.26, 240.38, 238.83], power_factors=[0.9929000000000001, 0.99, 0.998], imported=7337372.0, exported=4871307.0, power=6801.0, frequency=49.97)
2024-01-05 04:27:21,386 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:27:21,388 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:27:21,390 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.53, 60.15, 59.99]A
2024-01-05 04:27:21,391 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40502.1W
2024-01-05 04:27:21,393 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:27:21,396 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:27:21,397 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:27:21,398 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:34:08.695652 start_time 2024-01-05 04:05:51.304348 end 2024-01-05 05:40:00 now 2024-01-05 04:27:21.398006
2024-01-05 04:27:21,399 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1290.093658s, Dauer 1.569082125603865h, Termin heute verpasst: False
2024-01-05 04:27:21,401 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:26:53.913043 start_time 2024-01-06 05:13:06.086957 end 2024-01-06 05:40:00 now 2024-01-05 04:27:21.400846
2024-01-05 04:27:21,402 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89144.686111s, Dauer 0.44830917874396137h, Termin heute verpasst: False
2024-01-05 04:27:21,403 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:27:21,407 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:27:21,415 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.09
2024-01-05 04:27:21,446 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425230.9074054, power=2452.16, imported=3360451.798633593, exported=0)
2024-01-05 04:27:21,449 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00292738, power1: 2452.16, power2: 2451.06
2024-01-05 04:27:21,451 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.1768
2024-01-05 04:27:21,454 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.1768 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425241.4459884, power=2451.0599999999995, imported=3360458.9754379173, exported=0)
2024-01-05 04:27:21,457 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:27:21,458 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:27:21,460 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3753.91, daily_exported=0, power=4303.1, imported=7210676.76, exported=0))
2024-01-05 04:27:21,465 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=67), currents=[6.05, 6.09, 6.03], daily_imported=3753.91, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210676.76, phases_in_use=3, plug_state=True, power=4303.1, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.68, 239.13, 239.59]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3920.899999999441, imported_since_plugged=3920.899999999441, range_charged=19.604499999997206, time_charged='4:15', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7e8028>), 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))
2024-01-05 04:27:21,467 - {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=[])
2024-01-05 04:27:21,468 - {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'])
2024-01-05 04:27:21,469 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2498.0, 2125.0, 2177.0], currents=[10.5, 8.9, 9.1], voltages=[239.26, 240.38, 238.83], power_factors=[0.99, 0.99, 1.0], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=9247.0, imported=7337372.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6801.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40502.1, raw_currents_left=[58.53, 60.15, 59.99], surplus_power_left=0, state_str=''))
2024-01-05 04:27:21,473 - {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=2451.0599999999995, invalid_home_consumption=0, daily_yield_home_consumption=5312.1950177583, imported_home_consumption=3360458.9754379173, disengageable_smarthome_power=0))
2024-01-05 04:27:21,474 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:27:21,476 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:27:21,478 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:27:21,481 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:27:21,482 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:27:21,483 - {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=20000, 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=67, soc_timestamp=1704425234.484449, force_soc_update=False, range=202, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:27:21,485 - {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)
2024-01-05 04:27:21,486 - {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)
2024-01-05 04:27:21,487 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:27:21,489 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:27:21,490 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:27:21,491 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:27:21,493 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7f7640>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:27:21,494 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:27:21,495 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=46.84))
2024-01-05 04:27:21,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=8202091.902000001, power=46.84))
2024-01-05 04:27:21,498 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425231, 'time': '04:27:11', 'grid': 6.792, 'house-power': 2.452, 'charging-all': 4.292, 'pv-all': -0.048, 'cp1-power': 4.292, 'ev1-soc': 58.0, 'ev2-soc': 67, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:27:21,499 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:27:21,501 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:27:21,502 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:27:21,503 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:27:21,504 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:27:21,505 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:27:21,506 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:27:21,507 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:27:21,509 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:27:21,511 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:27:21,512 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.53, 54.15, 53.99]A verbleibende Ströme, 36362.1W verbleibende Leistung
2024-01-05 04:27:21,513 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:27:21,516 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:27:21,518 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:27:21,519 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:27:21,521 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:27:21,524 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:27:21,525 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6737.9000000000015W
2024-01-05 04:27:21,527 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6737.9000000000015W
2024-01-05 04:27:21,529 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:27:21,531 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:27:21,533 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3933.5999999996275 counter 7210676.76
2024-01-05 04:27:21,541 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:27:21,545 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:27:21,574 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:27:21,878 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:27:21,881 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:27:25,890 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:27:30,902 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:27:30,903 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:27:30,951 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:27:30,952 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:27:30,953 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:27:30,960 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:27:30,980 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:27:31,004 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:27:31,007 - {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":240.7, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425249},"temperature":{"tC":29.0, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:27","unixtime":1704425251,"uptime":3784613,"ram_size":248948,"ram_free":144524,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:27:31,010 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425240.5300422, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:27:31,013 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00291131, power1: 0, power2: 0
2024-01-05 04:27:31,014 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:27:31,016 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425251.0107605, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:27:31,019 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:27:31,038 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6822, -2509, -2129, -2184], Scale 0
2024-01-05 04:27:31,127 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [104, 89, 91], Scale -1
2024-01-05 04:27:31,155 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23929, 24044, 23888, 0, 0, 0, 0], Scale -2
2024-01-05 04:27:31,183 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:27:31,203 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9980, 9879, 9990], Scale -2
2024-01-05 04:27:31,234 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337387, 3035039, 2160475, 2693817], Scale 0
2024-01-05 04:27:31,235 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.4, 8.9, 9.1], powers=[2509.0, 2129.0, 2184.0], voltages=[239.29, 240.44, 238.88], power_factors=[0.998, 0.9879000000000001, 0.9990000000000001], imported=7337387.0, exported=4871307.0, power=6822.0, frequency=49.97)
2024-01-05 04:27:31,240 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:27:31,263 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4691], Scale -2
2024-01-05 04:27:31,283 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:27:31,327 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 33, 33], Scale -2
2024-01-05 04:27:31,363 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4763], Scale -2
2024-01-05 04:27:31,364 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.33, 0.33], power=46.910000000000004, exported=7869605.0, dc_power=47.63)
2024-01-05 04:27:31,370 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:27:31,414 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425241.0619135, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:27:31,415 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00287564, power1: 0, power2: 0
2024-01-05 04:27:31,418 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:27:31,418 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425251.4142013, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:27:31,421 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:27:31,424 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:27:31,425 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:27:31,472 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:27:31,474 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:27:31,476 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.910000000000004, exported=7904493.99, dc_power=None)
2024-01-05 04:27:31,475 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:27:31,478 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.910000000000004, exported=7904493.99, dc_power=None)
2024-01-05 04:27:31,482 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:27:31,486 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:27:31,547 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:27:31,548 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.4, 8.9, 9.1], powers=[2509.0, 2129.0, 2184.0], voltages=[239.29, 240.44, 238.88], power_factors=[0.998, 0.9879000000000001, 0.9990000000000001], imported=7337387.0, exported=4871307.0, power=6822.0, frequency=49.97)
2024-01-05 04:27:31,727 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:27:31,736 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:27:31,744 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.61, 60.14, 59.97]A
2024-01-05 04:27:31,747 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40471.729999999996W
2024-01-05 04:27:31,750 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:27:31,755 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:27:31,757 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:27:31,761 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:34:08.695652 start_time 2024-01-05 04:05:51.304348 end 2024-01-05 05:40:00 now 2024-01-05 04:27:31.761317
2024-01-05 04:27:31,764 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1300.456969s, Dauer 1.569082125603865h, Termin heute verpasst: False
2024-01-05 04:27:31,765 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:26:53.913043 start_time 2024-01-06 05:13:06.086957 end 2024-01-06 05:40:00 now 2024-01-05 04:27:31.764999
2024-01-05 04:27:31,766 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89134.321958s, Dauer 0.44830917874396137h, Termin heute verpasst: False
2024-01-05 04:27:31,767 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:27:31,799 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:27:31,801 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:27:31,819 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425241.4459884, power=2451.0599999999995, imported=3360458.9754379173, exported=0)
2024-01-05 04:27:31,825 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00288155, power1: 2451.06, power2: 2481.36
2024-01-05 04:27:31,827 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.1065
2024-01-05 04:27:31,828 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.1065 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425251.8195546, power=2481.3600000000006, imported=3360466.081935855, exported=0)
2024-01-05 04:27:31,834 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:27:31,839 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:27:31,840 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3753.91, daily_exported=0, power=4293.73, imported=7210688.96, exported=0))
2024-01-05 04:27:31,842 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=67), currents=[6.04, 6.07, 6.01], daily_imported=3753.91, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210688.96, phases_in_use=3, plug_state=True, power=4293.73, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.73, 239.22, 239.59]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3933.5999999996275, imported_since_plugged=3933.5999999996275, range_charged=19.667999999998138, time_charged='4:15', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d44d8>), 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))
2024-01-05 04:27:31,843 - {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=[])
2024-01-05 04:27:31,847 - {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'])
2024-01-05 04:27:31,848 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2509.0, 2129.0, 2184.0], currents=[10.4, 8.9, 9.1], voltages=[239.29, 240.44, 238.88], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=9247.0, imported=7337387.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6822.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40471.729999999996, raw_currents_left=[58.61, 60.14, 59.97], surplus_power_left=0, state_str=''))
2024-01-05 04:27:31,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=2481.3600000000006, invalid_home_consumption=0, daily_yield_home_consumption=5312.1950177583, imported_home_consumption=3360466.081935855, disengageable_smarthome_power=0))
2024-01-05 04:27:31,852 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:27:31,853 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:27:31,856 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:27:31,857 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:27:31,862 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:27:31,865 - {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=20000, 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=67, soc_timestamp=1704425234.484449, force_soc_update=False, range=202, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:27:31,866 - {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)
2024-01-05 04:27:31,876 - {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)
2024-01-05 04:27:31,880 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:27:31,882 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:27:31,886 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:27:31,889 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:27:31,891 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7d4e98>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:27:31,893 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:27:31,894 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=46.91))
2024-01-05 04:27:31,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=8202091.902000001, power=46.91))
2024-01-05 04:27:31,897 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425241, 'time': '04:27:21', 'grid': 6.801, 'house-power': 2.451, 'charging-all': 4.303, 'pv-all': -0.047, 'cp1-power': 4.303, 'ev1-soc': 58.0, 'ev2-soc': 67, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:27:31,898 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:27:31,899 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:27:31,900 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:27:31,901 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:27:31,901 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:27:31,902 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:27:31,902 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:27:31,903 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:27:31,903 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:27:31,904 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:27:31,906 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.61, 54.14, 53.97]A verbleibende Ströme, 36331.729999999996W verbleibende Leistung
2024-01-05 04:27:31,906 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:27:31,909 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:27:31,910 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:27:31,911 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:27:31,912 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:27:31,913 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:27:31,914 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6768.270000000004W
2024-01-05 04:27:31,915 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6768.270000000004W
2024-01-05 04:27:31,915 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:27:31,916 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:27:31,917 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3945.7999999998137 counter 7210688.96
2024-01-05 04:27:31,924 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:27:31,933 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:27:31,969 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:27:32,272 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:27:32,274 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:27:35,306 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:27:35,307 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:27:40,321 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:27:40,322 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:27:40,361 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:27:40,365 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:27:40,369 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:27:40,378 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:27:40,380 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:27:40,423 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:27:40,426 - {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":240.8, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425259},"temperature":{"tC":29.0, "tF":84.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:27","unixtime":1704425260,"uptime":3784623,"ram_size":248948,"ram_free":144524,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:27:40,434 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425251.0107605, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:27:40,435 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00261779, power1: 0, power2: 0
2024-01-05 04:27:40,436 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:27:40,437 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425260.4348142, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:27:40,439 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:27:40,520 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6795, -2492, -2122, -2180], Scale 0
2024-01-05 04:27:40,542 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [104, 89, 91], Scale -1
2024-01-05 04:27:40,573 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23935, 24044, 23890, 0, 0, 0, 0], Scale -2
2024-01-05 04:27:40,592 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:27:40,613 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9950, 9900, 9959], Scale -2
2024-01-05 04:27:40,641 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337402, 3035045, 2160479, 2693821], Scale 0
2024-01-05 04:27:40,642 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.4, 8.9, 9.1], powers=[2492.0, 2122.0, 2180.0], voltages=[239.35, 240.44, 238.9], power_factors=[0.995, 0.99, 0.9959], imported=7337402.0, exported=4871307.0, power=6795.0, frequency=49.97)
2024-01-05 04:27:40,643 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:27:40,739 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5021], Scale -2
2024-01-05 04:27:40,800 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:27:40,820 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 33], Scale -2
2024-01-05 04:27:40,840 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4828], Scale -2
2024-01-05 04:27:40,841 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.33], power=50.21, exported=7869605.0, dc_power=48.28)
2024-01-05 04:27:40,845 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:27:41,063 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425251.4142013, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:27:41,064 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00268023, power1: 0, power2: 0
2024-01-05 04:27:41,064 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:27:41,065 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425261.0630238, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:27:41,067 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:27:41,079 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:27:41,082 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:27:41,158 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:27:41,160 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:27:41,162 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:27:41,165 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=50.21, exported=7904493.99, dc_power=None)
2024-01-05 04:27:41,168 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:27:41,169 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=50.21, exported=7904493.99, dc_power=None)
2024-01-05 04:27:41,174 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:27:41,241 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:27:41,242 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.4, 8.9, 9.1], powers=[2492.0, 2122.0, 2180.0], voltages=[239.35, 240.44, 238.9], power_factors=[0.995, 0.99, 0.9959], imported=7337402.0, exported=4871307.0, power=6795.0, frequency=49.97)
2024-01-05 04:27:41,440 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:27:41,442 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:27:41,445 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.63, 60.15, 59.980000000000004]A
2024-01-05 04:27:41,446 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40509.19W
2024-01-05 04:27:41,448 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:27:41,451 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:27:41,452 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:27:41,454 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:34:08.695652 start_time 2024-01-05 04:05:51.304348 end 2024-01-05 05:40:00 now 2024-01-05 04:27:41.453650
2024-01-05 04:27:41,456 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1310.149302s, Dauer 1.569082125603865h, Termin heute verpasst: False
2024-01-05 04:27:41,458 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:26:53.913043 start_time 2024-01-06 05:13:06.086957 end 2024-01-06 05:40:00 now 2024-01-05 04:27:41.457879
2024-01-05 04:27:41,460 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89124.629078s, Dauer 0.44830917874396137h, Termin heute verpasst: False
2024-01-05 04:27:41,463 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:27:41,467 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:27:41,469 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:27:41,476 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425251.8195546, power=2481.3600000000006, imported=3360466.081935855, exported=0)
2024-01-05 04:27:41,480 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00268252, power1: 2481.36, power2: 2440.6
2024-01-05 04:27:41,481 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.60162
2024-01-05 04:27:41,483 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.60162 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425261.4766152, power=2440.6000000000004, imported=3360472.6835561474, exported=0)
2024-01-05 04:27:41,487 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:27:41,489 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:27:41,491 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3753.91, daily_exported=0, power=4304.19, imported=7210701.17, exported=0))
2024-01-05 04:27:41,494 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=67), currents=[6.05, 6.08, 6.03], daily_imported=3753.91, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210701.17, phases_in_use=3, plug_state=True, power=4304.19, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.83, 239.27, 239.64]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3945.7999999998137, imported_since_plugged=3945.7999999998137, range_charged=19.72899999999907, time_charged='4:15', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x701fa940>), 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))
2024-01-05 04:27:41,495 - {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=[])
2024-01-05 04:27:41,496 - {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'])
2024-01-05 04:27:41,497 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2492.0, 2122.0, 2180.0], currents=[10.4, 8.9, 9.1], voltages=[239.35, 240.44, 238.9], power_factors=[0.99, 0.99, 1.0], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=9247.0, imported=7337402.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6795.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40509.19, raw_currents_left=[58.63, 60.15, 59.980000000000004], surplus_power_left=0, state_str=''))
2024-01-05 04:27:41,499 - {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=2440.6000000000004, invalid_home_consumption=0, daily_yield_home_consumption=5312.1950177583, imported_home_consumption=3360472.6835561474, disengageable_smarthome_power=0))
2024-01-05 04:27:41,501 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:27:41,503 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:27:41,504 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:27:41,505 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:27:41,507 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:27:41,509 - {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=20000, 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=67, soc_timestamp=1704425234.484449, force_soc_update=False, range=202, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:27:41,511 - {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)
2024-01-05 04:27:41,512 - {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)
2024-01-05 04:27:41,514 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:27:41,515 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:27:41,517 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:27:41,518 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:27:41,520 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x71d2d1c0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:27:41,521 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:27:41,523 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=50.21))
2024-01-05 04:27:41,525 - {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=8202091.902000001, power=50.21))
2024-01-05 04:27:41,527 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425251, 'time': '04:27:31', 'grid': 6.822, 'house-power': 2.481, 'charging-all': 4.294, 'pv-all': -0.047, 'cp1-power': 4.294, 'ev1-soc': 58.0, 'ev2-soc': 67, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:27:41,529 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:27:41,530 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:27:41,531 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:27:41,532 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:27:41,533 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:27:41,535 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:27:41,535 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:27:41,537 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:27:41,538 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:27:41,540 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:27:41,543 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.63, 54.15, 53.980000000000004]A verbleibende Ströme, 36369.19W verbleibende Leistung
2024-01-05 04:27:41,544 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:27:41,547 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:27:41,549 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:27:41,554 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:27:41,556 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:27:41,558 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:27:41,559 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6730.809999999998W
2024-01-05 04:27:41,560 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6730.809999999998W
2024-01-05 04:27:41,561 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:27:41,562 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:27:41,564 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3958.0099999997765 counter 7210701.17
2024-01-05 04:27:41,567 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:27:41,570 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:27:41,611 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:27:41,878 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:27:45,912 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:27:45,913 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:27:50,925 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:27:50,926 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:27:50,968 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:27:50,973 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:27:50,981 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:27:50,982 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:27:50,984 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:27:51,025 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:27:51,028 - {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":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425269},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:27","unixtime":1704425271,"uptime":3784633,"ram_size":249000,"ram_free":145092,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:27:51,031 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425260.4348142, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:27:51,034 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00294356, power1: 0, power2: 0
2024-01-05 04:27:51,036 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:27:51,037 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425271.0316453, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:27:51,039 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:27:51,074 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6816, -2506, -2126, -2183], Scale 0
2024-01-05 04:27:51,102 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [105, 89, 91], Scale -1
2024-01-05 04:27:51,122 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23933, 24053, 23894, 0, 0, 0, 0], Scale -2
2024-01-05 04:27:51,142 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:27:51,173 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9950, 9900, 9980], Scale -2
2024-01-05 04:27:51,220 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337432, 3035056, 2160489, 2693831], Scale 0
2024-01-05 04:27:51,221 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.5, 8.9, 9.1], powers=[2506.0, 2126.0, 2183.0], voltages=[239.33, 240.53, 238.94], power_factors=[0.995, 0.99, 0.998], imported=7337432.0, exported=4871307.0, power=6816.0, frequency=49.97)
2024-01-05 04:27:51,227 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:27:51,273 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4478], Scale -2
2024-01-05 04:27:51,293 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:27:51,312 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 32, 33], Scale -2
2024-01-05 04:27:51,332 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4546], Scale -2
2024-01-05 04:27:51,333 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.32, 0.33], power=44.78, exported=7869605.0, dc_power=45.46)
2024-01-05 04:27:51,345 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:27:51,493 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425261.0630238, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:27:51,494 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00289728, power1: 0, power2: 0
2024-01-05 04:27:51,494 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:27:51,495 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425271.493231, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:27:51,497 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:27:51,518 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:27:51,519 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:27:51,566 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:27:51,568 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:27:51,570 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=44.78, exported=7904493.99, dc_power=None)
2024-01-05 04:27:51,570 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:27:51,574 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=44.78, exported=7904493.99, dc_power=None)
2024-01-05 04:27:51,577 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:27:51,585 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:27:51,644 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:27:51,645 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.5, 8.9, 9.1], powers=[2506.0, 2126.0, 2183.0], voltages=[239.33, 240.53, 238.94], power_factors=[0.995, 0.99, 0.998], imported=7337432.0, exported=4871307.0, power=6816.0, frequency=49.97)
2024-01-05 04:27:51,852 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:27:51,854 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:27:51,857 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.51, 60.13, 59.97]A
2024-01-05 04:27:51,857 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40478.07W
2024-01-05 04:27:51,859 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:27:51,862 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:27:51,864 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:27:51,865 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:34:08.695652 start_time 2024-01-05 04:05:51.304348 end 2024-01-05 05:40:00 now 2024-01-05 04:27:51.865264
2024-01-05 04:27:51,866 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1320.560916s, Dauer 1.569082125603865h, Termin heute verpasst: False
2024-01-05 04:27:51,867 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:26:53.913043 start_time 2024-01-06 05:13:06.086957 end 2024-01-06 05:40:00 now 2024-01-05 04:27:51.867413
2024-01-05 04:27:51,872 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89114.219544s, Dauer 0.44830917874396137h, Termin heute verpasst: False
2024-01-05 04:27:51,873 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:27:51,876 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:27:51,877 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:27:51,890 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425261.4766152, power=2440.6000000000004, imported=3360472.6835561474, exported=0)
2024-01-05 04:27:51,891 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00289276, power1: 2440.6, power2: 2477.15
2024-01-05 04:27:51,894 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.11293
2024-01-05 04:27:51,895 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.11293 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425271.8905435, power=2477.1500000000005, imported=3360479.7964861128, exported=0)
2024-01-05 04:27:51,907 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:27:51,917 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:27:51,919 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3753.91, daily_exported=0, power=4294.07, imported=7210712.89, exported=0))
2024-01-05 04:27:51,920 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=67), currents=[6.03, 6.07, 6.01], daily_imported=3753.91, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210712.89, phases_in_use=3, plug_state=True, power=4294.07, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.96, 239.47, 239.81]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3958.0099999997765, imported_since_plugged=3958.0099999997765, range_charged=19.79004999999888, time_charged='4:16', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7fab68>), 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))
2024-01-05 04:27:51,921 - {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=[])
2024-01-05 04:27:51,923 - {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'])
2024-01-05 04:27:51,925 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2506.0, 2126.0, 2183.0], currents=[10.5, 8.9, 9.1], voltages=[239.33, 240.53, 238.94], power_factors=[0.99, 0.99, 1.0], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=9247.0, imported=7337432.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6816.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40478.07, raw_currents_left=[58.51, 60.13, 59.97], surplus_power_left=0, state_str=''))
2024-01-05 04:27:51,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=2477.1500000000005, invalid_home_consumption=0, daily_yield_home_consumption=5312.1950177583, imported_home_consumption=3360479.7964861128, disengageable_smarthome_power=0))
2024-01-05 04:27:51,928 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:27:51,931 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:27:51,934 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:27:51,938 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:27:51,939 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:27:51,939 - {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=20000, 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=67, soc_timestamp=1704425234.484449, force_soc_update=False, range=202, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:27:51,940 - {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)
2024-01-05 04:27:51,940 - {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)
2024-01-05 04:27:51,940 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:27:51,941 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:27:51,941 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:27:51,941 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:27:51,942 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7df640>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:27:51,943 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:27:51,943 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=44.78))
2024-01-05 04:27:51,945 - {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=8202091.902000001, power=44.78))
2024-01-05 04:27:51,946 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425261, 'time': '04:27:41', 'grid': 6.795, 'house-power': 2.441, 'charging-all': 4.304, 'pv-all': -0.05, 'cp1-power': 4.304, 'ev1-soc': 58.0, 'ev2-soc': 67, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:27:51,947 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:27:51,948 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:27:51,949 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:27:51,950 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:27:51,951 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:27:51,952 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:27:51,954 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:27:51,955 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:27:51,957 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:27:51,960 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:27:51,963 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.51, 54.13, 53.97]A verbleibende Ströme, 36338.07W verbleibende Leistung
2024-01-05 04:27:51,965 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:27:51,968 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:27:51,969 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:27:51,970 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:27:51,972 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:27:51,974 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:27:51,976 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6761.93W
2024-01-05 04:27:51,977 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6761.93W
2024-01-05 04:27:51,978 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:27:51,979 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:27:51,982 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3969.7299999995157 counter 7210712.89
2024-01-05 04:27:51,986 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:27:51,995 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:27:52,023 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:27:52,311 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:27:52,313 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:27:55,321 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:27:55,322 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:28:00,336 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:28:00,337 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:28:00,445 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:28:00,454 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:28:00,458 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:28:00,465 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:28:00,487 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:28:00,513 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6767, -2468, -2119, -2179], Scale 0
2024-01-05 04:28:00,545 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:28:00,549 - {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":240.7, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425279},"temperature":{"tC":29.0, "tF":84.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:28","unixtime":1704425281,"uptime":3784643,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:28:00,552 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425271.0316453, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:28:00,553 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00264455, power1: 0, power2: 0
2024-01-05 04:28:00,555 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:28:00,557 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425280.5520186, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:28:00,561 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:28:00,648 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [103, 89, 91], Scale -1
2024-01-05 04:28:00,675 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23946, 24054, 23898, 0, 0, 0, 0], Scale -2
2024-01-05 04:28:00,696 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:28:00,737 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9969, 9890, 9950], Scale -2
2024-01-05 04:28:00,764 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337447, 3035062, 2160494, 2693836], Scale 0
2024-01-05 04:28:00,765 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.3, 8.9, 9.1], powers=[2468.0, 2119.0, 2179.0], voltages=[239.46, 240.54, 238.98000000000002], power_factors=[0.9969, 0.9890000000000001, 0.995], imported=7337447.0, exported=4871307.0, power=6767.0, frequency=49.97)
2024-01-05 04:28:00,767 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:28:00,791 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4866], Scale -2
2024-01-05 04:28:00,844 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:28:00,881 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 33, 33], Scale -2
2024-01-05 04:28:00,911 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4940], Scale -2
2024-01-05 04:28:00,912 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.33, 0.33], power=48.660000000000004, exported=7869605.0, dc_power=49.4)
2024-01-05 04:28:00,914 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:28:01,013 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425271.493231, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:28:01,013 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00264437, power1: 0, power2: 0
2024-01-05 04:28:01,014 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:28:01,014 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425281.012954, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:28:01,015 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:28:01,027 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:28:01,028 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:28:01,070 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:28:01,071 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:28:01,072 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=48.660000000000004, exported=7904493.99, dc_power=None)
2024-01-05 04:28:01,074 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=48.660000000000004, exported=7904493.99, dc_power=None)
2024-01-05 04:28:01,076 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:28:01,078 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:28:01,080 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:28:01,136 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:28:01,137 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.3, 8.9, 9.1], powers=[2468.0, 2119.0, 2179.0], voltages=[239.46, 240.54, 238.98000000000002], power_factors=[0.9969, 0.9890000000000001, 0.995], imported=7337447.0, exported=4871307.0, power=6767.0, frequency=49.97)
2024-01-05 04:28:01,320 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:28:01,321 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:28:01,323 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.73, 60.16, 59.980000000000004]A
2024-01-05 04:28:01,324 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40536.84W
2024-01-05 04:28:01,324 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:28:01,328 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:28:01,329 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:28:01,330 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:34:08.695652 start_time 2024-01-05 04:05:51.304348 end 2024-01-05 05:40:00 now 2024-01-05 04:28:01.329993
2024-01-05 04:28:01,331 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1330.025645s, Dauer 1.569082125603865h, Termin heute verpasst: False
2024-01-05 04:28:01,333 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:26:53.913043 start_time 2024-01-06 05:13:06.086957 end 2024-01-06 05:40:00 now 2024-01-05 04:28:01.332693
2024-01-05 04:28:01,334 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89104.754264s, Dauer 0.44830917874396137h, Termin heute verpasst: False
2024-01-05 04:28:01,335 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:28:01,338 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:28:01,339 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:28:01,343 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425271.8905435, power=2477.1500000000005, imported=3360479.7964861128, exported=0)
2024-01-05 04:28:01,345 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00262574, power1: 2477.15, power2: 2414.5
2024-01-05 04:28:01,351 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.42211
2024-01-05 04:28:01,353 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.42211 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425281.343221, power=2414.5, imported=3360486.218595812, exported=0)
2024-01-05 04:28:01,355 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:28:01,359 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:28:01,360 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3753.91, daily_exported=0, power=4303.84, imported=7210725.1, exported=0))
2024-01-05 04:28:01,363 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=67), currents=[6.06, 6.08, 6.03], daily_imported=3753.91, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210725.1, phases_in_use=3, plug_state=True, power=4303.84, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.63, 239.22, 239.59]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3969.7299999995157, imported_since_plugged=3969.7299999995157, range_charged=19.848649999997576, time_charged='4:16', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7cd700>), 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))
2024-01-05 04:28:01,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=[])
2024-01-05 04:28:01,367 - {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'])
2024-01-05 04:28:01,368 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2468.0, 2119.0, 2179.0], currents=[10.3, 8.9, 9.1], voltages=[239.46, 240.54, 238.98], power_factors=[1.0, 0.99, 0.99], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=9247.0, imported=7337447.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6767.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40536.84, raw_currents_left=[58.73, 60.16, 59.980000000000004], surplus_power_left=0, state_str=''))
2024-01-05 04:28:01,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=2414.5, invalid_home_consumption=0, daily_yield_home_consumption=5312.1950177583, imported_home_consumption=3360486.218595812, disengageable_smarthome_power=0))
2024-01-05 04:28:01,371 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:28:01,373 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:28:01,374 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:28:01,375 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:28:01,376 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:28:01,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=20000, 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=67, soc_timestamp=1704425234.484449, force_soc_update=False, range=202, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:28:01,380 - {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)
2024-01-05 04:28:01,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)
2024-01-05 04:28:01,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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:28:01,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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:28:01,384 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:28:01,384 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:28:01,387 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7d3088>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:28:01,388 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:28:01,389 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=48.66))
2024-01-05 04:28:01,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=8202091.902000001, power=48.66))
2024-01-05 04:28:01,392 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425272, 'time': '04:27:52', 'grid': 6.816, 'house-power': 2.477, 'charging-all': 4.294, 'pv-all': -0.045, 'cp1-power': 4.294, 'ev1-soc': 58.0, 'ev2-soc': 67, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:28:01,394 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:28:01,395 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:28:01,395 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:28:01,396 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:28:01,398 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:28:01,398 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:28:01,398 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:28:01,399 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:28:01,399 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:28:01,403 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:28:01,405 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.73, 54.16, 53.980000000000004]A verbleibende Ströme, 36396.84W verbleibende Leistung
2024-01-05 04:28:01,409 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:28:01,413 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:28:01,415 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:28:01,418 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:28:01,419 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:28:01,421 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:28:01,423 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6703.1600000000035W
2024-01-05 04:28:01,425 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6703.1600000000035W
2024-01-05 04:28:01,426 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:28:01,427 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:28:01,429 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3981.9399999994785 counter 7210725.1
2024-01-05 04:28:01,439 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:28:01,444 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:28:01,476 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:28:01,729 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:28:05,802 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:28:05,803 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:28:10,814 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:28:10,815 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:28:10,859 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:28:10,859 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:28:10,861 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:28:10,867 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:28:10,870 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:28:10,892 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6768, -2463, -2127, -2177], Scale 0
2024-01-05 04:28:10,912 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:28:10,917 - {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":240.6, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425289},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:28","unixtime":1704425291,"uptime":3784653,"ram_size":248936,"ram_free":144376,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:28:10,921 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [103, 89, 91], Scale -1
2024-01-05 04:28:10,926 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425280.5520186, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:28:10,938 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0028818, power1: 0, power2: 0
2024-01-05 04:28:10,938 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:28:10,939 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425290.9265094, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:28:10,940 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:28:10,976 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23923, 24034, 23880, 0, 0, 0, 0], Scale -2
2024-01-05 04:28:11,014 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:28:11,071 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9969, 9900, 9990], Scale -2
2024-01-05 04:28:11,091 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337462, 3035067, 2160498, 2693841], Scale 0
2024-01-05 04:28:11,092 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.3, 8.9, 9.1], powers=[2463.0, 2127.0, 2177.0], voltages=[239.23000000000002, 240.34, 238.8], power_factors=[0.9969, 0.99, 0.9990000000000001], imported=7337462.0, exported=4871307.0, power=6768.0, frequency=49.97)
2024-01-05 04:28:11,102 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:28:11,120 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4641], Scale -2
2024-01-05 04:28:11,202 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:28:11,275 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 33], Scale -2
2024-01-05 04:28:11,311 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4661], Scale -2
2024-01-05 04:28:11,312 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.33], power=46.410000000000004, exported=7869605.0, dc_power=46.61)
2024-01-05 04:28:11,318 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:28:11,352 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425281.012954, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:28:11,352 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00287201, power1: 0, power2: 0
2024-01-05 04:28:11,353 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:28:11,353 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425291.352196, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:28:11,355 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:28:11,363 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:28:11,364 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:28:11,411 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:28:11,412 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:28:11,415 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.410000000000004, exported=7904493.99, dc_power=None)
2024-01-05 04:28:11,416 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:28:11,416 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.410000000000004, exported=7904493.99, dc_power=None)
2024-01-05 04:28:11,420 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:28:11,428 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:28:11,491 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:28:11,492 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.3, 8.9, 9.1], powers=[2463.0, 2127.0, 2177.0], voltages=[239.23000000000002, 240.34, 238.8], power_factors=[0.9969, 0.99, 0.9990000000000001], imported=7337462.0, exported=4871307.0, power=6768.0, frequency=49.97)
2024-01-05 04:28:11,680 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:28:11,682 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:28:11,691 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.71, 60.14, 59.980000000000004]A
2024-01-05 04:28:11,692 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40526.36W
2024-01-05 04:28:11,693 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:28:11,695 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:28:11,702 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:28:11,707 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:34:08.695652 start_time 2024-01-05 04:05:51.304348 end 2024-01-05 05:40:00 now 2024-01-05 04:28:11.707085
2024-01-05 04:28:11,708 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1340.402737s, Dauer 1.569082125603865h, Termin heute verpasst: False
2024-01-05 04:28:11,710 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:26:53.913043 start_time 2024-01-06 05:13:06.086957 end 2024-01-06 05:40:00 now 2024-01-05 04:28:11.710387
2024-01-05 04:28:11,712 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89094.37657s, Dauer 0.44830917874396137h, Termin heute verpasst: False
2024-01-05 04:28:11,713 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:28:11,742 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:28:11,743 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:28:11,758 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425281.343221, power=2414.5, imported=3360486.218595812, exported=0)
2024-01-05 04:28:11,759 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00289316, power1: 2414.5, power2: 2427.23
2024-01-05 04:28:11,760 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.00395
2024-01-05 04:28:11,761 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.00395 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425291.758593, power=2427.2300000000005, imported=3360493.222542995, exported=0)
2024-01-05 04:28:11,771 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:28:11,773 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:28:11,779 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3753.91, daily_exported=0, power=4294.36, imported=7210736.82, exported=0))
2024-01-05 04:28:11,781 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=67), currents=[6.04, 6.08, 6.01], daily_imported=3753.91, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210736.82, phases_in_use=3, plug_state=True, power=4294.36, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.65, 239.1, 239.62]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3981.9399999994785, imported_since_plugged=3981.9399999994785, range_charged=19.909699999997393, time_charged='4:16', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7fafd0>), 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))
2024-01-05 04:28:11,783 - {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=[])
2024-01-05 04:28:11,784 - {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'])
2024-01-05 04:28:11,791 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2463.0, 2127.0, 2177.0], currents=[10.3, 8.9, 9.1], voltages=[239.23, 240.34, 238.8], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=9247.0, imported=7337462.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6768.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40526.36, raw_currents_left=[58.71, 60.14, 59.980000000000004], surplus_power_left=0, state_str=''))
2024-01-05 04:28:11,793 - {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=2427.2300000000005, invalid_home_consumption=0, daily_yield_home_consumption=5312.1950177583, imported_home_consumption=3360493.222542995, disengageable_smarthome_power=0))
2024-01-05 04:28:11,794 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:28:11,796 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:28:11,797 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:28:11,798 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:28:11,799 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:28:11,801 - {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=20000, 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=67, soc_timestamp=1704425234.484449, force_soc_update=False, range=202, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:28:11,801 - {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)
2024-01-05 04:28:11,803 - {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)
2024-01-05 04:28:11,804 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:28:11,805 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:28:11,806 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:28:11,807 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:28:11,814 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7fa130>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:28:11,820 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:28:11,821 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=46.41))
2024-01-05 04:28:11,822 - {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=8202091.902000001, power=46.41))
2024-01-05 04:28:11,824 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425281, 'time': '04:28:01', 'grid': 6.767, 'house-power': 2.414, 'charging-all': 4.304, 'pv-all': -0.049, 'cp1-power': 4.304, 'ev1-soc': 58.0, 'ev2-soc': 67, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:28:11,831 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:28:11,836 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:28:11,847 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:28:11,849 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:28:11,850 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:28:11,852 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:28:11,857 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:28:11,858 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:28:11,859 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:28:11,861 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:28:11,862 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.71, 54.14, 53.980000000000004]A verbleibende Ströme, 36386.36W verbleibende Leistung
2024-01-05 04:28:11,864 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:28:11,867 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:28:11,871 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:28:11,888 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:28:11,890 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:28:11,892 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:28:11,893 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6713.639999999999W
2024-01-05 04:28:11,894 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6713.639999999999W
2024-01-05 04:28:11,894 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:28:11,896 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:28:11,897 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 3993.660000000149 counter 7210736.82
2024-01-05 04:28:11,900 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:28:11,903 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:28:11,955 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:28:12,269 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:28:12,272 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:28:15,284 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:28:15,286 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:28:20,299 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:28:20,300 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:28:20,371 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:28:20,372 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:28:20,373 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:28:20,383 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:28:20,384 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:28:20,436 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:28:20,444 - {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":240.8, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425299},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:28","unixtime":1704425300,"uptime":3784663,"ram_size":248936,"ram_free":144384,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:28:20,445 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6777, -2467, -2122, -2187], Scale 0
2024-01-05 04:28:20,459 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425290.9265094, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:28:20,460 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00264792, power1: 0, power2: 0
2024-01-05 04:28:20,463 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:28:20,468 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425300.4590142, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:28:20,470 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:28:20,484 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [103, 88, 91], Scale -1
2024-01-05 04:28:20,508 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23926, 24027, 23875, 0, 0, 0, 0], Scale -2
2024-01-05 04:28:20,541 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:28:20,564 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9969, 9929, 10000], Scale -2
2024-01-05 04:28:20,614 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337478, 3035073, 2160503, 2693846], Scale 0
2024-01-05 04:28:20,616 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.3, 8.8, 9.1], powers=[2467.0, 2122.0, 2187.0], voltages=[239.26, 240.27, 238.75], power_factors=[0.9969, 0.9929000000000001, 1.0], imported=7337478.0, exported=4871307.0, power=6777.0, frequency=49.97)
2024-01-05 04:28:20,618 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:28:20,671 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5087], Scale -2
2024-01-05 04:28:20,692 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:28:20,722 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 33, 35], Scale -2
2024-01-05 04:28:20,892 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5164], Scale -2
2024-01-05 04:28:20,893 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.33, 0.35000000000000003], power=50.870000000000005, exported=7869605.0, dc_power=51.64)
2024-01-05 04:28:20,894 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:28:20,932 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425291.352196, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:28:20,933 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00266123, power1: 0, power2: 0
2024-01-05 04:28:20,935 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:28:20,935 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425300.9326344, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:28:20,936 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:28:20,943 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:28:20,945 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:28:20,991 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:28:20,992 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:28:20,993 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=50.870000000000005, exported=7904493.99, dc_power=None)
2024-01-05 04:28:20,994 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=50.870000000000005, exported=7904493.99, dc_power=None)
2024-01-05 04:28:20,995 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:28:20,999 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:28:21,006 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:28:21,059 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:28:21,060 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.3, 8.8, 9.1], powers=[2467.0, 2122.0, 2187.0], voltages=[239.26, 240.27, 238.75], power_factors=[0.9969, 0.9929000000000001, 1.0], imported=7337478.0, exported=4871307.0, power=6777.0, frequency=49.97)
2024-01-05 04:28:21,220 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:28:21,222 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:28:21,225 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.73, 60.25, 59.980000000000004]A
2024-01-05 04:28:21,225 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40526.270000000004W
2024-01-05 04:28:21,227 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:28:21,229 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:28:21,230 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:28:21,231 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:34:08.695652 start_time 2024-01-05 04:05:51.304348 end 2024-01-05 05:40:00 now 2024-01-05 04:28:21.231378
2024-01-05 04:28:21,232 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1349.92703s, Dauer 1.569082125603865h, Termin heute verpasst: False
2024-01-05 04:28:21,233 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:26:53.913043 start_time 2024-01-06 05:13:06.086957 end 2024-01-06 05:40:00 now 2024-01-05 04:28:21.233171
2024-01-05 04:28:21,234 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89084.853786s, Dauer 0.44830917874396137h, Termin heute verpasst: False
2024-01-05 04:28:21,235 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:28:21,238 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:28:21,239 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:28:21,256 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425291.758593, power=2427.2300000000005, imported=3360493.222542995, exported=0)
2024-01-05 04:28:21,258 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00263833, power1: 2427.23, power2: 2422.86
2024-01-05 04:28:21,260 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.39806
2024-01-05 04:28:21,260 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.39806 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425301.2565715, power=2422.8599999999997, imported=3360499.6206055363, exported=0)
2024-01-05 04:28:21,262 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:28:21,264 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:28:21,268 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3753.91, daily_exported=0, power=4303.27, imported=7210749.02, exported=0))
2024-01-05 04:28:21,270 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=67), currents=[6.05, 6.08, 6.03], daily_imported=3753.91, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210749.02, phases_in_use=3, plug_state=True, power=4303.27, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.81, 239.4, 239.72]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=3993.660000000149, imported_since_plugged=3993.660000000149, range_charged=19.968300000000745, time_charged='4:16', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d4ca0>), 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))
2024-01-05 04:28:21,275 - {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=[])
2024-01-05 04:28:21,276 - {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'])
2024-01-05 04:28:21,277 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2467.0, 2122.0, 2187.0], currents=[10.3, 8.8, 9.1], voltages=[239.26, 240.27, 238.75], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=9247.0, imported=7337478.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6777.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40526.270000000004, raw_currents_left=[58.73, 60.25, 59.980000000000004], surplus_power_left=0, state_str=''))
2024-01-05 04:28:21,278 - {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=2422.8599999999997, invalid_home_consumption=0, daily_yield_home_consumption=5312.1950177583, imported_home_consumption=3360499.6206055363, disengageable_smarthome_power=0))
2024-01-05 04:28:21,278 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:28:21,279 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:28:21,280 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:28:21,280 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:28:21,281 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:28:21,282 - {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=20000, 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=67, soc_timestamp=1704425292.004658, force_soc_update=False, range=202, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:28:21,285 - {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)
2024-01-05 04:28:21,288 - {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)
2024-01-05 04:28:21,290 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:28:21,294 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:28:21,295 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:28:21,295 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:28:21,297 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7ec3a0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:28:21,298 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:28:21,299 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=50.87))
2024-01-05 04:28:21,300 - {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=8202091.902000001, power=50.87))
2024-01-05 04:28:21,300 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425291, 'time': '04:28:11', 'grid': 6.768, 'house-power': 2.427, 'charging-all': 4.294, 'pv-all': -0.046, 'cp1-power': 4.294, 'ev1-soc': 58.0, 'ev2-soc': 67, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:28:21,301 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:28:21,304 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:28:21,305 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:28:21,307 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:28:21,308 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:28:21,309 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:28:21,309 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:28:21,309 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:28:21,310 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:28:21,312 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:28:21,314 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.73, 54.25, 53.980000000000004]A verbleibende Ströme, 36386.270000000004W verbleibende Leistung
2024-01-05 04:28:21,315 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:28:21,318 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:28:21,319 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:28:21,320 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:28:21,325 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:28:21,327 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:28:21,328 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6713.729999999996W
2024-01-05 04:28:21,329 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6713.729999999996W
2024-01-05 04:28:21,330 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:28:21,331 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:28:21,335 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4005.859999999404 counter 7210749.02
2024-01-05 04:28:21,342 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:28:21,349 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:28:21,391 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:28:21,643 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:28:25,674 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:28:25,679 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:28:30,691 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:28:30,692 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:28:30,741 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:28:30,745 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:28:30,757 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:28:30,765 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:28:30,779 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:28:30,843 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:28:30,845 - {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":240.6, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425309},"temperature":{"tC":29.0, "tF":84.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:28","unixtime":1704425311,"uptime":3784673,"ram_size":248936,"ram_free":144372,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-71},"ws":{"connected":false}}

2024-01-05 04:28:30,847 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6795, -2476, -2126, -2192], Scale 0
2024-01-05 04:28:30,853 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425300.4590142, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:28:30,854 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00288726, power1: 0, power2: 0
2024-01-05 04:28:30,855 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:28:30,857 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425310.8531475, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:28:30,867 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:28:30,874 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [104, 89, 91], Scale -1
2024-01-05 04:28:30,902 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23912, 24022, 23875, 0, 0, 0, 0], Scale -2
2024-01-05 04:28:31,034 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:28:31,093 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9959, 9919, 10000], Scale -2
2024-01-05 04:28:31,114 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337508, 3035084, 2160513, 2693855], Scale 0
2024-01-05 04:28:31,115 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.4, 8.9, 9.1], powers=[2476.0, 2126.0, 2192.0], voltages=[239.12, 240.22, 238.75], power_factors=[0.9959, 0.9919, 1.0], imported=7337508.0, exported=4871307.0, power=6795.0, frequency=49.97)
2024-01-05 04:28:31,123 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:28:31,172 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4457], Scale -2
2024-01-05 04:28:31,191 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:28:31,251 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 35], Scale -2
2024-01-05 04:28:31,284 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4525], Scale -2
2024-01-05 04:28:31,285 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.35000000000000003], power=44.57, exported=7869605.0, dc_power=45.25)
2024-01-05 04:28:31,290 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:28:31,466 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425300.9326344, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:28:31,467 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00292612, power1: 0, power2: 0
2024-01-05 04:28:31,468 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:28:31,468 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425311.4666512, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:28:31,470 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:28:31,479 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:28:31,481 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:28:31,528 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:28:31,530 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:28:31,531 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=44.57, exported=7904493.99, dc_power=None)
2024-01-05 04:28:31,533 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=44.57, exported=7904493.99, dc_power=None)
2024-01-05 04:28:31,533 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:28:31,540 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:28:31,541 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:28:31,607 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:28:31,608 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.4, 8.9, 9.1], powers=[2476.0, 2126.0, 2192.0], voltages=[239.12, 240.22, 238.75], power_factors=[0.9959, 0.9919, 1.0], imported=7337508.0, exported=4871307.0, power=6795.0, frequency=49.97)
2024-01-05 04:28:31,778 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:28:31,780 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:28:31,783 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.62, 60.14, 59.980000000000004]A
2024-01-05 04:28:31,784 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40499.89W
2024-01-05 04:28:31,785 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:28:31,788 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:28:31,789 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:28:31,790 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:34:08.695652 start_time 2024-01-05 04:05:51.304348 end 2024-01-05 05:40:00 now 2024-01-05 04:28:31.790049
2024-01-05 04:28:31,791 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1360.485701s, Dauer 1.569082125603865h, Termin heute verpasst: False
2024-01-05 04:28:31,793 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:26:53.913043 start_time 2024-01-06 05:13:06.086957 end 2024-01-06 05:40:00 now 2024-01-05 04:28:31.793174
2024-01-05 04:28:31,794 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89074.293783s, Dauer 0.44830917874396137h, Termin heute verpasst: False
2024-01-05 04:28:31,795 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:28:31,798 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:28:31,799 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:28:31,804 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425301.2565715, power=2422.8599999999997, imported=3360499.6206055363, exported=0)
2024-01-05 04:28:31,807 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00292988, power1: 2422.86, power2: 2455.54
2024-01-05 04:28:31,808 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.14657
2024-01-05 04:28:31,808 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.14657 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425311.804147, power=2455.54, imported=3360506.767173896, exported=0)
2024-01-05 04:28:31,810 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:28:31,812 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:28:31,813 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3753.91, daily_exported=0, power=4294.89, imported=7210761.23, exported=0))
2024-01-05 04:28:31,814 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=67), currents=[6.04, 6.08, 6.02], daily_imported=3753.91, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210761.23, phases_in_use=3, plug_state=True, power=4294.89, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.58, 239.18, 239.45]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4005.859999999404, imported_since_plugged=4005.859999999404, range_charged=20.02929999999702, time_charged='4:16', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f75f850>), 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))
2024-01-05 04:28:31,816 - {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=[])
2024-01-05 04:28:31,817 - {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'])
2024-01-05 04:28:31,832 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2476.0, 2126.0, 2192.0], currents=[10.4, 8.9, 9.1], voltages=[239.12, 240.22, 238.75], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=9247.0, imported=7337508.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6795.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40499.89, raw_currents_left=[58.62, 60.14, 59.980000000000004], surplus_power_left=0, state_str=''))
2024-01-05 04:28:31,835 - {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=2455.54, invalid_home_consumption=0, daily_yield_home_consumption=5312.1950177583, imported_home_consumption=3360506.767173896, disengageable_smarthome_power=0))
2024-01-05 04:28:31,836 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:28:31,840 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:28:31,842 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:28:31,844 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:28:31,845 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:28:31,856 - {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=20000, 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=67, soc_timestamp=1704425292.004658, force_soc_update=False, range=202, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:28:31,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)
2024-01-05 04:28:31,866 - {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)
2024-01-05 04:28:31,867 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:28:31,869 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:28:31,873 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:28:31,874 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:28:31,875 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f75f580>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:28:31,876 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:28:31,876 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=44.57))
2024-01-05 04:28:31,877 - {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=8202091.902000001, power=44.57))
2024-01-05 04:28:31,877 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425301, 'time': '04:28:21', 'grid': 6.777, 'house-power': 2.423, 'charging-all': 4.303, 'pv-all': -0.051, 'cp1-power': 4.303, 'ev1-soc': 58.0, 'ev2-soc': 67, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:28:31,878 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:28:31,878 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:28:31,879 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:28:31,879 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:28:31,879 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:28:31,887 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:28:31,895 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:28:31,902 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:28:31,905 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:28:31,907 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:28:31,909 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.62, 54.14, 53.980000000000004]A verbleibende Ströme, 36359.89W verbleibende Leistung
2024-01-05 04:28:31,911 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:28:31,915 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:28:31,919 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:28:31,922 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:28:31,923 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:28:31,941 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:28:31,946 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6740.110000000001W
2024-01-05 04:28:31,948 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6740.110000000001W
2024-01-05 04:28:31,954 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:28:31,955 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:28:31,958 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4018.070000000298 counter 7210761.23
2024-01-05 04:28:31,966 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:28:31,982 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:28:32,021 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:28:32,282 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:28:32,284 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:28:35,292 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:28:35,293 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:28:40,306 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:28:40,307 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:28:40,380 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:28:40,381 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:28:40,389 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:28:40,390 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:28:40,394 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:28:40,433 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6783, -2472, -2123, -2187], Scale 0
2024-01-05 04:28:40,441 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:28:40,447 - {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":240.8, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425319},"temperature":{"tC":29.1, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:28","unixtime":1704425320,"uptime":3784683,"ram_size":248936,"ram_free":144376,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:28:40,452 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425310.8531475, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:28:40,453 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [103, 89, 92], Scale -1
2024-01-05 04:28:40,457 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00266642, power1: 0, power2: 0
2024-01-05 04:28:40,468 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:28:40,476 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425320.4522622, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:28:40,483 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23930, 24036, 23892, 0, 0, 0, 0], Scale -2
2024-01-05 04:28:40,490 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:28:40,511 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:28:40,562 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9959, 9890, 9950], Scale -2
2024-01-05 04:28:40,603 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337523, 3035089, 2160517, 2693860], Scale 0
2024-01-05 04:28:40,605 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.3, 8.9, 9.200000000000001], powers=[2472.0, 2123.0, 2187.0], voltages=[239.3, 240.36, 238.92000000000002], power_factors=[0.9959, 0.9890000000000001, 0.995], imported=7337523.0, exported=4871307.0, power=6783.0, frequency=49.99)
2024-01-05 04:28:40,609 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:28:40,631 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4470], Scale -2
2024-01-05 04:28:40,653 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:28:40,673 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 33], Scale -2
2024-01-05 04:28:40,752 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4538], Scale -2
2024-01-05 04:28:40,753 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.33], power=44.7, exported=7869605.0, dc_power=45.38)
2024-01-05 04:28:40,754 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:28:40,795 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425311.4666512, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:28:40,796 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00259144, power1: 0, power2: 0
2024-01-05 04:28:40,796 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:28:40,797 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425320.795845, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:28:40,798 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:28:40,804 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:28:40,805 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:28:40,851 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:28:40,852 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:28:40,853 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:28:40,854 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=44.7, exported=7904493.99, dc_power=None)
2024-01-05 04:28:40,856 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:28:40,858 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=44.7, exported=7904493.99, dc_power=None)
2024-01-05 04:28:40,859 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:28:40,914 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:28:40,914 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.3, 8.9, 9.200000000000001], powers=[2472.0, 2123.0, 2187.0], voltages=[239.3, 240.36, 238.92000000000002], power_factors=[0.9959, 0.9890000000000001, 0.995], imported=7337523.0, exported=4871307.0, power=6783.0, frequency=49.99)
2024-01-05 04:28:41,080 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:28:41,081 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:28:41,083 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.73, 60.15, 59.88]A
2024-01-05 04:28:41,084 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40521.9W
2024-01-05 04:28:41,085 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:28:41,087 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:28:41,089 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:28:41,090 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:34:08.695652 start_time 2024-01-05 04:05:51.304348 end 2024-01-05 05:40:00 now 2024-01-05 04:28:41.090111
2024-01-05 04:28:41,091 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1369.785763s, Dauer 1.569082125603865h, Termin heute verpasst: False
2024-01-05 04:28:41,092 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:26:53.913043 start_time 2024-01-06 05:13:06.086957 end 2024-01-06 05:40:00 now 2024-01-05 04:28:41.092227
2024-01-05 04:28:41,094 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89064.99473s, Dauer 0.44830917874396137h, Termin heute verpasst: False
2024-01-05 04:28:41,094 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:28:41,098 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:28:41,103 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:28:41,111 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425311.804147, power=2455.54, imported=3360506.767173896, exported=0)
2024-01-05 04:28:41,114 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00258543, power1: 2455.54, power2: 2433.4
2024-01-05 04:28:41,116 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.32001
2024-01-05 04:28:41,118 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.32001 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425321.1116953, power=2433.4000000000005, imported=3360513.0871801614, exported=0)
2024-01-05 04:28:41,122 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:28:41,123 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:28:41,124 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3753.91, daily_exported=0, power=4304.9, imported=7210772.95, exported=0))
2024-01-05 04:28:41,126 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=67), currents=[6.05, 6.08, 6.03], daily_imported=3753.91, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210772.95, phases_in_use=3, plug_state=True, power=4304.9, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.86, 239.44, 239.75]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4018.070000000298, imported_since_plugged=4018.070000000298, range_charged=20.09035000000149, time_charged='4:16', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70bea088>), 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))
2024-01-05 04:28:41,127 - {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=[])
2024-01-05 04:28:41,128 - {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'])
2024-01-05 04:28:41,130 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2472.0, 2123.0, 2187.0], currents=[10.3, 8.9, 9.2], voltages=[239.3, 240.36, 238.92], power_factors=[1.0, 0.99, 0.99], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=9247.0, imported=7337523.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6783.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40521.9, raw_currents_left=[58.73, 60.15, 59.88], surplus_power_left=0, state_str=''))
2024-01-05 04:28:41,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=2433.4000000000005, invalid_home_consumption=0, daily_yield_home_consumption=5312.1950177583, imported_home_consumption=3360513.0871801614, disengageable_smarthome_power=0))
2024-01-05 04:28:41,135 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:28:41,137 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:28:41,140 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:28:41,141 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:28:41,142 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:28:41,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=20000, 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=67, soc_timestamp=1704425292.004658, force_soc_update=False, range=202, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:28:41,144 - {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)
2024-01-05 04:28:41,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)
2024-01-05 04:28:41,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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:28:41,148 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:28:41,153 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:28:41,154 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:28:41,155 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7edad8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:28:41,157 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:28:41,158 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=44.7))
2024-01-05 04:28:41,159 - {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=8202091.902000001, power=44.7))
2024-01-05 04:28:41,169 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425312, 'time': '04:28:32', 'grid': 6.795, 'house-power': 2.456, 'charging-all': 4.295, 'pv-all': -0.045, 'cp1-power': 4.295, 'ev1-soc': 58.0, 'ev2-soc': 67, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:28:41,171 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:28:41,173 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:28:41,176 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:28:41,177 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:28:41,180 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:28:41,181 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:28:41,182 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:28:41,185 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:28:41,189 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:28:41,191 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:28:41,197 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.73, 54.15, 53.88]A verbleibende Ströme, 36381.9W verbleibende Leistung
2024-01-05 04:28:41,199 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:28:41,203 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:28:41,206 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:28:41,210 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:28:41,211 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:28:41,215 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:28:41,218 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6718.0999999999985W
2024-01-05 04:28:41,218 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6718.0999999999985W
2024-01-05 04:28:41,219 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:28:41,220 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:28:41,222 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4029.7900000000373 counter 7210772.95
2024-01-05 04:28:41,233 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:28:41,235 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:28:41,263 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:28:41,505 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:28:45,541 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:28:45,542 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:28:50,554 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:28:50,556 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:28:50,605 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:28:50,612 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:28:50,619 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:28:50,649 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:28:50,671 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:28:50,723 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:28:50,727 - {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":240.8, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425329},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:28","unixtime":1704425331,"uptime":3784693,"ram_size":249000,"ram_free":145092,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:28:50,730 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425320.4522622, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:28:50,732 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00285516, power1: 0, power2: 0
2024-01-05 04:28:50,734 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:28:50,736 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425330.730856, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:28:50,752 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:28:50,759 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6786, -2472, -2125, -2188], Scale 0
2024-01-05 04:28:50,803 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [103, 89, 92], Scale -1
2024-01-05 04:28:50,823 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23936, 24049, 23895, 0, 0, 0, 0], Scale -2
2024-01-05 04:28:51,015 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:28:51,052 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9959, 9900, 9990], Scale -2
2024-01-05 04:28:51,073 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337538, 3035095, 2160522, 2693865], Scale 0
2024-01-05 04:28:51,074 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.3, 8.9, 9.200000000000001], powers=[2472.0, 2125.0, 2188.0], voltages=[239.36, 240.49, 238.95000000000002], power_factors=[0.9959, 0.99, 0.9990000000000001], imported=7337538.0, exported=4871307.0, power=6786.0, frequency=49.99)
2024-01-05 04:28:51,076 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:28:51,092 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4995], Scale -2
2024-01-05 04:28:51,141 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:28:51,180 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 33, 33], Scale -2
2024-01-05 04:28:51,225 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5071], Scale -2
2024-01-05 04:28:51,225 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.33, 0.33], power=49.95, exported=7869605.0, dc_power=50.71)
2024-01-05 04:28:51,227 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:28:51,382 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425320.795845, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:28:51,384 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00294085, power1: 0, power2: 0
2024-01-05 04:28:51,384 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:28:51,385 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425331.3829055, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:28:51,386 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:28:51,396 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:28:51,399 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:28:51,448 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:28:51,450 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:28:51,451 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=49.95, exported=7904493.99, dc_power=None)
2024-01-05 04:28:51,452 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:28:51,453 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=49.95, exported=7904493.99, dc_power=None)
2024-01-05 04:28:51,454 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:28:51,465 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:28:51,527 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:28:51,528 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.3, 8.9, 9.200000000000001], powers=[2472.0, 2125.0, 2188.0], voltages=[239.36, 240.49, 238.95000000000002], power_factors=[0.9959, 0.99, 0.9990000000000001], imported=7337538.0, exported=4871307.0, power=6786.0, frequency=49.99)
2024-01-05 04:28:51,695 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:28:51,700 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:28:51,711 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.71, 60.14, 59.870000000000005]A
2024-01-05 04:28:51,713 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40509.2W
2024-01-05 04:28:51,714 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:28:51,717 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:28:51,718 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:28:51,720 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:34:08.695652 start_time 2024-01-05 04:05:51.304348 end 2024-01-05 05:40:00 now 2024-01-05 04:28:51.719701
2024-01-05 04:28:51,721 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1380.415353s, Dauer 1.569082125603865h, Termin heute verpasst: False
2024-01-05 04:28:51,722 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:26:53.913043 start_time 2024-01-06 05:13:06.086957 end 2024-01-06 05:40:00 now 2024-01-05 04:28:51.722363
2024-01-05 04:28:51,723 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89054.364594s, Dauer 0.44830917874396137h, Termin heute verpasst: False
2024-01-05 04:28:51,725 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:28:51,728 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:28:51,739 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:28:51,757 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425321.1116953, power=2433.4000000000005, imported=3360513.0871801614, exported=0)
2024-01-05 04:28:51,759 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00295713, power1: 2433.4, power2: 2440.85
2024-01-05 04:28:51,761 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.20689
2024-01-05 04:28:51,761 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.20689 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425331.757357, power=2440.8500000000004, imported=3360520.294071275, exported=0)
2024-01-05 04:28:51,765 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:28:51,767 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:28:51,768 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3753.91, daily_exported=0, power=4295.2, imported=7210785.16, exported=0))
2024-01-05 04:28:51,773 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=67), currents=[6.04, 6.07, 6.01], daily_imported=3753.91, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210785.16, phases_in_use=3, plug_state=True, power=4295.2, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.89, 239.38, 239.74]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4029.7900000000373, imported_since_plugged=4029.7900000000373, range_charged=20.148950000000188, time_charged='4:16', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70be4808>), 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))
2024-01-05 04:28:51,775 - {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=[])
2024-01-05 04:28:51,776 - {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'])
2024-01-05 04:28:51,785 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2472.0, 2125.0, 2188.0], currents=[10.3, 8.9, 9.2], voltages=[239.36, 240.49, 238.95], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=9247.0, imported=7337538.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6786.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40509.2, raw_currents_left=[58.71, 60.14, 59.870000000000005], surplus_power_left=0, state_str=''))
2024-01-05 04:28:51,786 - {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=2440.8500000000004, invalid_home_consumption=0, daily_yield_home_consumption=5312.1950177583, imported_home_consumption=3360520.294071275, disengageable_smarthome_power=0))
2024-01-05 04:28:51,799 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:28:51,800 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:28:51,803 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:28:51,804 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:28:51,804 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:28:51,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=20000, 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=67, soc_timestamp=1704425292.004658, force_soc_update=False, range=202, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:28:51,806 - {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)
2024-01-05 04:28:51,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)
2024-01-05 04:28:51,816 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:28:51,817 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:28:51,818 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:28:51,819 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:28:51,820 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x70bc59a0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:28:51,822 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:28:51,824 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=49.95))
2024-01-05 04:28:51,826 - {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=8202091.902000001, power=49.95))
2024-01-05 04:28:51,827 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425321, 'time': '04:28:41', 'grid': 6.783, 'house-power': 2.433, 'charging-all': 4.305, 'pv-all': -0.045, 'cp1-power': 4.305, 'ev1-soc': 58.0, 'ev2-soc': 67, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:28:51,829 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:28:51,829 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:28:51,832 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:28:51,833 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:28:51,836 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:28:51,837 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:28:51,838 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:28:51,839 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:28:51,841 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:28:51,843 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:28:51,844 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.71, 54.14, 53.870000000000005]A verbleibende Ströme, 36369.2W verbleibende Leistung
2024-01-05 04:28:51,846 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:28:51,849 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:28:51,851 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:28:51,853 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:28:51,854 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:28:51,856 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:28:51,858 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6730.800000000003W
2024-01-05 04:28:51,859 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6730.800000000003W
2024-01-05 04:28:51,860 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:28:51,861 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:28:51,863 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4042.0 counter 7210785.16
2024-01-05 04:28:51,879 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:28:51,905 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:28:51,931 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:28:52,209 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:28:52,210 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:28:55,219 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:28:55,220 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:29:00,233 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:29:00,234 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:29:00,302 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:29:00,303 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:29:00,304 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:29:00,313 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:29:00,316 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:29:00,352 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6786, -2473, -2126, -2186], Scale 0
2024-01-05 04:29:00,359 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:29:00,362 - {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":240.7, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425339},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:29","unixtime":1704425340,"uptime":3784702,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:29:00,369 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425330.730856, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:29:00,370 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00267744, power1: 0, power2: 0
2024-01-05 04:29:00,372 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:29:00,373 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425340.3696227, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:29:00,375 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:29:00,396 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [103, 89, 91], Scale -1
2024-01-05 04:29:00,421 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23942, 24047, 23903, 0, 0, 0, 0], Scale -2
2024-01-05 04:29:00,440 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:29:00,471 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9980, 9900, 9980], Scale -2
2024-01-05 04:29:00,539 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337553, 3035100, 2160527, 2693870], Scale 0
2024-01-05 04:29:00,541 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.3, 8.9, 9.1], powers=[2473.0, 2126.0, 2186.0], voltages=[239.42000000000002, 240.47, 239.03], power_factors=[0.998, 0.99, 0.998], imported=7337553.0, exported=4871307.0, power=6786.0, frequency=49.99)
2024-01-05 04:29:00,543 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:29:00,581 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4452], Scale -2
2024-01-05 04:29:00,601 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:29:00,621 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [31, 33, 34], Scale -2
2024-01-05 04:29:00,640 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4520], Scale -2
2024-01-05 04:29:00,641 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.31, 0.33, 0.34], power=44.52, exported=7869605.0, dc_power=45.2)
2024-01-05 04:29:00,643 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:29:00,732 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425331.3829055, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:29:00,733 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00259708, power1: 0, power2: 0
2024-01-05 04:29:00,734 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:29:00,734 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425340.7323995, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:29:00,736 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:29:00,744 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:29:00,746 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:29:00,855 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:29:00,863 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:29:00,864 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:29:00,865 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=44.52, exported=7904493.99, dc_power=None)
2024-01-05 04:29:00,867 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:29:00,879 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=44.52, exported=7904493.99, dc_power=None)
2024-01-05 04:29:00,884 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:29:01,108 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:29:01,110 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.3, 8.9, 9.1], powers=[2473.0, 2126.0, 2186.0], voltages=[239.42000000000002, 240.47, 239.03], power_factors=[0.998, 0.99, 0.998], imported=7337553.0, exported=4871307.0, power=6786.0, frequency=49.99)
2024-01-05 04:29:01,279 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:29:01,282 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:29:01,284 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.73, 60.15, 59.99]A
2024-01-05 04:29:01,285 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40519.21W
2024-01-05 04:29:01,287 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:29:01,289 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:29:01,289 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:29:01,291 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:34:08.695652 start_time 2024-01-05 04:05:51.304348 end 2024-01-05 05:40:00 now 2024-01-05 04:29:01.290978
2024-01-05 04:29:01,293 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1389.98663s, Dauer 1.569082125603865h, Termin heute verpasst: False
2024-01-05 04:29:01,295 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:26:53.913043 start_time 2024-01-06 05:13:06.086957 end 2024-01-06 05:40:00 now 2024-01-05 04:29:01.294881
2024-01-05 04:29:01,296 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89044.792076s, Dauer 0.44830917874396137h, Termin heute verpasst: False
2024-01-05 04:29:01,298 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:29:01,300 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:29:01,303 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.09
2024-01-05 04:29:01,319 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425331.757357, power=2440.8500000000004, imported=3360520.294071275, exported=0)
2024-01-05 04:29:01,321 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00265609, power1: 2440.85, power2: 2436.27
2024-01-05 04:29:01,322 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.47703
2024-01-05 04:29:01,323 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.47703 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425341.3192773, power=2436.2699999999995, imported=3360526.7711036694, exported=0)
2024-01-05 04:29:01,329 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:29:01,332 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:29:01,349 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3753.91, daily_exported=0, power=4305.21, imported=7210796.88, exported=0))
2024-01-05 04:29:01,352 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=67), currents=[6.05, 6.09, 6.03], daily_imported=3753.91, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210796.88, phases_in_use=3, plug_state=True, power=4305.21, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.76, 239.25, 239.71]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4042.0, imported_since_plugged=4042.0, range_charged=20.21, time_charged='4:17', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7fa190>), 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))
2024-01-05 04:29:01,355 - {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=[])
2024-01-05 04:29:01,356 - {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'])
2024-01-05 04:29:01,357 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2473.0, 2126.0, 2186.0], currents=[10.3, 8.9, 9.1], voltages=[239.42, 240.47, 239.03], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=9247.0, imported=7337553.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6786.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40519.21, raw_currents_left=[58.73, 60.15, 59.99], surplus_power_left=0, state_str=''))
2024-01-05 04:29:01,359 - {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=2436.2699999999995, invalid_home_consumption=0, daily_yield_home_consumption=5312.1950177583, imported_home_consumption=3360526.7711036694, disengageable_smarthome_power=0))
2024-01-05 04:29:01,365 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:29:01,367 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:29:01,369 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:29:01,371 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:29:01,374 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:29:01,375 - {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=20000, 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=67, soc_timestamp=1704425292.004658, force_soc_update=False, range=202, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:29:01,377 - {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)
2024-01-05 04:29:01,378 - {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)
2024-01-05 04:29:01,379 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:29:01,381 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:29:01,383 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:29:01,383 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:29:01,386 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x701fa7c0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:29:01,387 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:29:01,391 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=44.52))
2024-01-05 04:29:01,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=8202091.902000001, power=44.52))
2024-01-05 04:29:01,395 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425331, 'time': '04:28:51', 'grid': 6.786, 'house-power': 2.441, 'charging-all': 4.295, 'pv-all': -0.05, 'cp1-power': 4.295, 'ev1-soc': 58.0, 'ev2-soc': 67, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:29:01,398 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:29:01,399 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:29:01,401 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:29:01,404 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:29:01,406 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:29:01,406 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:29:01,408 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:29:01,410 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:29:01,412 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:29:01,415 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:29:01,417 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.73, 54.15, 53.99]A verbleibende Ströme, 36379.21W verbleibende Leistung
2024-01-05 04:29:01,419 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:29:01,423 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:29:01,438 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:29:01,440 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:29:01,443 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:29:01,445 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:29:01,449 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6720.790000000001W
2024-01-05 04:29:01,450 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6720.790000000001W
2024-01-05 04:29:01,451 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:29:01,453 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:29:01,455 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4053.7199999997392 counter 7210796.88
2024-01-05 04:29:01,458 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:29:01,462 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:29:01,499 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:29:01,768 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:29:05,795 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:29:05,796 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:29:10,809 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:29:10,812 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:29:10,854 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:29:10,857 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:29:10,869 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:29:10,879 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:29:10,881 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:29:10,940 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:29:10,944 - {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":240.8, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425349},"temperature":{"tC":29.0, "tF":84.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:29","unixtime":1704425351,"uptime":3784713,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:29:10,946 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425340.3696227, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:29:10,947 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00293804, power1: 0, power2: 0
2024-01-05 04:29:10,947 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:29:10,948 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425350.946575, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:29:10,951 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:29:11,096 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6787, -2473, -2129, -2184], Scale 0
2024-01-05 04:29:11,142 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [103, 89, 91], Scale -1
2024-01-05 04:29:11,191 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23957, 24051, 23909, 0, 0, 0, 0], Scale -2
2024-01-05 04:29:11,221 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:29:11,241 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9990, 9890, 9980], Scale -2
2024-01-05 04:29:11,262 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337583, 3035111, 2160536, 2693880], Scale 0
2024-01-05 04:29:11,262 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.3, 8.9, 9.1], powers=[2473.0, 2129.0, 2184.0], voltages=[239.57, 240.51, 239.09], power_factors=[0.9990000000000001, 0.9890000000000001, 0.998], imported=7337583.0, exported=4871307.0, power=6787.0, frequency=49.97)
2024-01-05 04:29:11,264 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:29:11,421 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4108], Scale -2
2024-01-05 04:29:11,473 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:29:11,522 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 33, 33], Scale -2
2024-01-05 04:29:11,592 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4580], Scale -2
2024-01-05 04:29:11,593 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.33, 0.33], power=41.08, exported=7869605.0, dc_power=45.800000000000004)
2024-01-05 04:29:11,594 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:29:11,723 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425340.7323995, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:29:11,724 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00305314, power1: 0, power2: 0
2024-01-05 04:29:11,725 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:29:11,726 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425351.7237127, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:29:11,727 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:29:11,744 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:29:11,745 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:29:11,790 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:29:11,791 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:29:11,793 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=41.08, exported=7904493.99, dc_power=None)
2024-01-05 04:29:11,795 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=41.08, exported=7904493.99, dc_power=None)
2024-01-05 04:29:11,796 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:29:11,798 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:29:11,800 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:29:11,872 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:29:11,873 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.3, 8.9, 9.1], powers=[2473.0, 2129.0, 2184.0], voltages=[239.57, 240.51, 239.09], power_factors=[0.9990000000000001, 0.9890000000000001, 0.998], imported=7337583.0, exported=4871307.0, power=6787.0, frequency=49.97)
2024-01-05 04:29:12,072 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:29:12,074 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:29:12,076 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.71, 60.14, 59.97]A
2024-01-05 04:29:12,077 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40507.76W
2024-01-05 04:29:12,080 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:29:12,082 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:29:12,083 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:29:12,085 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:34:08.695652 start_time 2024-01-05 04:05:51.304348 end 2024-01-05 05:40:00 now 2024-01-05 04:29:12.085105
2024-01-05 04:29:12,086 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1400.780757s, Dauer 1.569082125603865h, Termin heute verpasst: False
2024-01-05 04:29:12,088 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:26:53.913043 start_time 2024-01-06 05:13:06.086957 end 2024-01-06 05:40:00 now 2024-01-05 04:29:12.087591
2024-01-05 04:29:12,090 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89033.999366s, Dauer 0.44830917874396137h, Termin heute verpasst: False
2024-01-05 04:29:12,091 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:29:12,104 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:29:12,115 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:29:12,133 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425341.3192773, power=2436.2699999999995, imported=3360526.7711036694, exported=0)
2024-01-05 04:29:12,135 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00300396, power1: 2436.27, power2: 2451.16
2024-01-05 04:29:12,137 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.34081
2024-01-05 04:29:12,138 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.34081 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425352.1335168, power=2451.16, imported=3360534.1119145816, exported=0)
2024-01-05 04:29:12,141 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:29:12,143 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:29:12,144 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3753.91, daily_exported=0, power=4294.76, imported=7210809.08, exported=0))
2024-01-05 04:29:12,146 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=67), currents=[6.04, 6.07, 6.01], daily_imported=3753.91, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210809.08, phases_in_use=3, plug_state=True, power=4294.76, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.79, 239.38, 239.85]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4053.7199999997392, imported_since_plugged=4053.7199999997392, range_charged=20.268599999998695, time_charged='4:17', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7f01a8>), 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))
2024-01-05 04:29:12,148 - {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=[])
2024-01-05 04:29:12,149 - {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'])
2024-01-05 04:29:12,150 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2473.0, 2129.0, 2184.0], currents=[10.3, 8.9, 9.1], voltages=[239.57, 240.51, 239.09], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=9247.0, imported=7337583.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6787.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40507.76, raw_currents_left=[58.71, 60.14, 59.97], surplus_power_left=0, state_str=''))
2024-01-05 04:29:12,151 - {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=2451.16, invalid_home_consumption=0, daily_yield_home_consumption=5312.1950177583, imported_home_consumption=3360534.1119145816, disengageable_smarthome_power=0))
2024-01-05 04:29:12,153 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:29:12,154 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:29:12,156 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:29:12,158 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:29:12,159 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:29:12,160 - {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=20000, 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=67, soc_timestamp=1704425348.083643, force_soc_update=False, range=202, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:29:12,161 - {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)
2024-01-05 04:29:12,162 - {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)
2024-01-05 04:29:12,164 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:29:12,167 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:29:12,170 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:29:12,171 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:29:12,173 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7f0da8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:29:12,173 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:29:12,174 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=41.08))
2024-01-05 04:29:12,175 - {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=8202091.902000001, power=41.08))
2024-01-05 04:29:12,177 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425341, 'time': '04:29:01', 'grid': 6.786, 'house-power': 2.436, 'charging-all': 4.305, 'pv-all': -0.045, 'cp1-power': 4.305, 'ev1-soc': 58.0, 'ev2-soc': 67, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:29:12,179 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:29:12,180 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:29:12,181 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:29:12,182 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:29:12,183 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:29:12,185 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:29:12,186 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:29:12,187 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:29:12,188 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:29:12,190 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:29:12,191 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.71, 54.14, 53.97]A verbleibende Ströme, 36367.76W verbleibende Leistung
2024-01-05 04:29:12,193 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:29:12,197 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:29:12,199 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:29:12,200 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:29:12,202 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:29:12,206 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:29:12,207 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6732.239999999998W
2024-01-05 04:29:12,208 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6732.239999999998W
2024-01-05 04:29:12,209 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:29:12,211 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:29:12,215 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4065.9199999999255 counter 7210809.08
2024-01-05 04:29:12,217 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:29:12,223 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:29:12,260 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:29:12,555 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:29:12,557 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:29:15,565 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:29:15,566 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:29:20,578 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:29:20,580 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:29:20,647 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:29:20,649 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:29:20,653 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:29:20,662 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:29:20,700 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:29:20,709 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:29:20,711 - {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":240.6, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425359},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:29","unixtime":1704425361,"uptime":3784723,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:29:20,721 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425350.946575, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:29:20,724 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00271512, power1: 0, power2: 0
2024-01-05 04:29:20,730 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:29:20,733 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425360.7209902, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:29:20,747 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6785, -2478, -2125, -2182], Scale 0
2024-01-05 04:29:20,751 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:29:20,789 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [104, 89, 91], Scale -1
2024-01-05 04:29:20,835 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23925, 24029, 23883, 0, 0, 0, 0], Scale -2
2024-01-05 04:29:20,863 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:29:20,882 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9950, 9900, 9969], Scale -2
2024-01-05 04:29:20,927 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337598, 3035117, 2160541, 2693884], Scale 0
2024-01-05 04:29:20,928 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.4, 8.9, 9.1], powers=[2478.0, 2125.0, 2182.0], voltages=[239.25, 240.29, 238.83], power_factors=[0.995, 0.99, 0.9969], imported=7337598.0, exported=4871307.0, power=6785.0, frequency=49.99)
2024-01-05 04:29:20,930 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:29:20,952 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4894], Scale -2
2024-01-05 04:29:20,973 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:29:20,991 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 32, 32], Scale -2
2024-01-05 04:29:21,081 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4968], Scale -2
2024-01-05 04:29:21,082 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.32, 0.32], power=48.94, exported=7869605.0, dc_power=49.68)
2024-01-05 04:29:21,083 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:29:21,122 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425351.7237127, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:29:21,122 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00261064, power1: 0, power2: 0
2024-01-05 04:29:21,123 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:29:21,123 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425361.1220028, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:29:21,124 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:29:21,128 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:29:21,129 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:29:21,175 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:29:21,176 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:29:21,178 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:29:21,181 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=48.94, exported=7904493.99, dc_power=None)
2024-01-05 04:29:21,187 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:29:21,189 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=48.94, exported=7904493.99, dc_power=None)
2024-01-05 04:29:21,191 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:29:21,242 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:29:21,243 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.4, 8.9, 9.1], powers=[2478.0, 2125.0, 2182.0], voltages=[239.25, 240.29, 238.83], power_factors=[0.995, 0.99, 0.9969], imported=7337598.0, exported=4871307.0, power=6785.0, frequency=49.99)
2024-01-05 04:29:21,400 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:29:21,409 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:29:21,414 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.63, 60.16, 59.99]A
2024-01-05 04:29:21,415 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40520.020000000004W
2024-01-05 04:29:21,416 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:29:21,419 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:29:21,421 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:29:21,423 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:34:08.695652 start_time 2024-01-05 04:05:51.304348 end 2024-01-05 05:40:00 now 2024-01-05 04:29:21.423393
2024-01-05 04:29:21,425 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1410.119045s, Dauer 1.569082125603865h, Termin heute verpasst: False
2024-01-05 04:29:21,426 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:26:53.913043 start_time 2024-01-06 05:13:06.086957 end 2024-01-06 05:40:00 now 2024-01-05 04:29:21.425922
2024-01-05 04:29:21,428 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89024.661035s, Dauer 0.44830917874396137h, Termin heute verpasst: False
2024-01-05 04:29:21,428 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:29:21,431 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:29:21,432 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.09
2024-01-05 04:29:21,442 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425352.1335168, power=2451.16, imported=3360534.1119145816, exported=0)
2024-01-05 04:29:21,443 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00258575, power1: 2451.16, power2: 2431.04
2024-01-05 04:29:21,445 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.31207
2024-01-05 04:29:21,447 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.31207 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425361.442215, power=2431.04, imported=3360540.423987671, exported=0)
2024-01-05 04:29:21,452 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:29:21,454 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:29:21,456 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3753.91, daily_exported=0, power=4305.02, imported=7210820.8, exported=0))
2024-01-05 04:29: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', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=67), currents=[6.06, 6.09, 6.03], daily_imported=3753.91, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210820.8, phases_in_use=3, plug_state=True, power=4305.02, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.64, 239.15, 239.65]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4065.9199999999255, imported_since_plugged=4065.9199999999255, range_charged=20.32959999999963, time_charged='4:17', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7e0910>), 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))
2024-01-05 04:29:21,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=[])
2024-01-05 04:29:21,466 - {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'])
2024-01-05 04:29:21,467 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2478.0, 2125.0, 2182.0], currents=[10.4, 8.9, 9.1], voltages=[239.25, 240.29, 238.83], power_factors=[0.99, 0.99, 1.0], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=9247.0, imported=7337598.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6785.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40520.020000000004, raw_currents_left=[58.63, 60.16, 59.99], surplus_power_left=0, state_str=''))
2024-01-05 04:29:21,468 - {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=2431.04, invalid_home_consumption=0, daily_yield_home_consumption=5312.1950177583, imported_home_consumption=3360540.423987671, disengageable_smarthome_power=0))
2024-01-05 04:29:21,470 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:29:21,471 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:29:21,474 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:29:21,476 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:29:21,478 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:29:21,481 - {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=20000, 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=67, soc_timestamp=1704425348.083643, force_soc_update=False, range=202, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:29:21,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)
2024-01-05 04:29:21,484 - {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)
2024-01-05 04:29:21,484 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:29:21,487 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:29:21,488 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:29:21,488 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:29:21,490 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7dc9a0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:29:21,494 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:29:21,494 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=48.94))
2024-01-05 04:29:21,495 - {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=8202091.902000001, power=48.94))
2024-01-05 04:29:21,496 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425352, 'time': '04:29:12', 'grid': 6.787, 'house-power': 2.451, 'charging-all': 4.295, 'pv-all': -0.041, 'cp1-power': 4.295, 'ev1-soc': 58.0, 'ev2-soc': 67, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:29:21,496 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:29:21,497 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:29:21,497 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:29:21,497 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:29:21,498 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:29:21,498 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:29:21,498 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:29:21,499 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:29:21,499 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:29:21,500 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:29:21,501 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.63, 54.16, 53.99]A verbleibende Ströme, 36380.020000000004W verbleibende Leistung
2024-01-05 04:29:21,501 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:29:21,503 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:29:21,504 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:29:21,505 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:29:21,506 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:29:21,509 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:29:21,519 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6719.979999999996W
2024-01-05 04:29:21,521 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6719.979999999996W
2024-01-05 04:29:21,523 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:29:21,524 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:29:21,528 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4077.6399999996647 counter 7210820.8
2024-01-05 04:29:21,532 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:29:21,538 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:29:21,573 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:29:21,817 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:29:25,836 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:29:25,838 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:29:30,851 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:29:30,852 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:29:30,895 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:29:30,902 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:29:30,905 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:29:30,910 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:29:30,917 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:29:30,973 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6789, -2479, -2125, -2183], Scale 0
2024-01-05 04:29:30,984 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:29:30,987 - {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":240.6, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425369},"temperature":{"tC":29.2, "tF":84.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:29","unixtime":1704425371,"uptime":3784733,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:29:30,989 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425360.7209902, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:29:30,990 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00285238, power1: 0, power2: 0
2024-01-05 04:29:30,991 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:29:30,992 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425370.9895442, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:29:30,994 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:29:31,003 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [103, 89, 91], Scale -1
2024-01-05 04:29:31,022 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23934, 24032, 23873, 0, 0, 0, 0], Scale -2
2024-01-05 04:29:31,041 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:29:31,077 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9950, 9909, 9950], Scale -2
2024-01-05 04:29:31,105 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337613, 3035122, 2160546, 2693889], Scale 0
2024-01-05 04:29:31,106 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.3, 8.9, 9.1], powers=[2479.0, 2125.0, 2183.0], voltages=[239.34, 240.32, 238.73000000000002], power_factors=[0.995, 0.9909, 0.995], imported=7337613.0, exported=4871307.0, power=6789.0, frequency=49.99)
2024-01-05 04:29:31,108 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:29:31,146 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4924], Scale -2
2024-01-05 04:29:31,193 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:29:31,212 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 33], Scale -2
2024-01-05 04:29:31,232 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4564], Scale -2
2024-01-05 04:29:31,233 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.33], power=49.24, exported=7869605.0, dc_power=45.64)
2024-01-05 04:29:31,234 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:29:31,402 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425361.1220028, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:29:31,403 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00285575, power1: 0, power2: 0
2024-01-05 04:29:31,404 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:29:31,404 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425371.402715, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:29:31,405 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:29:31,418 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:29:31,422 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:29:31,472 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:29:31,474 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:29:31,476 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=49.24, exported=7904493.99, dc_power=None)
2024-01-05 04:29:31,478 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:29:31,486 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=49.24, exported=7904493.99, dc_power=None)
2024-01-05 04:29:31,487 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:29:31,491 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:29:31,558 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:29:31,559 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.3, 8.9, 9.1], powers=[2479.0, 2125.0, 2183.0], voltages=[239.34, 240.32, 238.73000000000002], power_factors=[0.995, 0.9909, 0.995], imported=7337613.0, exported=4871307.0, power=6789.0, frequency=49.99)
2024-01-05 04:29:31,740 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:29:31,747 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:29:31,754 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.72, 60.14, 59.97]A
2024-01-05 04:29:31,764 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40506.85W
2024-01-05 04:29:31,770 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:29:31,779 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:29:31,780 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:29:31,782 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:34:08.695652 start_time 2024-01-05 04:05:51.304348 end 2024-01-05 05:40:00 now 2024-01-05 04:29:31.781781
2024-01-05 04:29:31,783 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1420.477433s, Dauer 1.569082125603865h, Termin heute verpasst: False
2024-01-05 04:29:31,785 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:26:53.913043 start_time 2024-01-06 05:13:06.086957 end 2024-01-06 05:40:00 now 2024-01-05 04:29:31.784928
2024-01-05 04:29:31,789 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89014.302029s, Dauer 0.44830917874396137h, Termin heute verpasst: False
2024-01-05 04:29:31,790 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:29:31,813 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:29:31,819 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:29:31,833 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425361.442215, power=2431.04, imported=3360540.423987671, exported=0)
2024-01-05 04:29:31,834 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00288649, power1: 2431.04, power2: 2443.91
2024-01-05 04:29:31,835 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.03575
2024-01-05 04:29:31,836 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.03575 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425371.8335805, power=2443.91, imported=3360547.4597359183, exported=0)
2024-01-05 04:29:31,839 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:29:31,840 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:29:31,842 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3753.91, daily_exported=0, power=4295.85, imported=7210833.01, exported=0))
2024-01-05 04:29:31,848 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=67), currents=[6.04, 6.07, 6.02], daily_imported=3753.91, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210833.01, phases_in_use=3, plug_state=True, power=4295.85, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.75, 239.29, 239.73]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4077.6399999996647, imported_since_plugged=4077.6399999996647, range_charged=20.388199999998324, time_charged='4:17', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d3e80>), 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))
2024-01-05 04:29:31,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=[])
2024-01-05 04:29:31,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'])
2024-01-05 04:29:31,852 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2479.0, 2125.0, 2183.0], currents=[10.3, 8.9, 9.1], voltages=[239.34, 240.32, 238.73], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=9247.0, imported=7337613.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6789.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40506.85, raw_currents_left=[58.72, 60.14, 59.97], surplus_power_left=0, state_str=''))
2024-01-05 04:29:31,854 - {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=2443.91, invalid_home_consumption=0, daily_yield_home_consumption=5312.1950177583, imported_home_consumption=3360547.4597359183, disengageable_smarthome_power=0))
2024-01-05 04:29:31,855 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:29:31,857 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:29:31,858 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:29:31,859 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:29:31,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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:29:31,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=20000, 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=67, soc_timestamp=1704425348.083643, force_soc_update=False, range=202, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:29:31,863 - {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)
2024-01-05 04:29:31,864 - {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)
2024-01-05 04:29:31,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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:29:31,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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:29:31,868 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:29:31,868 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:29:31,870 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7d4b68>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:29:31,871 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:29:31,872 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=49.24))
2024-01-05 04:29:31,873 - {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=8202091.902000001, power=49.24))
2024-01-05 04:29:31,875 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425361, 'time': '04:29:21', 'grid': 6.785, 'house-power': 2.431, 'charging-all': 4.305, 'pv-all': -0.049, 'cp1-power': 4.305, 'ev1-soc': 58.0, 'ev2-soc': 67, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:29:31,876 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:29:31,877 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:29:31,878 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:29:31,880 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:29:31,882 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:29:31,883 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:29:31,884 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:29:31,884 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:29:31,886 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:29:31,887 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:29:31,889 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.72, 54.14, 53.97]A verbleibende Ströme, 36366.85W verbleibende Leistung
2024-01-05 04:29:31,890 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:29:31,893 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:29:31,895 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:29:31,896 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:29:31,897 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:29:31,899 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:29:31,900 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6733.1500000000015W
2024-01-05 04:29:31,903 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6733.1500000000015W
2024-01-05 04:29:31,906 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:29:31,907 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:29:31,909 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4089.8499999996275 counter 7210833.01
2024-01-05 04:29:31,914 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:29:31,916 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:29:31,945 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:29:32,242 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:29:32,244 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:29:35,252 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:29:35,253 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:29:40,264 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:29:40,265 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:29:40,341 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:29:40,343 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:29:40,344 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:29:40,354 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:29:40,356 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:29:40,406 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:29:40,409 - {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":240.7, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425379},"temperature":{"tC":29.1, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:29","unixtime":1704425380,"uptime":3784743,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:29:40,414 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425370.9895442, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:29:40,418 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6779, -2471, -2125, -2182], Scale 0
2024-01-05 04:29:40,418 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00261812, power1: 0, power2: 0
2024-01-05 04:29:40,423 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:29:40,425 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425380.4147663, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:29:40,427 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:29:40,443 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [104, 89, 92], Scale -1
2024-01-05 04:29:40,572 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23928, 24024, 23869, 0, 0, 0, 0], Scale -2
2024-01-05 04:29:40,621 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:29:40,650 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9950, 9900, 9990], Scale -2
2024-01-05 04:29:40,671 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337628, 3035128, 2160550, 2693894], Scale 0
2024-01-05 04:29:40,671 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.4, 8.9, 9.200000000000001], powers=[2471.0, 2125.0, 2182.0], voltages=[239.28, 240.24, 238.69], power_factors=[0.995, 0.99, 0.9990000000000001], imported=7337628.0, exported=4871307.0, power=6779.0, frequency=49.97)
2024-01-05 04:29:40,673 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:29:40,690 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4451], Scale -2
2024-01-05 04:29:40,710 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:29:40,731 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 33, 32], Scale -2
2024-01-05 04:29:40,804 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5157], Scale -2
2024-01-05 04:29:40,805 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.33, 0.32], power=44.51, exported=7869605.0, dc_power=51.57)
2024-01-05 04:29:40,806 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:29:40,869 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425371.402715, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:29:40,870 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00262967, power1: 0, power2: 0
2024-01-05 04:29:40,870 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:29:40,870 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425380.869522, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:29:40,871 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:29:40,883 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:29:40,884 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:29:40,951 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:29:40,952 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:29:40,955 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:29:40,969 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=44.51, exported=7904493.99, dc_power=None)
2024-01-05 04:29:40,975 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:29:40,982 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=44.51, exported=7904493.99, dc_power=None)
2024-01-05 04:29:40,996 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:29:41,205 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:29:41,212 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.4, 8.9, 9.200000000000001], powers=[2471.0, 2125.0, 2182.0], voltages=[239.28, 240.24, 238.69], power_factors=[0.995, 0.99, 0.9990000000000001], imported=7337628.0, exported=4871307.0, power=6779.0, frequency=49.97)
2024-01-05 04:29:41,402 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:29:41,407 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:29:41,413 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.62, 60.16, 59.89]A
2024-01-05 04:29:41,418 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40526.62W
2024-01-05 04:29:41,421 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:29:41,427 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:29:41,430 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:29:41,431 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:34:08.695652 start_time 2024-01-05 04:05:51.304348 end 2024-01-05 05:40:00 now 2024-01-05 04:29:41.431278
2024-01-05 04:29:41,432 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1430.12693s, Dauer 1.569082125603865h, Termin heute verpasst: False
2024-01-05 04:29:41,434 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:26:53.913043 start_time 2024-01-06 05:13:06.086957 end 2024-01-06 05:40:00 now 2024-01-05 04:29:41.434164
2024-01-05 04:29:41,435 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89004.652793s, Dauer 0.44830917874396137h, Termin heute verpasst: False
2024-01-05 04:29:41,436 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:29:41,452 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:29:41,454 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.09
2024-01-05 04:29:41,471 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425371.8335805, power=2443.91, imported=3360547.4597359183, exported=0)
2024-01-05 04:29:41,472 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00267715, power1: 2443.91, power2: 2428.87
2024-01-05 04:29:41,473 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.52259
2024-01-05 04:29:41,474 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.52259 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425381.4713302, power=2428.87, imported=3360553.9823239525, exported=0)
2024-01-05 04:29:41,475 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:29:41,477 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:29:41,478 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3753.91, daily_exported=0, power=4305.62, imported=7210845.21, exported=0))
2024-01-05 04:29:41,480 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=67), currents=[6.06, 6.09, 6.02], daily_imported=3753.91, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210845.21, phases_in_use=3, plug_state=True, power=4305.62, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.78, 239.35, 239.87]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4089.8499999996275, imported_since_plugged=4089.8499999996275, range_charged=20.449249999998138, time_charged='4:17', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7ea8b0>), 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))
2024-01-05 04:29:41,481 - {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=[])
2024-01-05 04:29:41,482 - {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'])
2024-01-05 04:29:41,483 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2471.0, 2125.0, 2182.0], currents=[10.4, 8.9, 9.2], voltages=[239.28, 240.24, 238.69], power_factors=[0.99, 0.99, 1.0], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=9247.0, imported=7337628.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6779.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40526.62, raw_currents_left=[58.62, 60.16, 59.89], surplus_power_left=0, state_str=''))
2024-01-05 04:29:41,484 - {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=2428.87, invalid_home_consumption=0, daily_yield_home_consumption=5312.1950177583, imported_home_consumption=3360553.9823239525, disengageable_smarthome_power=0))
2024-01-05 04:29:41,485 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:29:41,486 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:29:41,488 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:29:41,489 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:29:41,496 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:29:41,497 - {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=20000, 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=67, soc_timestamp=1704425348.083643, force_soc_update=False, range=202, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:29:41,498 - {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)
2024-01-05 04:29:41,498 - {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)
2024-01-05 04:29:41,499 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:29:41,501 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:29:41,505 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:29:41,506 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:29:41,507 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f75fa18>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:29:41,509 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:29:41,510 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=44.51))
2024-01-05 04:29:41,512 - {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=8202091.902000001, power=44.51))
2024-01-05 04:29:41,513 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425371, 'time': '04:29:31', 'grid': 6.789, 'house-power': 2.444, 'charging-all': 4.296, 'pv-all': -0.049, 'cp1-power': 4.296, 'ev1-soc': 58.0, 'ev2-soc': 67, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:29:41,515 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:29:41,516 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:29:41,517 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:29:41,519 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:29:41,520 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:29:41,521 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:29:41,522 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:29:41,523 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:29:41,524 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:29:41,526 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:29:41,527 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.62, 54.16, 53.89]A verbleibende Ströme, 36386.62W verbleibende Leistung
2024-01-05 04:29:41,529 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:29:41,531 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:29:41,533 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:29:41,534 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:29:41,537 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:29:41,540 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:29:41,541 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6713.379999999997W
2024-01-05 04:29:41,542 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6713.379999999997W
2024-01-05 04:29:41,543 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:29:41,546 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:29:41,549 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4102.049999999814 counter 7210845.21
2024-01-05 04:29:41,558 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:29:41,565 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:29:41,596 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:29:41,834 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:29:45,856 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:29:45,857 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:29:50,872 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:29:50,874 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:29:50,952 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:29:50,955 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:29:50,959 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:29:50,970 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:29:50,976 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:29:51,014 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6787, -2474, -2124, -2189], Scale 0
2024-01-05 04:29:51,021 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:29:51,025 - {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":240.6, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425389},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:29","unixtime":1704425391,"uptime":3784753,"ram_size":249000,"ram_free":145092,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:29:51,032 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425380.4147663, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:29:51,036 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00294947, power1: 0, power2: 0
2024-01-05 04:29:51,037 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:29:51,039 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425391.0328667, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:29:51,057 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:29:51,068 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [103, 89, 91], Scale -1
2024-01-05 04:29:51,093 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23946, 24031, 23887, 0, 0, 0, 0], Scale -2
2024-01-05 04:29:51,112 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:29:51,132 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9959, 9879, 9990], Scale -2
2024-01-05 04:29:51,180 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337659, 3035139, 2160560, 2693904], Scale 0
2024-01-05 04:29:51,182 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.3, 8.9, 9.1], powers=[2474.0, 2124.0, 2189.0], voltages=[239.46, 240.31, 238.87], power_factors=[0.9959, 0.9879000000000001, 0.9990000000000001], imported=7337659.0, exported=4871307.0, power=6787.0, frequency=49.99)
2024-01-05 04:29:51,185 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:29:51,223 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4575], Scale -2
2024-01-05 04:29:51,256 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:29:51,271 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 32, 33], Scale -2
2024-01-05 04:29:51,402 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5063], Scale -2
2024-01-05 04:29:51,402 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.32, 0.33], power=45.75, exported=7869605.0, dc_power=50.63)
2024-01-05 04:29:51,404 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:29:51,472 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425380.869522, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:29:51,472 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00294518, power1: 0, power2: 0
2024-01-05 04:29:51,473 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:29:51,473 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425391.472171, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:29:51,474 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:29:51,486 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:29:51,488 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:29:51,535 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:29:51,547 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:29:51,550 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=45.75, exported=7904493.99, dc_power=None)
2024-01-05 04:29:51,550 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=45.75, exported=7904493.99, dc_power=None)
2024-01-05 04:29:51,562 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:29:51,568 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:29:51,569 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:29:51,611 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:29:51,614 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.3, 8.9, 9.1], powers=[2474.0, 2124.0, 2189.0], voltages=[239.46, 240.31, 238.87], power_factors=[0.9959, 0.9879000000000001, 0.9990000000000001], imported=7337659.0, exported=4871307.0, power=6787.0, frequency=49.99)
2024-01-05 04:29:51,800 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:29:51,801 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:29:51,804 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.71, 60.14, 59.97]A
2024-01-05 04:29:51,805 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40508.63W
2024-01-05 04:29:51,809 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:29:51,810 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:29:51,811 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:29:51,813 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:34:08.695652 start_time 2024-01-05 04:05:51.304348 end 2024-01-05 05:40:00 now 2024-01-05 04:29:51.812865
2024-01-05 04:29:51,814 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1440.508517s, Dauer 1.569082125603865h, Termin heute verpasst: False
2024-01-05 04:29:51,818 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:26:53.913043 start_time 2024-01-06 05:13:06.086957 end 2024-01-06 05:40:00 now 2024-01-05 04:29:51.817988
2024-01-05 04:29:51,820 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 88994.268969s, Dauer 0.44830917874396137h, Termin heute verpasst: False
2024-01-05 04:29:51,821 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:29:51,824 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:29:51,825 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:29:51,840 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425381.4713302, power=2428.87, imported=3360553.9823239525, exported=0)
2024-01-05 04:29:51,843 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00288026, power1: 2428.87, power2: 2445.62
2024-01-05 04:29:51,854 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.01989
2024-01-05 04:29:51,855 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.01989 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425391.84025, power=2445.62, imported=3360561.002212302, exported=0)
2024-01-05 04:29:51,857 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:29:51,859 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:29:51,861 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3753.91, daily_exported=0, power=4295.63, imported=7210856.93, exported=0))
2024-01-05 04:29:51,864 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=67), currents=[6.04, 6.07, 6.01], daily_imported=3753.91, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210856.93, phases_in_use=3, plug_state=True, power=4295.63, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.67, 239.16, 239.72]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4102.049999999814, imported_since_plugged=4102.049999999814, range_charged=20.51024999999907, time_charged='4:18', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d43b8>), 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))
2024-01-05 04:29:51,866 - {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=[])
2024-01-05 04:29:51,867 - {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'])
2024-01-05 04:29:51,868 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2474.0, 2124.0, 2189.0], currents=[10.3, 8.9, 9.1], voltages=[239.46, 240.31, 238.87], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=9247.0, imported=7337659.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6787.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40508.63, raw_currents_left=[58.71, 60.14, 59.97], surplus_power_left=0, state_str=''))
2024-01-05 04:29:51,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=2445.62, invalid_home_consumption=0, daily_yield_home_consumption=5312.1950177583, imported_home_consumption=3360561.002212302, disengageable_smarthome_power=0))
2024-01-05 04:29:51,872 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:29:51,874 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:29:51,877 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:29:51,879 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:29:51,880 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:29:51,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=20000, 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=67, soc_timestamp=1704425348.083643, force_soc_update=False, range=202, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:29:51,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)
2024-01-05 04:29:51,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)
2024-01-05 04:29:51,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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:29:51,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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:29:51,888 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:29:51,890 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:29:51,891 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x70b89d30>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:29:51,892 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:29:51,893 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=45.75))
2024-01-05 04:29:51,895 - {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=8202091.902000001, power=45.75))
2024-01-05 04:29:51,896 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425381, 'time': '04:29:41', 'grid': 6.779, 'house-power': 2.429, 'charging-all': 4.306, 'pv-all': -0.045, 'cp1-power': 4.306, 'ev1-soc': 58.0, 'ev2-soc': 67, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:29:51,898 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:29:51,899 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:29:51,901 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:29:51,903 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:29:51,904 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:29:51,905 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:29:51,906 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:29:51,908 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:29:51,909 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:29:51,911 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:29:51,913 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.71, 54.14, 53.97]A verbleibende Ströme, 36368.63W verbleibende Leistung
2024-01-05 04:29:51,914 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:29:51,918 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:29:51,920 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:29:51,921 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:29:51,922 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:29:51,925 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:29:51,931 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6731.370000000003W
2024-01-05 04:29:51,938 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6731.370000000003W
2024-01-05 04:29:51,940 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:29:51,943 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:29:51,946 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4113.769999999553 counter 7210856.93
2024-01-05 04:29:51,949 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:29:51,951 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:29:51,998 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:29:52,312 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:29:52,316 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:29:55,324 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:29:55,325 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:30:00,338 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:30:00,339 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:30:00,422 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:30:00,424 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:30:00,425 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:30:00,432 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:30:00,434 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:30:00,477 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:30:00,480 - {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":240.8, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425399},"temperature":{"tC":29.2, "tF":84.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:30","unixtime":1704425400,"uptime":3784763,"ram_size":248948,"ram_free":144524,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:30:00,481 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6780, -2470, -2127, -2182], Scale 0
2024-01-05 04:30:00,485 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425391.0328667, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:30:00,486 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0026257, power1: 0, power2: 0
2024-01-05 04:30:00,486 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:30:00,487 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425400.4853787, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:30:00,488 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:30:00,500 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [103, 89, 91], Scale -1
2024-01-05 04:30:00,693 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23939, 24043, 23890, 0, 0, 0, 0], Scale -2
2024-01-05 04:30:00,732 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:30:00,761 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9980, 9900, 9990], Scale -2
2024-01-05 04:30:00,782 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337673, 3035144, 2160564, 2693909], Scale 0
2024-01-05 04:30:00,782 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.3, 8.9, 9.1], powers=[2470.0, 2127.0, 2182.0], voltages=[239.39000000000001, 240.43, 238.9], power_factors=[0.998, 0.99, 0.9990000000000001], imported=7337673.0, exported=4871307.0, power=6780.0, frequency=50.0)
2024-01-05 04:30:00,784 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:30:00,801 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5030], Scale -2
2024-01-05 04:30:00,852 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:30:00,881 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 32, 33], Scale -2
2024-01-05 04:30:00,913 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5107], Scale -2
2024-01-05 04:30:00,914 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.32, 0.33], power=50.300000000000004, exported=7869605.0, dc_power=51.07)
2024-01-05 04:30:00,916 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:30:01,042 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425391.472171, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:30:01,046 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00265835, power1: 0, power2: 0
2024-01-05 04:30:01,049 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:30:01,051 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425401.0422301, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:30:01,057 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:30:01,072 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:30:01,073 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:30:01,248 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:30:01,250 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:30:01,253 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=50.300000000000004, exported=7904493.99, dc_power=None)
2024-01-05 04:30:01,253 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=50.300000000000004, exported=7904493.99, dc_power=None)
2024-01-05 04:30:01,255 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:30:01,257 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:30:01,260 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:30:01,340 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:30:01,341 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.3, 8.9, 9.1], powers=[2470.0, 2127.0, 2182.0], voltages=[239.39000000000001, 240.43, 238.9], power_factors=[0.998, 0.99, 0.9990000000000001], imported=7337673.0, exported=4871307.0, power=6780.0, frequency=50.0)
2024-01-05 04:30:01,504 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:30:01,506 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:30:01,509 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.73, 60.15, 59.99]A
2024-01-05 04:30:01,511 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40525.54W
2024-01-05 04:30:01,513 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:30:01,517 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:30:01,518 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:30:01,519 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:34:08.695652 start_time 2024-01-05 04:05:51.304348 end 2024-01-05 05:40:00 now 2024-01-05 04:30:01.519062
2024-01-05 04:30:01,520 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1450.214714s, Dauer 1.569082125603865h, Termin heute verpasst: False
2024-01-05 04:30:01,521 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:26:53.913043 start_time 2024-01-06 05:13:06.086957 end 2024-01-06 05:40:00 now 2024-01-05 04:30:01.521417
2024-01-05 04:30:01,522 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 88984.56554s, Dauer 0.44830917874396137h, Termin heute verpasst: False
2024-01-05 04:30:01,523 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:30:01,531 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:30:01,534 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.09
2024-01-05 04:30:01,548 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425391.84025, power=2445.62, imported=3360561.002212302, exported=0)
2024-01-05 04:30:01,549 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00269652, power1: 2445.62, power2: 2424.16
2024-01-05 04:30:01,550 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.56573
2024-01-05 04:30:01,551 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.56573 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425401.5477235, power=2424.16, imported=3360567.5679429104, exported=0)
2024-01-05 04:30:01,557 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:30:01,558 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:30:01,561 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=3753.91, daily_exported=0, power=4305.54, imported=7210869.14, exported=0))
2024-01-05 04:30:01,564 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=67), currents=[6.05, 6.09, 6.03], daily_imported=3753.91, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210869.14, phases_in_use=3, plug_state=True, power=4305.54, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.82, 239.25, 239.81]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4113.769999999553, imported_since_plugged=4113.769999999553, range_charged=20.568849999997767, time_charged='4:18', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b1a2e0>), 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))
2024-01-05 04:30:01,565 - {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=[])
2024-01-05 04:30:01,566 - {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'])
2024-01-05 04:30:01,567 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2470.0, 2127.0, 2182.0], currents=[10.3, 8.9, 9.1], voltages=[239.39, 240.43, 238.9], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=9247.0, imported=7337673.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6780.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40525.54, raw_currents_left=[58.73, 60.15, 59.99], surplus_power_left=0, state_str=''))
2024-01-05 04:30:01,568 - {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=2424.16, invalid_home_consumption=0, daily_yield_home_consumption=5312.1950177583, imported_home_consumption=3360567.5679429104, disengageable_smarthome_power=0))
2024-01-05 04:30:01,569 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:30:01,570 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:30:01,571 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:30:01,573 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:30:01,575 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:30:01,576 - {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=20000, 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=67, soc_timestamp=1704425348.083643, force_soc_update=False, range=202, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:30:01,577 - {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)
2024-01-05 04:30:01,578 - {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)
2024-01-05 04:30:01,578 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:30:01,579 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:30:01,580 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:30:01,583 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:30:01,586 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7edad8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:30:01,587 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:30:01,590 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=50.3))
2024-01-05 04:30:01,593 - {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=8202091.902000001, power=50.3))
2024-01-05 04:30:01,597 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425391, 'time': '04:29:51', 'grid': 6.787, 'house-power': 2.446, 'charging-all': 4.296, 'pv-all': -0.046, 'cp1-power': 4.296, 'ev1-soc': 58.0, 'ev2-soc': 67, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:30:01,598 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:30:01,599 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:30:01,600 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:30:01,600 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:30:01,600 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:30:01,601 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:30:01,601 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:30:01,601 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:30:01,602 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:30:01,603 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:30:01,603 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.73, 54.15, 53.99]A verbleibende Ströme, 36385.54W verbleibende Leistung
2024-01-05 04:30:01,604 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:30:01,606 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:30:01,608 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:30:01,609 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:30:01,614 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:30:01,616 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:30:01,617 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6714.459999999999W
2024-01-05 04:30:01,618 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6714.459999999999W
2024-01-05 04:30:01,619 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:30:01,620 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:30:01,623 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4125.979999999516 counter 7210869.14
2024-01-05 04:30:01,625 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:30:01,629 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:30:01,649 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:30:01,912 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:30:01,920 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2024-01-05 04:30:01,967 - {root:107} - {DEBUG:MainThread} - 5 Minuten Handler ausführen.
2024-01-05 04:30:02,039 - {helpermodules.system:74} - {INFO:MainThread} - my IP: 192.168.1.31
2024-01-05 04:30:02,040 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2024-01-05 04:30:05,446 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:30:05,448 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:30:10,459 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:30:10,460 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:30:10,507 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:30:10,509 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:30:10,510 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:30:10,517 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:30:10,519 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:30:10,561 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:30:10,567 - {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":240.7, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425409},"temperature":{"tC":29.1, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:30","unixtime":1704425411,"uptime":3784773,"ram_size":248948,"ram_free":144524,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:30:10,572 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425400.4853787, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:30:10,573 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00280191, power1: 0, power2: 0
2024-01-05 04:30:10,574 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:30:10,576 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425410.5722642, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:30:10,579 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:30:10,622 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6774, -2472, -2121, -2180], Scale 0
2024-01-05 04:30:10,640 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [103, 89, 91], Scale -1
2024-01-05 04:30:10,661 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23944, 24029, 23869, 0, 0, 0, 0], Scale -2
2024-01-05 04:30:10,680 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:30:10,700 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9940, 9900, 9929], Scale -2
2024-01-05 04:30:10,754 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337688, 3035150, 2160569, 2693914], Scale 0
2024-01-05 04:30:10,755 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.3, 8.9, 9.1], powers=[2472.0, 2121.0, 2180.0], voltages=[239.44, 240.29, 238.69], power_factors=[0.9940000000000001, 0.99, 0.9929000000000001], imported=7337688.0, exported=4871307.0, power=6774.0, frequency=49.99)
2024-01-05 04:30:10,760 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:30:10,789 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5336], Scale -2
2024-01-05 04:30:10,831 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:30:10,850 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 33], Scale -2
2024-01-05 04:30:10,871 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5417], Scale -2
2024-01-05 04:30:10,872 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.33], power=53.36, exported=7869605.0, dc_power=54.17)
2024-01-05 04:30:10,876 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:30:11,071 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425401.0422301, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:30:11,072 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00278602, power1: 0, power2: 0
2024-01-05 04:30:11,073 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:30:11,074 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425411.0718904, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:30:11,075 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:30:11,078 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:30:11,079 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:30:11,223 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:30:11,224 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:30:11,227 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:30:11,228 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=53.36, exported=7904493.99, dc_power=None)
2024-01-05 04:30:11,238 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:30:11,241 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=53.36, exported=7904493.99, dc_power=None)
2024-01-05 04:30:11,243 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:30:11,314 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:30:11,315 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.3, 8.9, 9.1], powers=[2472.0, 2121.0, 2180.0], voltages=[239.44, 240.29, 238.69], power_factors=[0.9940000000000001, 0.99, 0.9929000000000001], imported=7337688.0, exported=4871307.0, power=6774.0, frequency=49.99)
2024-01-05 04:30:11,498 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:30:11,506 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:30:11,520 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.71, 60.14, 59.980000000000004]A
2024-01-05 04:30:11,522 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40522.05W
2024-01-05 04:30:11,523 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:30:11,533 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:30:11,536 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:30:11,539 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:30:11.538597
2024-01-05 04:30:11,540 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1258.495119s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:30:11,542 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:30:11.542120
2024-01-05 04:30:11,546 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89176.283967s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:30:11,547 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:30:11,562 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:30:11,567 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:30:11,583 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425401.5477235, power=2424.16, imported=3360567.5679429104, exported=0)
2024-01-05 04:30:11,584 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0027876, power1: 2424.16, power2: 2424.59
2024-01-05 04:30:11,585 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.7582
2024-01-05 04:30:11,587 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.7582 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425411.5830965, power=2424.59, imported=3360574.3261393965, exported=0)
2024-01-05 04:30:11,598 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:30:11,599 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:30:11,600 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4113.28, daily_exported=0, power=4296.05, imported=7210880.86, exported=0))
2024-01-05 04:30:11,602 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=67), currents=[6.04, 6.08, 6.01], daily_imported=4113.28, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210880.86, phases_in_use=3, plug_state=True, power=4296.05, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.69, 239.02, 239.82]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4125.979999999516, imported_since_plugged=4125.979999999516, range_charged=20.629899999997576, time_charged='4:18', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b4fa60>), 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))
2024-01-05 04:30:11,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=[])
2024-01-05 04:30:11,604 - {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'])
2024-01-05 04:30:11,605 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2472.0, 2121.0, 2180.0], currents=[10.3, 8.9, 9.1], voltages=[239.44, 240.29, 238.69], power_factors=[0.99, 0.99, 0.99], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=9812.0, imported=7337688.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6774.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40522.05, raw_currents_left=[58.71, 60.14, 59.980000000000004], surplus_power_left=0, state_str=''))
2024-01-05 04:30:11,606 - {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=2424.59, invalid_home_consumption=0, daily_yield_home_consumption=5514.6025116137, imported_home_consumption=3360574.3261393965, disengageable_smarthome_power=0))
2024-01-05 04:30:11,608 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:30:11,613 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:30:11,614 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:30:11,615 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:30:11,617 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:30:11,618 - {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=20000, 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=68, soc_timestamp=1704425403.61411, force_soc_update=False, range=203, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:30:11,622 - {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)
2024-01-05 04:30:11,624 - {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)
2024-01-05 04:30:11,625 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:30:11,626 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:30:11,629 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:30:11,630 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:30:11,631 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x70b3de08>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:30:11,632 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:30:11,633 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=53.36))
2024-01-05 04:30:11,634 - {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=8202091.902000001, power=53.36))
2024-01-05 04:30:11,637 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425401, 'time': '04:30:01', 'grid': 6.78, 'house-power': 2.424, 'charging-all': 4.306, 'pv-all': -0.05, 'cp1-power': 4.306, 'ev1-soc': 58.0, 'ev2-soc': 67, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:30:11,638 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:30:11,639 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:30:11,640 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:30:11,642 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:30:11,645 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:30:11,646 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:30:11,647 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:30:11,648 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:30:11,652 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:30:11,653 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:30:11,655 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.71, 54.14, 53.980000000000004]A verbleibende Ströme, 36382.05W verbleibende Leistung
2024-01-05 04:30:11,656 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:30:11,659 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:30:11,661 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:30:11,665 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:30:11,667 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:30:11,669 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:30:11,670 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6717.949999999997W
2024-01-05 04:30:11,672 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6717.949999999997W
2024-01-05 04:30:11,673 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:30:11,674 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:30:11,678 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4137.700000000186 counter 7210880.86
2024-01-05 04:30:11,681 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:30:11,683 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:30:11,723 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:30:12,001 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:30:12,006 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:30:15,015 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:30:15,017 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:30:20,035 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:30:20,036 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:30:20,100 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:30:20,103 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:30:20,105 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:30:20,112 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:30:20,115 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:30:20,151 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6782, -2476, -2125, -2180], Scale 0
2024-01-05 04:30:20,159 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:30:20,161 - {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":240.7, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425419},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:30","unixtime":1704425420,"uptime":3784782,"ram_size":248948,"ram_free":144524,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:30:20,164 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425410.5722642, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:30:20,165 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00266461, power1: 0, power2: 0
2024-01-05 04:30:20,166 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:30:20,167 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425420.1648512, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:30:20,169 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:30:20,173 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [103, 89, 91], Scale -1
2024-01-05 04:30:20,191 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23946, 24034, 23858, 0, 0, 0, 0], Scale -2
2024-01-05 04:30:20,341 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:30:20,381 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9990, 9900, 10000], Scale -2
2024-01-05 04:30:20,434 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337704, 3035155, 2160574, 2693919], Scale 0
2024-01-05 04:30:20,434 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.3, 8.9, 9.1], powers=[2476.0, 2125.0, 2180.0], voltages=[239.46, 240.34, 238.58], power_factors=[0.9990000000000001, 0.99, 1.0], imported=7337704.0, exported=4871307.0, power=6782.0, frequency=49.99)
2024-01-05 04:30:20,440 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:30:20,500 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5279], Scale -2
2024-01-05 04:30:20,521 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:30:20,560 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 33, 33], Scale -2
2024-01-05 04:30:20,581 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5359], Scale -2
2024-01-05 04:30:20,582 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.33, 0.33], power=52.79, exported=7869605.0, dc_power=53.59)
2024-01-05 04:30:20,585 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:30:20,850 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425411.0718904, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:30:20,851 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00271633, power1: 0, power2: 0
2024-01-05 04:30:20,852 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:30:20,853 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425420.8506703, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:30:20,857 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:30:20,866 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:30:20,868 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:30:20,943 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:30:20,947 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:30:20,948 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=52.79, exported=7904493.99, dc_power=None)
2024-01-05 04:30:20,950 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:30:20,950 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=52.79, exported=7904493.99, dc_power=None)
2024-01-05 04:30:20,954 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:30:20,971 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:30:21,186 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:30:21,187 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.3, 8.9, 9.1], powers=[2476.0, 2125.0, 2180.0], voltages=[239.46, 240.34, 238.58], power_factors=[0.9990000000000001, 0.99, 1.0], imported=7337704.0, exported=4871307.0, power=6782.0, frequency=49.99)
2024-01-05 04:30:21,393 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:30:21,395 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:30:21,397 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.73, 60.16, 59.99]A
2024-01-05 04:30:21,399 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40524.25W
2024-01-05 04:30:21,400 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:30:21,402 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:30:21,405 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:30:21,407 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:30:21.407035
2024-01-05 04:30:21,409 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1268.363557s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:30:21,410 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:30:21.410259
2024-01-05 04:30:21,411 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89166.415828s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:30:21,412 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:30:21,417 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:30:21,422 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.09
2024-01-05 04:30:21,435 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425411.5830965, power=2424.59, imported=3360574.3261393965, exported=0)
2024-01-05 04:30:21,439 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00273664, power1: 2424.59, power2: 2422.96
2024-01-05 04:30:21,442 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.63301
2024-01-05 04:30:21,445 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.63301 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425421.4350164, power=2422.96, imported=3360580.9591497104, exported=0)
2024-01-05 04:30:21,448 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:30:21,448 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:30:21,452 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4113.28, daily_exported=0, power=4306.25, imported=7210893.07, exported=0))
2024-01-05 04:30:21,454 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.06, 6.09, 6.03], daily_imported=4113.28, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210893.07, phases_in_use=3, plug_state=True, power=4306.25, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.68, 239.01, 239.85]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4137.700000000186, imported_since_plugged=4137.700000000186, range_charged=20.688500000000932, time_charged='4:18', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f744748>), 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))
2024-01-05 04:30:21,457 - {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=[])
2024-01-05 04:30: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'])
2024-01-05 04:30:21,459 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2476.0, 2125.0, 2180.0], currents=[10.3, 8.9, 9.1], voltages=[239.46, 240.34, 238.58], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=9812.0, imported=7337704.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6782.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40524.25, raw_currents_left=[58.73, 60.16, 59.99], surplus_power_left=0, state_str=''))
2024-01-05 04:30:21,459 - {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=2422.96, invalid_home_consumption=0, daily_yield_home_consumption=5514.6025116137, imported_home_consumption=3360580.9591497104, disengageable_smarthome_power=0))
2024-01-05 04:30:21,461 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:30:21,462 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:30:21,464 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:30:21,466 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:30:21,468 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:30:21,469 - {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=20000, 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=68, soc_timestamp=1704425403.61411, force_soc_update=False, range=203, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:30: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)
2024-01-05 04:30: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)
2024-01-05 04:30:21,473 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:30:21,475 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:30:21,478 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:30:21,482 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:30:21,485 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f744e68>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:30:21,485 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:30:21,486 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=52.79))
2024-01-05 04:30:21,488 - {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=8202091.902000001, power=52.79))
2024-01-05 04:30:21,489 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425411, 'time': '04:30:11', 'grid': 6.774, 'house-power': 2.425, 'charging-all': 4.296, 'pv-all': -0.053, 'cp1-power': 4.296, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:30:21,490 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:30:21,492 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:30:21,496 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:30:21,497 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:30:21,498 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:30:21,499 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:30:21,499 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:30:21,500 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:30:21,500 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:30:21,502 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:30:21,504 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.73, 54.16, 53.99]A verbleibende Ströme, 36384.25W verbleibende Leistung
2024-01-05 04:30:21,505 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:30:21,508 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:30:21,510 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:30:21,511 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:30:21,512 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:30:21,514 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:30:21,516 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6715.75W
2024-01-05 04:30:21,517 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6715.75W
2024-01-05 04:30:21,518 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:30:21,520 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:30:21,523 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4149.910000000149 counter 7210893.07
2024-01-05 04:30:21,525 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:30:21,527 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:30:21,561 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:30:21,812 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:30:25,844 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:30:25,845 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:30:30,857 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:30:30,858 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:30:30,903 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:30:30,904 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:30:30,912 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:30:30,912 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:30:30,915 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:30:30,958 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:30:30,960 - {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":240.7, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425429},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:30","unixtime":1704425431,"uptime":3784793,"ram_size":248948,"ram_free":144524,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:30:30,970 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425420.1648512, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:30:30,972 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00300152, power1: 0, power2: 0
2024-01-05 04:30:30,972 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:30:30,973 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425430.970313, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:30:31,008 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6760, -2470, -2117, -2173], Scale 0
2024-01-05 04:30:31,008 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:30:31,035 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [103, 89, 91], Scale -1
2024-01-05 04:30:31,059 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23949, 24034, 23867, 0, 0, 0, 0], Scale -2
2024-01-05 04:30:31,087 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:30:31,112 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9969, 9900, 10000], Scale -2
2024-01-05 04:30:31,137 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337734, 3035166, 2160583, 2693928], Scale 0
2024-01-05 04:30:31,138 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.3, 8.9, 9.1], powers=[2470.0, 2117.0, 2173.0], voltages=[239.49, 240.34, 238.67000000000002], power_factors=[0.9969, 0.99, 1.0], imported=7337734.0, exported=4871307.0, power=6760.0, frequency=49.99)
2024-01-05 04:30:31,140 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:30:31,202 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4957], Scale -2
2024-01-05 04:30:31,221 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:30:31,241 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 33, 33], Scale -2
2024-01-05 04:30:31,262 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5032], Scale -2
2024-01-05 04:30:31,263 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.33, 0.33], power=49.57, exported=7869605.0, dc_power=50.32)
2024-01-05 04:30:31,265 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:30:31,444 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425420.8506703, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:30:31,445 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00294283, power1: 0, power2: 0
2024-01-05 04:30:31,446 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:30:31,446 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425431.4448647, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:30:31,447 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:30:31,456 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:30:31,457 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:30:31,505 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:30:31,508 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:30:31,509 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=49.57, exported=7904493.99, dc_power=None)
2024-01-05 04:30:31,510 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:30:31,510 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=49.57, exported=7904493.99, dc_power=None)
2024-01-05 04:30:31,512 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:30:31,523 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:30:31,582 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:30:31,583 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.3, 8.9, 9.1], powers=[2470.0, 2117.0, 2173.0], voltages=[239.49, 240.34, 238.67000000000002], power_factors=[0.9969, 0.99, 1.0], imported=7337734.0, exported=4871307.0, power=6760.0, frequency=49.99)
2024-01-05 04:30:31,762 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:30:31,764 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:30:31,786 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.71, 60.14, 59.980000000000004]A
2024-01-05 04:30:31,787 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40538.5W
2024-01-05 04:30:31,789 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:30:31,808 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:30:31,810 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:30:31,813 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:30:31.812667
2024-01-05 04:30:31,815 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1278.769189s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:30:31,817 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:30:31.816840
2024-01-05 04:30:31,818 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89156.009247s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:30:31,820 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:30:31,824 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:30:31,836 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:30:31,857 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425421.4350164, power=2422.96, imported=3360580.9591497104, exported=0)
2024-01-05 04:30:31,860 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00289504, power1: 2422.96, power2: 2411.93
2024-01-05 04:30:31,862 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.99861
2024-01-05 04:30:31,862 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.99861 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425431.8571758, power=2411.9300000000003, imported=3360587.9577600467, exported=0)
2024-01-05 04:30:31,868 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:30:31,873 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:30:31,875 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4113.28, daily_exported=0, power=4298.5, imported=7210904.79, exported=0))
2024-01-05 04:30:31,881 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.04, 6.08, 6.01], daily_imported=4113.28, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210904.79, phases_in_use=3, plug_state=True, power=4298.5, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.73, 238.99, 239.87]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4149.910000000149, imported_since_plugged=4149.910000000149, range_charged=20.749550000000745, time_charged='4:18', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f75b7a8>), 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))
2024-01-05 04:30:31,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=[])
2024-01-05 04:30:31,884 - {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'])
2024-01-05 04:30:31,885 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2470.0, 2117.0, 2173.0], currents=[10.3, 8.9, 9.1], voltages=[239.49, 240.34, 238.67], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=9812.0, imported=7337734.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6760.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40538.5, raw_currents_left=[58.71, 60.14, 59.980000000000004], surplus_power_left=0, state_str=''))
2024-01-05 04:30:31,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=2411.9300000000003, invalid_home_consumption=0, daily_yield_home_consumption=5514.6025116137, imported_home_consumption=3360587.9577600467, disengageable_smarthome_power=0))
2024-01-05 04:30:31,888 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:30:31,891 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:30:31,898 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:30:31,904 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:30:31,908 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:30:31,910 - {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=20000, 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=68, soc_timestamp=1704425403.61411, force_soc_update=False, range=203, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:30:31,911 - {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)
2024-01-05 04:30:31,922 - {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)
2024-01-05 04:30:31,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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:30:31,924 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:30:31,929 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:30:31,930 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:30:31,931 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7d4100>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:30:31,933 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:30:31,941 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=49.57))
2024-01-05 04:30:31,941 - {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=8202091.902000001, power=49.57))
2024-01-05 04:30:31,942 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425421, 'time': '04:30:21', 'grid': 6.782, 'house-power': 2.423, 'charging-all': 4.306, 'pv-all': -0.053, 'cp1-power': 4.306, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:30:31,943 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:30:31,943 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:30:31,944 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:30:31,944 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:30:31,945 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:30:31,946 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:30:31,946 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:30:31,948 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:30:31,950 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:30:31,954 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:30:31,957 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.71, 54.14, 53.980000000000004]A verbleibende Ströme, 36398.5W verbleibende Leistung
2024-01-05 04:30:31,958 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:30:31,961 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:30:31,963 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:30:31,963 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:30:31,964 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:30:31,966 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:30:31,967 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6701.5W
2024-01-05 04:30:31,969 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6701.5W
2024-01-05 04:30:31,970 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:30:31,971 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:30:31,973 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4161.629999999888 counter 7210904.79
2024-01-05 04:30:31,978 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:30:32,010 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:30:32,041 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:30:32,304 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:30:32,315 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:30:35,323 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:30:35,324 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:30:40,336 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:30:40,337 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:30:40,405 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:30:40,406 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:30:40,407 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:30:40,418 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:30:40,422 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:30:40,472 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:30:40,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":240.4, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425439},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:30","unixtime":1704425440,"uptime":3784803,"ram_size":248948,"ram_free":144524,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:30:40,477 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6766, -2462, -2127, -2175], Scale 0
2024-01-05 04:30:40,479 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425430.970313, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:30:40,485 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00264136, power1: 0, power2: 0
2024-01-05 04:30:40,486 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:30:40,486 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425440.479227, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:30:40,488 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:30:40,530 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [104, 89, 91], Scale -1
2024-01-05 04:30:40,550 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23916, 24011, 23823, 0, 0, 0, 0], Scale -2
2024-01-05 04:30:40,570 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:30:40,702 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9950, 9890, 9980], Scale -2
2024-01-05 04:30:40,733 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337749, 3035172, 2160588, 2693933], Scale 0
2024-01-05 04:30:40,734 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.4, 8.9, 9.1], powers=[2462.0, 2127.0, 2175.0], voltages=[239.16, 240.11, 238.23000000000002], power_factors=[0.995, 0.9890000000000001, 0.998], imported=7337749.0, exported=4871307.0, power=6766.0, frequency=50.0)
2024-01-05 04:30:40,737 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:30:40,762 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4586], Scale -2
2024-01-05 04:30:40,805 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:30:40,830 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 33, 33], Scale -2
2024-01-05 04:30:40,850 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5248], Scale -2
2024-01-05 04:30:40,851 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.33, 0.33], power=45.86, exported=7869605.0, dc_power=52.480000000000004)
2024-01-05 04:30:40,852 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:30:40,922 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425431.4448647, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:30:40,923 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00263274, power1: 0, power2: 0
2024-01-05 04:30:40,923 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:30:40,924 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425440.922716, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:30:40,929 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:30:40,940 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:30:40,942 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:30:40,985 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:30:40,987 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:30:40,989 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=45.86, exported=7904493.99, dc_power=None)
2024-01-05 04:30:40,990 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:30:40,991 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=45.86, exported=7904493.99, dc_power=None)
2024-01-05 04:30:40,997 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:30:41,003 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:30:41,087 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:30:41,089 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.4, 8.9, 9.1], powers=[2462.0, 2127.0, 2175.0], voltages=[239.16, 240.11, 238.23000000000002], power_factors=[0.995, 0.9890000000000001, 0.998], imported=7337749.0, exported=4871307.0, power=6766.0, frequency=50.0)
2024-01-05 04:30:41,453 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:30:41,454 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:30:41,458 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.64, 60.17, 60.01]A
2024-01-05 04:30:41,459 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40540.15W
2024-01-05 04:30:41,460 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:30:41,463 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:30:41,464 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:30:41,466 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:30:41.466011
2024-01-05 04:30:41,468 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1288.422533s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:30:41,469 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:30:41.469076
2024-01-05 04:30:41,470 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89146.357011s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:30:41,471 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:30:41,478 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:30:41,481 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.11
2024-01-05 04:30:41,486 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425431.8571758, power=2411.9300000000003, imported=3360587.9577600467, exported=0)
2024-01-05 04:30:41,487 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00267474, power1: 2411.93, power2: 2413.99
2024-01-05 04:30:41,489 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.45405
2024-01-05 04:30:41,493 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.45405 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425441.4862504, power=2413.9900000000007, imported=3360594.4118077643, exported=0)
2024-01-05 04:30:41,498 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:30:41,499 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:30:41,500 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4113.28, daily_exported=0, power=4306.15, imported=7210916.99, exported=0))
2024-01-05 04:30:41,503 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.07, 6.11, 6.04], daily_imported=4113.28, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210916.99, phases_in_use=3, plug_state=True, power=4306.15, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.36, 238.43, 239.41]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4161.629999999888, imported_since_plugged=4161.629999999888, range_charged=20.808149999999443, time_charged='4:18', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d2880>), 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))
2024-01-05 04:30:41,504 - {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=[])
2024-01-05 04:30:41,508 - {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'])
2024-01-05 04:30:41,510 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2462.0, 2127.0, 2175.0], currents=[10.4, 8.9, 9.1], voltages=[239.16, 240.11, 238.23], power_factors=[0.99, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=9812.0, imported=7337749.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6766.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40540.15, raw_currents_left=[58.64, 60.17, 60.01], surplus_power_left=0, state_str=''))
2024-01-05 04:30:41,518 - {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=2413.9900000000007, invalid_home_consumption=0, daily_yield_home_consumption=5514.6025116137, imported_home_consumption=3360594.4118077643, disengageable_smarthome_power=0))
2024-01-05 04:30:41,521 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:30:41,522 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:30:41,526 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:30:41,537 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:30:41,538 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:30:41,540 - {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=20000, 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=68, soc_timestamp=1704425403.61411, force_soc_update=False, range=203, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:30:41,541 - {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)
2024-01-05 04:30:41,542 - {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)
2024-01-05 04:30:41,544 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:30:41,550 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:30:41,551 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:30:41,552 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:30:41,554 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7f95e0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:30:41,554 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:30:41,556 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=45.86))
2024-01-05 04:30:41,558 - {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=8202091.902000001, power=45.86))
2024-01-05 04:30:41,559 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425432, 'time': '04:30:32', 'grid': 6.76, 'house-power': 2.412, 'charging-all': 4.298, 'pv-all': -0.05, 'cp1-power': 4.298, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:30:41,560 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:30:41,561 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:30:41,562 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:30:41,563 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:30:41,564 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:30:41,565 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:30:41,570 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:30:41,572 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:30:41,575 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:30:41,578 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:30:41,584 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.64, 54.17, 54.01]A verbleibende Ströme, 36400.15W verbleibende Leistung
2024-01-05 04:30:41,586 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:30:41,589 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:30:41,590 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:30:41,591 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:30:41,592 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:30:41,594 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:30:41,595 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6699.8499999999985W
2024-01-05 04:30:41,595 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6699.8499999999985W
2024-01-05 04:30:41,597 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:30:41,600 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:30:41,602 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4173.8300000000745 counter 7210916.99
2024-01-05 04:30:41,607 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:30:41,609 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:30:41,649 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:30:41,889 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:30:45,938 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:30:45,940 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:30:50,951 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:30:50,952 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:30:50,997 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:30:50,998 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:30:50,999 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:30:51,006 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:30:51,008 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:30:51,051 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:30:51,053 - {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":240.3, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425449},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:30","unixtime":1704425451,"uptime":3784813,"ram_size":249000,"ram_free":145092,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:30:51,056 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6752, -2455, -2123, -2173], Scale 0
2024-01-05 04:30:51,058 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425440.479227, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:30:51,059 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00293874, power1: 0, power2: 0
2024-01-05 04:30:51,060 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:30:51,062 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425451.0587034, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:30:51,065 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:30:51,102 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [103, 89, 91], Scale -1
2024-01-05 04:30:51,122 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23889, 23991, 23804, 0, 0, 0, 0], Scale -2
2024-01-05 04:30:51,142 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:30:51,173 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9950, 9890, 9959], Scale -2
2024-01-05 04:30:51,194 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337764, 3035177, 2160593, 2693938], Scale 0
2024-01-05 04:30:51,197 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.3, 8.9, 9.1], powers=[2455.0, 2123.0, 2173.0], voltages=[238.89000000000001, 239.91, 238.04], power_factors=[0.995, 0.9890000000000001, 0.9959], imported=7337764.0, exported=4871307.0, power=6752.0, frequency=49.99)
2024-01-05 04:30:51,202 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:30:51,241 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4521], Scale -2
2024-01-05 04:30:51,277 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:30:51,305 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 33], Scale -2
2024-01-05 04:30:51,334 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4589], Scale -2
2024-01-05 04:30:51,334 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.33], power=45.21, exported=7869605.0, dc_power=45.89)
2024-01-05 04:30:51,337 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:30:51,492 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425440.922716, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:30:51,493 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00293615, power1: 0, power2: 0
2024-01-05 04:30:51,494 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:30:51,494 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425451.4928596, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:30:51,495 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:30:51,499 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:30:51,500 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:30:51,558 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:30:51,569 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:30:51,570 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:30:51,574 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=45.21, exported=7904493.99, dc_power=None)
2024-01-05 04:30:51,577 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:30:51,580 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=45.21, exported=7904493.99, dc_power=None)
2024-01-05 04:30:51,580 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:30:51,647 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:30:51,648 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.3, 8.9, 9.1], powers=[2455.0, 2123.0, 2173.0], voltages=[238.89000000000001, 239.91, 238.04], power_factors=[0.995, 0.9890000000000001, 0.9959], imported=7337764.0, exported=4871307.0, power=6752.0, frequency=49.99)
2024-01-05 04:30:51,839 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:30:51,840 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:30:51,843 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.72, 60.15, 59.99]A
2024-01-05 04:30:51,844 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40544.78W
2024-01-05 04:30:51,845 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:30:51,848 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:30:51,849 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:30:51,850 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:30:51.850439
2024-01-05 04:30:51,852 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1298.806961s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:30:51,853 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:30:51.852723
2024-01-05 04:30:51,854 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89135.973364s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:30:51,855 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:30:51,863 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:30:51,865 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.09
2024-01-05 04:30:51,878 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425441.4862504, power=2413.9900000000007, imported=3360594.4118077643, exported=0)
2024-01-05 04:30:51,881 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0028867, power1: 2413.99, power2: 2410.01
2024-01-05 04:30:51,882 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.96272
2024-01-05 04:30:51,884 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.96272 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425451.8783646, power=2410.01, imported=3360601.374524253, exported=0)
2024-01-05 04:30:51,888 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:30:51,889 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:30:51,891 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4113.28, daily_exported=0, power=4296.78, imported=7210929.2, exported=0))
2024-01-05 04:30:51,892 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.05, 6.09, 6.02], daily_imported=4113.28, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210929.2, phases_in_use=3, plug_state=True, power=4296.78, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.45, 238.6, 239.45]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4173.8300000000745, imported_since_plugged=4173.8300000000745, range_charged=20.86915000000037, time_charged='4:19', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7f9a60>), 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))
2024-01-05 04:30:51,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=[])
2024-01-05 04:30:51,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'])
2024-01-05 04:30:51,896 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2455.0, 2123.0, 2173.0], currents=[10.3, 8.9, 9.1], voltages=[238.89, 239.91, 238.04], power_factors=[0.99, 0.99, 1.0], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=9812.0, imported=7337764.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6752.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40544.78, raw_currents_left=[58.72, 60.15, 59.99], surplus_power_left=0, state_str=''))
2024-01-05 04:30:51,897 - {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=2410.01, invalid_home_consumption=0, daily_yield_home_consumption=5514.6025116137, imported_home_consumption=3360601.374524253, disengageable_smarthome_power=0))
2024-01-05 04:30:51,899 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:30:51,900 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:30:51,903 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:30:51,904 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:30:51,905 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:30:51,907 - {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=20000, 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=68, soc_timestamp=1704425403.61411, force_soc_update=False, range=203, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:30:51,908 - {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)
2024-01-05 04:30:51,909 - {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)
2024-01-05 04:30:51,910 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:30:51,911 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:30:51,911 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:30:51,912 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:30:51,912 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f744b50>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:30:51,914 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:30:51,914 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=45.21))
2024-01-05 04:30:51,915 - {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=8202091.902000001, power=45.21))
2024-01-05 04:30:51,916 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425441, 'time': '04:30:41', 'grid': 6.766, 'house-power': 2.414, 'charging-all': 4.306, 'pv-all': -0.046, 'cp1-power': 4.306, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:30:51,917 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:30:51,919 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:30:51,920 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:30:51,921 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:30:51,923 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:30:51,925 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:30:51,927 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:30:51,930 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:30:51,931 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:30:51,937 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:30:51,941 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.72, 54.15, 53.99]A verbleibende Ströme, 36404.78W verbleibende Leistung
2024-01-05 04:30:51,942 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:30:51,945 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:30:51,947 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:30:51,948 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:30:51,950 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:30:51,952 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:30:51,953 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6695.220000000001W
2024-01-05 04:30:51,954 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6695.220000000001W
2024-01-05 04:30:51,956 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:30:51,957 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:30:51,959 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4186.040000000037 counter 7210929.2
2024-01-05 04:30:51,962 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:30:51,965 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:30:51,984 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:30:52,291 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:30:52,295 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:30:55,304 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:30:55,306 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:31:00,322 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:31:00,323 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:31:00,392 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:31:00,393 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:31:00,394 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:31:00,400 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:31:00,435 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:31:00,443 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:31:00,445 - {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":240.6, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425459},"temperature":{"tC":29.1, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:31","unixtime":1704425460,"uptime":3784823,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:31:00,448 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425451.0587034, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:31:00,449 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00260824, power1: 0, power2: 0
2024-01-05 04:31:00,450 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:31:00,450 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425460.4483662, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:31:00,451 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:31:00,500 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6749, -2456, -2120, -2172], Scale 0
2024-01-05 04:31:00,520 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [102, 89, 91], Scale -1
2024-01-05 04:31:00,540 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23909, 24006, 23821, 0, 0, 0, 0], Scale -2
2024-01-05 04:31:00,559 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:31:00,582 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9980, 9909, 9980], Scale -2
2024-01-05 04:31:00,600 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337779, 3035182, 2160598, 2693943], Scale 0
2024-01-05 04:31:00,601 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.200000000000001, 8.9, 9.1], powers=[2456.0, 2120.0, 2172.0], voltages=[239.09, 240.06, 238.21], power_factors=[0.998, 0.9909, 0.998], imported=7337779.0, exported=4871307.0, power=6749.0, frequency=49.99)
2024-01-05 04:31:00,602 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:31:00,619 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5107], Scale -2
2024-01-05 04:31:00,684 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:31:00,719 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 32, 33], Scale -2
2024-01-05 04:31:00,738 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4337], Scale -2
2024-01-05 04:31:00,739 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.32, 0.33], power=51.07, exported=7869605.0, dc_power=43.37)
2024-01-05 04:31:00,740 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:31:00,840 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425451.4928596, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:31:00,841 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00259664, power1: 0, power2: 0
2024-01-05 04:31:00,841 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:31:00,842 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425460.840747, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:31:00,843 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:31:00,851 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:31:00,856 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:31:00,900 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:31:00,901 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:31:00,903 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=51.07, exported=7904493.99, dc_power=None)
2024-01-05 04:31:00,904 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=51.07, exported=7904493.99, dc_power=None)
2024-01-05 04:31:00,906 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:31:00,918 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:31:00,922 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:31:00,987 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:31:00,988 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.200000000000001, 8.9, 9.1], powers=[2456.0, 2120.0, 2172.0], voltages=[239.09, 240.06, 238.21], power_factors=[0.998, 0.9909, 0.998], imported=7337779.0, exported=4871307.0, power=6749.0, frequency=49.99)
2024-01-05 04:31:01,189 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:31:01,192 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:31:01,194 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.82, 60.15, 59.99]A
2024-01-05 04:31:01,197 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40547.06W
2024-01-05 04:31:01,198 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:31:01,199 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:31:01,200 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:31:01,202 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:31:01.201823
2024-01-05 04:31:01,203 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1308.158345s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:31:01,209 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:31:01.209281
2024-01-05 04:31:01,211 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89126.616806s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:31:01,224 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:31:01,241 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:31:01,243 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.09
2024-01-05 04:31:01,262 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425451.8783646, power=2410.01, imported=3360601.374524253, exported=0)
2024-01-05 04:31:01,265 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00260657, power1: 2410.01, power2: 2401.87
2024-01-05 04:31:01,270 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.27126
2024-01-05 04:31:01,275 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.27126 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425461.2620327, power=2401.87, imported=3360607.645786095, exported=0)
2024-01-05 04:31:01,278 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:31:01,279 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:31:01,280 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4113.28, daily_exported=0, power=4296.06, imported=7210937.99, exported=0))
2024-01-05 04:31:01,289 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.05, 6.09, 6.02], daily_imported=4113.28, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210937.99, phases_in_use=3, plug_state=True, power=4296.06, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.49, 238.63, 239.46]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4186.040000000037, imported_since_plugged=4186.040000000037, range_charged=20.930200000000188, time_charged='4:19', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7eafd0>), 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))
2024-01-05 04:31:01,290 - {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=[])
2024-01-05 04:31:01,290 - {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'])
2024-01-05 04:31:01,292 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2456.0, 2120.0, 2172.0], currents=[10.2, 8.9, 9.1], voltages=[239.09, 240.06, 238.21], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=9812.0, imported=7337779.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6749.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40547.06, raw_currents_left=[58.82, 60.15, 59.99], surplus_power_left=0, state_str=''))
2024-01-05 04:31:01,293 - {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=2401.87, invalid_home_consumption=0, daily_yield_home_consumption=5514.6025116137, imported_home_consumption=3360607.645786095, disengageable_smarthome_power=0))
2024-01-05 04:31:01,299 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:31:01,301 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:31:01,303 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:31:01,309 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:31:01,318 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:31:01,321 - {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=20000, 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=68, soc_timestamp=1704425459.474914, force_soc_update=False, range=203, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:31:01,322 - {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)
2024-01-05 04:31:01,323 - {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)
2024-01-05 04:31:01,324 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:31:01,327 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:31:01,330 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:31:01,331 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:31:01,338 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x70b89058>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:31:01,340 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:31:01,344 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=51.07))
2024-01-05 04:31:01,345 - {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=8202091.902000001, power=51.07))
2024-01-05 04:31:01,347 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425451, 'time': '04:30:51', 'grid': 6.752, 'house-power': 2.41, 'charging-all': 4.297, 'pv-all': -0.045, 'cp1-power': 4.297, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:31:01,351 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:31:01,352 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:31:01,356 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:31:01,357 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:31:01,358 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:31:01,359 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:31:01,360 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:31:01,360 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:31:01,361 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:31:01,363 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:31:01,364 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.82, 54.15, 53.99]A verbleibende Ströme, 36407.06W verbleibende Leistung
2024-01-05 04:31:01,365 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:31:01,374 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:31:01,379 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:31:01,381 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:31:01,387 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:31:01,390 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:31:01,392 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6692.940000000002W
2024-01-05 04:31:01,393 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6692.940000000002W
2024-01-05 04:31:01,397 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:31:01,399 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:31:01,406 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4194.8300000000745 counter 7210937.99
2024-01-05 04:31:01,411 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:31:01,427 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:31:01,448 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:31:01,744 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:31:05,818 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:31:05,819 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:31:10,832 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:31:10,833 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:31:10,875 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:31:10,880 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:31:10,887 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:31:10,887 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:31:10,892 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:31:10,925 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6748, -2456, -2123, -2168], Scale 0
2024-01-05 04:31:10,943 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:31:10,946 - {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":240.7, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425469},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:31","unixtime":1704425471,"uptime":3784833,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:31:10,952 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425460.4483662, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:31:10,953 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00291773, power1: 0, power2: 0
2024-01-05 04:31:10,954 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:31:10,956 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425470.952211, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:31:10,958 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:31:10,963 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [103, 89, 91], Scale -1
2024-01-05 04:31:10,982 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23939, 24035, 23826, 0, 0, 0, 0], Scale -2
2024-01-05 04:31:11,013 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:31:11,042 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9950, 9879, 9980], Scale -2
2024-01-05 04:31:11,060 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337809, 3035193, 2160607, 2693952], Scale 0
2024-01-05 04:31:11,061 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.3, 8.9, 9.1], powers=[2456.0, 2123.0, 2168.0], voltages=[239.39000000000001, 240.35, 238.26], power_factors=[0.995, 0.9879000000000001, 0.998], imported=7337809.0, exported=4871307.0, power=6748.0, frequency=49.97)
2024-01-05 04:31:11,063 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:31:11,109 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4690], Scale -2
2024-01-05 04:31:11,129 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:31:11,159 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 33], Scale -2
2024-01-05 04:31:11,241 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4762], Scale -2
2024-01-05 04:31:11,242 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.33], power=46.9, exported=7869605.0, dc_power=47.62)
2024-01-05 04:31:11,243 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:31:11,303 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425460.840747, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:31:11,305 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00290632, power1: 0, power2: 0
2024-01-05 04:31:11,307 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:31:11,309 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425471.3035078, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:31:11,313 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:31:11,323 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:31:11,324 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:31:11,524 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:31:11,527 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:31:11,530 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:31:11,546 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.9, exported=7904493.99, dc_power=None)
2024-01-05 04:31:11,548 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:31:11,549 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.9, exported=7904493.99, dc_power=None)
2024-01-05 04:31:11,551 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:31:11,643 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:31:11,645 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.3, 8.9, 9.1], powers=[2456.0, 2123.0, 2168.0], voltages=[239.39000000000001, 240.35, 238.26], power_factors=[0.995, 0.9879000000000001, 0.998], imported=7337809.0, exported=4871307.0, power=6748.0, frequency=49.97)
2024-01-05 04:31:11,852 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:31:11,853 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:31:11,856 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.71, 60.14, 59.99]A
2024-01-05 04:31:11,858 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40549.5W
2024-01-05 04:31:11,859 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:31:11,864 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:31:11,865 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:31:11,867 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:31:11.867255
2024-01-05 04:31:11,870 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1318.823777s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:31:11,872 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:31:11.872452
2024-01-05 04:31:11,875 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89115.953635s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:31:11,877 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:31:11,888 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:31:11,898 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.09
2024-01-05 04:31:11,913 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425461.2620327, power=2401.87, imported=3360607.645786095, exported=0)
2024-01-05 04:31:11,915 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00295881, power1: 2401.87, power2: 2403.6
2024-01-05 04:31:11,916 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.10925
2024-01-05 04:31:11,917 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.10925 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425471.9137638, power=2403.6000000000004, imported=3360614.755032461, exported=0)
2024-01-05 04:31:11,925 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:31:11,931 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:31:11,940 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4113.28, daily_exported=0, power=4297.5, imported=7210953.12, exported=0))
2024-01-05 04:31:11,942 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.04, 6.09, 6.01], daily_imported=4113.28, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210953.12, phases_in_use=3, plug_state=True, power=4297.5, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.8, 238.71, 239.8]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4194.8300000000745, imported_since_plugged=4194.8300000000745, range_charged=20.97415000000037, time_charged='4:19', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b50f88>), 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))
2024-01-05 04:31:11,948 - {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=[])
2024-01-05 04:31:11,949 - {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'])
2024-01-05 04:31:11,956 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2456.0, 2123.0, 2168.0], currents=[10.3, 8.9, 9.1], voltages=[239.39, 240.35, 238.26], power_factors=[0.99, 0.99, 1.0], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=9812.0, imported=7337809.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6748.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40549.5, raw_currents_left=[58.71, 60.14, 59.99], surplus_power_left=0, state_str=''))
2024-01-05 04:31:11,957 - {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=2403.6000000000004, invalid_home_consumption=0, daily_yield_home_consumption=5514.6025116137, imported_home_consumption=3360614.755032461, disengageable_smarthome_power=0))
2024-01-05 04:31:11,964 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:31:11,972 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:31:11,974 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:31:11,976 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:31:11,988 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:31:11,990 - {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=20000, 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=68, soc_timestamp=1704425459.474914, force_soc_update=False, range=203, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:31:11,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)
2024-01-05 04:31:11,995 - {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)
2024-01-05 04:31:11,996 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:31:12,004 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:31:12,005 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:31:12,006 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:31:12,007 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x70b4fe08>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:31:12,008 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:31:12,008 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=46.9))
2024-01-05 04:31:12,009 - {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=8202091.902000001, power=46.9))
2024-01-05 04:31:12,010 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425461, 'time': '04:31:01', 'grid': 6.749, 'house-power': 2.402, 'charging-all': 4.296, 'pv-all': -0.051, 'cp1-power': 4.296, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:31:12,010 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:31:12,011 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:31:12,011 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:31:12,012 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:31:12,012 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:31:12,013 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:31:12,013 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:31:12,013 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:31:12,014 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:31:12,015 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:31:12,016 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.71, 54.14, 53.99]A verbleibende Ströme, 36409.5W verbleibende Leistung
2024-01-05 04:31:12,017 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:31:12,019 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:31:12,020 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:31:12,021 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:31:12,022 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:31:12,023 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:31:12,024 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6690.5W
2024-01-05 04:31:12,024 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6690.5W
2024-01-05 04:31:12,026 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:31:12,037 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:31:12,040 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4209.959999999963 counter 7210953.12
2024-01-05 04:31:12,045 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:31:12,055 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:31:12,114 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:31:12,358 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:31:12,360 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:31:15,377 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:31:15,379 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:31:20,395 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:31:20,396 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:31:20,469 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:31:20,471 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:31:20,474 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:31:20,483 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:31:20,485 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:31:20,521 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6764, -2464, -2125, -2174], Scale 0
2024-01-05 04:31:20,531 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:31:20,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":240.8, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425479},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:31","unixtime":1704425481,"uptime":3784843,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:31:20,536 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425470.952211, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:31:20,537 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00266238, power1: 0, power2: 0
2024-01-05 04:31:20,538 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:31:20,539 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425480.5367877, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:31:20,542 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:31:20,557 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [103, 89, 91], Scale -1
2024-01-05 04:31:20,585 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23939, 24034, 23835, 0, 0, 0, 0], Scale -2
2024-01-05 04:31:20,684 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:31:20,710 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9959, 9900, 9990], Scale -2
2024-01-05 04:31:20,731 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337824, 3035199, 2160612, 2693957], Scale 0
2024-01-05 04:31:20,731 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.3, 8.9, 9.1], powers=[2464.0, 2125.0, 2174.0], voltages=[239.39000000000001, 240.34, 238.35], power_factors=[0.9959, 0.99, 0.9990000000000001], imported=7337824.0, exported=4871307.0, power=6764.0, frequency=49.97)
2024-01-05 04:31:20,733 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:31:20,854 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4519], Scale -2
2024-01-05 04:31:20,892 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:31:20,933 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 33, 33], Scale -2
2024-01-05 04:31:20,960 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4587], Scale -2
2024-01-05 04:31:20,961 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.33, 0.33], power=45.19, exported=7869605.0, dc_power=45.87)
2024-01-05 04:31:20,962 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:31:21,000 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425471.3035078, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:31:21,001 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00269365, power1: 0, power2: 0
2024-01-05 04:31:21,001 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:31:21,002 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425481.0006456, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:31:21,003 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:31:21,011 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:31:21,017 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:31:21,058 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:31:21,058 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:31:21,059 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:31:21,061 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=45.19, exported=7904493.99, dc_power=None)
2024-01-05 04:31:21,061 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:31:21,063 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=45.19, exported=7904493.99, dc_power=None)
2024-01-05 04:31:21,067 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:31:21,125 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:31:21,126 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.3, 8.9, 9.1], powers=[2464.0, 2125.0, 2174.0], voltages=[239.39000000000001, 240.34, 238.35], power_factors=[0.9959, 0.99, 0.9990000000000001], imported=7337824.0, exported=4871307.0, power=6764.0, frequency=49.97)
2024-01-05 04:31:21,342 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:31:21,344 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:31:21,346 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.71, 60.14, 59.980000000000004]A
2024-01-05 04:31:21,347 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 40532.35W
2024-01-05 04:31:21,349 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:31:21,351 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:31:21,352 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:31:21,355 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:31:21.355409
2024-01-05 04:31:21,359 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1328.311931s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:31:21,361 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:31:21.360701
2024-01-05 04:31:21,371 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89106.465386s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:31:21,374 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:31:21,377 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:31:21,378 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:31:21,382 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425471.9137638, power=2403.6000000000004, imported=3360614.755032461, exported=0)
2024-01-05 04:31:21,383 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00263021, power1: 2403.6, power2: 2422.46
2024-01-05 04:31:21,385 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.34678
2024-01-05 04:31:21,386 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.34678 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425481.3825247, power=2422.46, imported=3360621.1018114267, exported=0)
2024-01-05 04:31:21,387 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:31:21,390 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:31:21,391 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4113.28, daily_exported=0, power=4296.35, imported=7210961.91, exported=0))
2024-01-05 04:31:21,394 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.04, 6.08, 6.01], daily_imported=4113.28, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210961.91, phases_in_use=3, plug_state=True, power=4296.35, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.83, 238.79, 239.78]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4209.959999999963, imported_since_plugged=4209.959999999963, range_charged=21.049799999999813, time_charged='4:19', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b50070>), 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))
2024-01-05 04:31:21,395 - {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=[])
2024-01-05 04:31:21,397 - {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'])
2024-01-05 04:31:21,399 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[2464.0, 2125.0, 2174.0], currents=[10.3, 8.9, 9.1], voltages=[239.39, 240.34, 238.35], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=9812.0, imported=7337824.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=6764.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=40532.35, raw_currents_left=[58.71, 60.14, 59.980000000000004], surplus_power_left=0, state_str=''))
2024-01-05 04:31:21,400 - {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=2422.46, invalid_home_consumption=0, daily_yield_home_consumption=5514.6025116137, imported_home_consumption=3360621.1018114267, disengageable_smarthome_power=0))
2024-01-05 04:31:21,402 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:31:21,404 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:31:21,407 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:31:21,413 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:31:21,417 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:31:21,424 - {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=20000, 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=68, soc_timestamp=1704425459.474914, force_soc_update=False, range=203, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:31:21,429 - {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)
2024-01-05 04:31:21,430 - {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)
2024-01-05 04:31:21,432 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:31:21,437 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:31:21,439 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:31:21,439 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:31:21,441 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7cdf40>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:31:21,443 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:31:21,446 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=45.19))
2024-01-05 04:31:21,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=8202091.902000001, power=45.19))
2024-01-05 04:31:21,448 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425472, 'time': '04:31:12', 'grid': 6.748, 'house-power': 2.404, 'charging-all': 4.298, 'pv-all': -0.047, 'cp1-power': 4.298, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:31:21,449 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:31:21,462 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:31:21,463 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:31:21,468 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:31:21,469 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:31:21,470 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:31:21,471 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:31:21,472 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:31:21,474 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:31:21,477 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:31:21,479 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.71, 54.14, 53.980000000000004]A verbleibende Ströme, 36392.35W verbleibende Leistung
2024-01-05 04:31:21,481 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:31:21,489 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:31:21,490 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:31:21,491 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:31:21,498 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:31:21,504 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:31:21,506 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -6707.6500000000015W
2024-01-05 04:31:21,509 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -6707.6500000000015W
2024-01-05 04:31:21,511 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:31:21,511 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:31:21,513 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4218.75 counter 7210961.91
2024-01-05 04:31:21,517 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:31:21,520 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:31:21,537 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:31:21,941 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:31:25,955 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:31:25,956 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:31:30,968 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:31:30,969 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:31:31,012 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:31:31,013 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:31:31,020 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:31:31,022 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:31:31,023 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:31:31,054 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4779, -1755, -1444, -1579], Scale 0
2024-01-05 04:31:31,062 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:31:31,064 - {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":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425489},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:31","unixtime":1704425491,"uptime":3784853,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:31:31,067 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425480.5367877, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:31:31,068 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00292522, power1: 0, power2: 0
2024-01-05 04:31:31,069 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:31:31,069 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425491.0675783, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:31:31,071 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:31:31,076 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [102, 89, 91], Scale -1
2024-01-05 04:31:31,122 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23961, 24061, 23856, 0, 0, 0, 0], Scale -2
2024-01-05 04:31:31,200 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:31:31,220 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9980, 9890, 9990], Scale -2
2024-01-05 04:31:31,247 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337839, 3035204, 2160616, 2693962], Scale 0
2024-01-05 04:31:31,249 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[10.200000000000001, 8.9, 9.1], powers=[1755.0, 1444.0, 1579.0], voltages=[239.61, 240.61, 238.56], power_factors=[0.998, 0.9890000000000001, 0.9990000000000001], imported=7337839.0, exported=4871307.0, power=4779.0, frequency=49.97)
2024-01-05 04:31:31,252 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:31:31,346 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4765], Scale -2
2024-01-05 04:31:31,406 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:31:31,444 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 32, 32], Scale -2
2024-01-05 04:31:31,463 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5003], Scale -2
2024-01-05 04:31:31,464 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.32, 0.32], power=47.65, exported=7869605.0, dc_power=50.03)
2024-01-05 04:31:31,466 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:31:31,523 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425481.0006456, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:31:31,524 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00292306, power1: 0, power2: 0
2024-01-05 04:31:31,524 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:31:31,525 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425491.523653, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:31:31,526 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:31:31,529 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:31:31,530 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:31:31,581 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:31:31,584 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:31:31,585 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.65, exported=7904493.99, dc_power=None)
2024-01-05 04:31:31,587 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.65, exported=7904493.99, dc_power=None)
2024-01-05 04:31:31,586 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:31:31,591 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:31:31,593 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:31:31,657 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:31:31,657 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[10.200000000000001, 8.9, 9.1], powers=[1755.0, 1444.0, 1579.0], voltages=[239.61, 240.61, 238.56], power_factors=[0.998, 0.9890000000000001, 0.9990000000000001], imported=7337839.0, exported=4871307.0, power=4779.0, frequency=49.97)
2024-01-05 04:31:31,836 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:31:31,840 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:31:31,845 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [58.8, 60.13, 59.97]A
2024-01-05 04:31:31,846 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42518.07W
2024-01-05 04:31:31,848 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:31:31,851 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:31:31,852 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:31:31,854 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:31:31.854148
2024-01-05 04:31:31,856 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1338.81067s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:31:31,857 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:31:31.856899
2024-01-05 04:31:31,858 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89095.969188s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:31:31,859 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:31:31,866 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:31:31,869 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.07
2024-01-05 04:31:31,880 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425481.3825247, power=2422.46, imported=3360621.1018114267, exported=0)
2024-01-05 04:31:31,882 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00291599, power1: 2422.46, power2: 434.28
2024-01-05 04:31:31,884 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 4.16511
2024-01-05 04:31:31,887 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 4.16511 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425491.8800921, power=434.28000000000065, imported=3360625.2669254183, exported=0)
2024-01-05 04:31:31,891 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:31:31,893 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:31:31,895 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4113.28, daily_exported=0, power=4297.07, imported=7210977.05, exported=0))
2024-01-05 04:31:31,898 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.03, 6.07, 6.0], daily_imported=4113.28, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210977.05, phases_in_use=3, plug_state=True, power=4297.07, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.26, 239.32, 240.32]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4218.75, imported_since_plugged=4218.75, range_charged=21.09375, time_charged='4:19', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7fe508>), 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))
2024-01-05 04:31:31,898 - {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=[])
2024-01-05 04:31:31,900 - {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'])
2024-01-05 04:31:31,901 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1755.0, 1444.0, 1579.0], currents=[10.2, 8.9, 9.1], voltages=[239.61, 240.61, 238.56], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=9812.0, imported=7337839.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4779.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42518.07, raw_currents_left=[58.8, 60.13, 59.97], surplus_power_left=0, state_str=''))
2024-01-05 04:31:31,902 - {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=434.28000000000065, invalid_home_consumption=0, daily_yield_home_consumption=5514.6025116137, imported_home_consumption=3360625.2669254183, disengageable_smarthome_power=0))
2024-01-05 04:31:31,904 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:31:31,906 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:31:31,911 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:31:31,918 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:31:31,919 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:31:31,923 - {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=20000, 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=68, soc_timestamp=1704425459.474914, force_soc_update=False, range=203, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:31:31,924 - {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)
2024-01-05 04:31:31,925 - {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)
2024-01-05 04:31:31,925 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:31:31,926 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:31:31,927 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:31:31,928 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:31:31,929 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7ec928>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:31:31,929 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:31:31,930 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=47.65))
2024-01-05 04:31:31,931 - {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=8202091.902000001, power=47.65))
2024-01-05 04:31:31,932 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425481, 'time': '04:31:21', 'grid': 6.764, 'house-power': 2.422, 'charging-all': 4.296, 'pv-all': -0.045, 'cp1-power': 4.296, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:31:31,933 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:31:31,933 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:31:31,936 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:31:31,937 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:31:31,937 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:31:31,939 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:31:31,939 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:31:31,940 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:31:31,948 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:31:31,953 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:31:31,957 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [52.8, 54.13, 53.97]A verbleibende Ströme, 38378.07W verbleibende Leistung
2024-01-05 04:31:31,960 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:31:31,963 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:31:31,964 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:31:31,966 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:31:31,968 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:31:31,971 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:31:31,972 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4721.93W
2024-01-05 04:31:31,974 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4721.93W
2024-01-05 04:31:31,978 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:31:31,986 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:31:31,989 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4233.889999999665 counter 7210977.05
2024-01-05 04:31:31,993 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:31:32,001 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:31:32,031 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:31:32,331 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:31:32,335 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:31:35,343 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:31:35,345 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:31:40,362 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:31:40,363 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:31:40,439 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:31:40,440 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:31:40,441 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:31:40,448 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:31:40,451 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:31:40,493 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:31:40,495 - {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":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425499},"temperature":{"tC":29.0, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:31","unixtime":1704425500,"uptime":3784863,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:31:40,498 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425491.0675783, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:31:40,498 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00261959, power1: 0, power2: 0
2024-01-05 04:31:40,500 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:31:40,500 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425500.498119, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:31:40,501 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4782, -1750, -1442, -1590], Scale 0
2024-01-05 04:31:40,502 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:31:40,520 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [74, 61, 68], Scale -1
2024-01-05 04:31:40,625 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23990, 24085, 23884, 0, 0, 0, 0], Scale -2
2024-01-05 04:31:40,650 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:31:40,673 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9789, 9729, 9679], Scale -2
2024-01-05 04:31:40,701 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337852, 3035209, 2160620, 2693966], Scale 0
2024-01-05 04:31:40,702 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[7.4, 6.1000000000000005, 6.800000000000001], powers=[1750.0, 1442.0, 1590.0], voltages=[239.9, 240.85, 238.84], power_factors=[0.9789, 0.9729000000000001, 0.9679000000000001], imported=7337852.0, exported=4871307.0, power=4782.0, frequency=50.0)
2024-01-05 04:31:40,704 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:31:40,721 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4688], Scale -2
2024-01-05 04:31:40,762 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:31:40,810 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 31], Scale -2
2024-01-05 04:31:40,830 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4759], Scale -2
2024-01-05 04:31:40,831 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.31], power=46.88, exported=7869605.0, dc_power=47.59)
2024-01-05 04:31:40,832 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:31:40,881 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425491.523653, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:31:40,881 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00259931, power1: 0, power2: 0
2024-01-05 04:31:40,882 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:31:40,882 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425500.8811715, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:31:40,883 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:31:40,886 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:31:40,887 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:31:40,945 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:31:40,948 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:31:40,950 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.88, exported=7904493.99, dc_power=None)
2024-01-05 04:31:40,951 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.88, exported=7904493.99, dc_power=None)
2024-01-05 04:31:40,955 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:31:40,956 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:31:40,957 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:31:41,017 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:31:41,019 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[7.4, 6.1000000000000005, 6.800000000000001], powers=[1750.0, 1442.0, 1590.0], voltages=[239.9, 240.85, 238.84], power_factors=[0.9789, 0.9729000000000001, 0.9679000000000001], imported=7337852.0, exported=4871307.0, power=4782.0, frequency=50.0)
2024-01-05 04:31:41,185 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:31:41,189 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:31:41,192 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.61, 62.93, 62.28]A
2024-01-05 04:31:41,194 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42514.85W
2024-01-05 04:31:41,196 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:31:41,203 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:31:41,209 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:31:41,216 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:31:41.215588
2024-01-05 04:31:41,217 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1348.17211s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:31:41,218 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:31:41.218334
2024-01-05 04:31:41,219 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89086.607753s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:31:41,220 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:31:41,227 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:31:41,233 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:31:41,242 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425491.8800921, power=434.28000000000065, imported=3360625.2669254183, exported=0)
2024-01-05 04:31:41,244 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0026007, power1: 434.28, power2: 438.27
2024-01-05 04:31:41,247 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.13462
2024-01-05 04:31:41,253 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 1.13462 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425501.242625, power=438.2699999999995, imported=3360626.4015473686, exported=0)
2024-01-05 04:31:41,256 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:31:41,257 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:31:41,259 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4113.28, daily_exported=0, power=4296.85, imported=7210985.84, exported=0))
2024-01-05 04:31: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', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.03, 6.08, 6.01], daily_imported=4113.28, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7210985.84, phases_in_use=3, plug_state=True, power=4296.85, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.12, 239.14, 240.16]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4233.889999999665, imported_since_plugged=4233.889999999665, range_charged=21.169449999998324, time_charged='4:19', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7ed2f8>), 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))
2024-01-05 04:31:41,264 - {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=[])
2024-01-05 04:31:41,265 - {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'])
2024-01-05 04:31:41,267 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1750.0, 1442.0, 1590.0], currents=[7.4, 6.1, 6.8], voltages=[239.9, 240.85, 238.84], power_factors=[0.98, 0.97, 0.97], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=9812.0, imported=7337852.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4782.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42514.85, raw_currents_left=[61.61, 62.93, 62.28], surplus_power_left=0, state_str=''))
2024-01-05 04:31:41,269 - {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=438.2699999999995, invalid_home_consumption=0, daily_yield_home_consumption=5514.6025116137, imported_home_consumption=3360626.4015473686, disengageable_smarthome_power=0))
2024-01-05 04:31:41,270 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:31:41,271 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:31:41,272 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:31:41,275 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:31:41,277 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:31:41,279 - {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=20000, 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=68, soc_timestamp=1704425459.474914, force_soc_update=False, range=203, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:31:41,280 - {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)
2024-01-05 04:31:41,281 - {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)
2024-01-05 04:31:41,281 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:31:41,282 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:31:41,283 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:31:41,284 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:31:41,286 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7fa580>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:31:41,287 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:31:41,301 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=46.88))
2024-01-05 04:31:41,306 - {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=8202091.902000001, power=46.88))
2024-01-05 04:31:41,308 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425492, 'time': '04:31:32', 'grid': 4.779, 'house-power': 0.434, 'charging-all': 4.297, 'pv-all': -0.048, 'cp1-power': 4.297, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:31:41,309 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:31:41,310 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:31:41,311 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:31:41,312 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:31:41,313 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:31:41,316 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:31:41,317 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:31:41,318 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:31:41,319 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:31:41,319 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:31:41,321 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [55.61, 56.93, 56.28]A verbleibende Ströme, 38374.85W verbleibende Leistung
2024-01-05 04:31:41,323 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:31:41,326 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:31:41,327 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:31:41,329 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:31:41,331 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:31:41,333 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:31:41,335 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4725.1500000000015W
2024-01-05 04:31:41,336 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4725.1500000000015W
2024-01-05 04:31:41,337 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:31:41,340 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:31:41,342 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4242.679999999702 counter 7210985.84
2024-01-05 04:31:41,349 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:31:41,352 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:31:41,398 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:31:41,752 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:31:45,832 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:31:45,833 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:31:50,845 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:31:50,846 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:31:50,900 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:31:50,901 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:31:50,902 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:31:50,908 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:31:50,912 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:31:50,956 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:31:50,964 - {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":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425509},"temperature":{"tC":29.0, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:31","unixtime":1704425511,"uptime":3784873,"ram_size":249000,"ram_free":145092,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:31:50,971 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425500.498119, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:31:50,973 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0029091, power1: 0, power2: 0
2024-01-05 04:31:50,976 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:31:50,977 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425510.970883, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:31:50,981 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:31:50,993 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4780, -1750, -1442, -1586], Scale 0
2024-01-05 04:31:51,010 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [74, 61, 68], Scale -1
2024-01-05 04:31:51,029 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23995, 24088, 23882, 0, 0, 0, 0], Scale -2
2024-01-05 04:31:51,050 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:31:51,069 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9789, 9729, 9670], Scale -2
2024-01-05 04:31:51,093 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337873, 3035217, 2160627, 2693973], Scale 0
2024-01-05 04:31:51,094 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[7.4, 6.1000000000000005, 6.800000000000001], powers=[1750.0, 1442.0, 1586.0], voltages=[239.95000000000002, 240.88, 238.82], power_factors=[0.9789, 0.9729000000000001, 0.9670000000000001], imported=7337873.0, exported=4871307.0, power=4780.0, frequency=49.97)
2024-01-05 04:31:51,096 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:31:51,111 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4420], Scale -2
2024-01-05 04:31:51,141 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:31:51,220 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 33, 33], Scale -2
2024-01-05 04:31:51,260 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5288], Scale -2
2024-01-05 04:31:51,261 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.33, 0.33], power=44.2, exported=7869605.0, dc_power=52.88)
2024-01-05 04:31:51,262 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:31:51,531 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425500.8811715, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:31:51,532 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00295845, power1: 0, power2: 0
2024-01-05 04:31:51,533 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:31:51,533 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425511.5315819, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:31:51,535 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:31:51,541 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:31:51,545 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:31:51,596 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:31:51,597 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:31:51,601 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=44.2, exported=7904493.99, dc_power=None)
2024-01-05 04:31:51,602 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:31:51,613 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=44.2, exported=7904493.99, dc_power=None)
2024-01-05 04:31:51,613 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:31:51,616 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:31:51,701 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:31:51,702 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[7.4, 6.1000000000000005, 6.800000000000001], powers=[1750.0, 1442.0, 1586.0], voltages=[239.95000000000002, 240.88, 238.82], power_factors=[0.9789, 0.9729000000000001, 0.9670000000000001], imported=7337873.0, exported=4871307.0, power=4780.0, frequency=49.97)
2024-01-05 04:31:52,099 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:31:52,100 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:31:52,103 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.6, 62.94, 62.28]A
2024-01-05 04:31:52,104 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42517.58W
2024-01-05 04:31:52,105 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:31:52,108 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:31:52,109 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:31:52,110 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:31:52.110151
2024-01-05 04:31:52,111 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1359.066673s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:31:52,112 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:31:52.112368
2024-01-05 04:31:52,113 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89075.713719s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:31:52,114 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:31:52,117 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:31:52,118 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:31:52,131 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425501.242625, power=438.2699999999995, imported=3360626.4015473686, exported=0)
2024-01-05 04:31:52,132 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00302467, power1: 438.27, power2: 438.22
2024-01-05 04:31:52,136 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.32555
2024-01-05 04:31:52,143 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 1.32555 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425512.1314437, power=438.22000000000025, imported=3360627.7270946936, exported=0)
2024-01-05 04:31:52,146 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:31:52,149 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:31:52,151 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4113.28, daily_exported=0, power=4297.58, imported=7211000.98, exported=0))
2024-01-05 04:31:52,152 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.04, 6.08, 6.0], daily_imported=4113.28, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211000.98, phases_in_use=3, plug_state=True, power=4297.58, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.23, 239.25, 240.25]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4242.679999999702, imported_since_plugged=4242.679999999702, range_charged=21.21339999999851, time_charged='4:19', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x701fba78>), 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))
2024-01-05 04:31:52,154 - {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=[])
2024-01-05 04:31:52,155 - {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'])
2024-01-05 04:31:52,157 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1750.0, 1442.0, 1586.0], currents=[7.4, 6.1, 6.8], voltages=[239.95, 240.88, 238.82], power_factors=[0.98, 0.97, 0.97], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=9812.0, imported=7337873.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4780.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42517.58, raw_currents_left=[61.6, 62.94, 62.28], surplus_power_left=0, state_str=''))
2024-01-05 04:31:52,159 - {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=438.22000000000025, invalid_home_consumption=0, daily_yield_home_consumption=5514.6025116137, imported_home_consumption=3360627.7270946936, disengageable_smarthome_power=0))
2024-01-05 04:31:52,160 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:31:52,162 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:31:52,164 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:31:52,165 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:31:52,167 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:31:52,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=20000, 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=68, soc_timestamp=1704425459.474914, force_soc_update=False, range=203, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:31:52,169 - {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)
2024-01-05 04:31:52,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)
2024-01-05 04:31:52,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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:31:52,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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:31:52,174 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:31:52,175 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:31:52,176 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7f7790>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:31:52,178 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:31:52,180 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=44.2))
2024-01-05 04:31:52,181 - {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=8202091.902000001, power=44.2))
2024-01-05 04:31:52,182 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425501, 'time': '04:31:41', 'grid': 4.782, 'house-power': 0.438, 'charging-all': 4.297, 'pv-all': -0.047, 'cp1-power': 4.297, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:31:52,183 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:31:52,186 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:31:52,187 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:31:52,188 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:31:52,189 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:31:52,190 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:31:52,191 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:31:52,192 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:31:52,194 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:31:52,196 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:31:52,198 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [55.6, 56.94, 56.28]A verbleibende Ströme, 38377.58W verbleibende Leistung
2024-01-05 04:31:52,198 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:31:52,202 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:31:52,203 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:31:52,205 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:31:52,206 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:31:52,208 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:31:52,209 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4722.419999999998W
2024-01-05 04:31:52,210 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4722.419999999998W
2024-01-05 04:31:52,211 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:31:52,212 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:31:52,214 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4257.820000000298 counter 7211000.98
2024-01-05 04:31:52,217 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:31:52,220 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:31:52,256 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:31:52,573 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:31:52,575 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:31:55,582 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:31:55,583 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:32:00,596 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:32:00,597 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:32:00,662 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:32:00,663 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:32:00,665 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:32:00,674 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:32:00,680 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:32:00,726 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:32:00,728 - {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":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425519},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:32","unixtime":1704425521,"uptime":3784883,"ram_size":248948,"ram_free":144524,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:32:00,731 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425510.970883, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:32:00,733 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00271113, power1: 0, power2: 0
2024-01-05 04:32:00,734 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:32:00,734 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425520.7309427, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:32:00,737 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:32:00,761 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4676, -1645, -1443, -1587], Scale 0
2024-01-05 04:32:00,791 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [74, 61, 68], Scale -1
2024-01-05 04:32:00,826 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23980, 24077, 23884, 0, 0, 0, 0], Scale -2
2024-01-05 04:32:00,864 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:32:00,932 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9800, 9710, 9720], Scale -2
2024-01-05 04:32:00,950 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337884, 3035221, 2160630, 2693977], Scale 0
2024-01-05 04:32:00,950 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[7.4, 6.1000000000000005, 6.800000000000001], powers=[1645.0, 1443.0, 1587.0], voltages=[239.8, 240.77, 238.84], power_factors=[0.98, 0.9710000000000001, 0.972], imported=7337884.0, exported=4871307.0, power=4676.0, frequency=49.99)
2024-01-05 04:32:00,961 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:32:00,979 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4975], Scale -2
2024-01-05 04:32:01,170 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:32:01,190 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 33], Scale -2
2024-01-05 04:32:01,212 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5051], Scale -2
2024-01-05 04:32:01,212 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.33], power=49.75, exported=7869605.0, dc_power=50.51)
2024-01-05 04:32:01,216 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:32:01,282 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425511.5315819, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:32:01,282 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00270843, power1: 0, power2: 0
2024-01-05 04:32:01,283 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:32:01,283 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425521.2819402, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:32:01,284 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:32:01,297 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:32:01,298 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:32:01,341 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:32:01,342 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:32:01,343 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:32:01,345 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=49.75, exported=7904493.99, dc_power=None)
2024-01-05 04:32:01,353 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:32:01,356 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=49.75, exported=7904493.99, dc_power=None)
2024-01-05 04:32:01,356 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:32:01,411 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:32:01,412 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[7.4, 6.1000000000000005, 6.800000000000001], powers=[1645.0, 1443.0, 1587.0], voltages=[239.8, 240.77, 238.84], power_factors=[0.98, 0.9710000000000001, 0.972], imported=7337884.0, exported=4871307.0, power=4676.0, frequency=49.99)
2024-01-05 04:32:01,601 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:32:01,607 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:32:01,616 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [61.61, 62.94, 62.28]A
2024-01-05 04:32:01,620 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42621.270000000004W
2024-01-05 04:32:01,622 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:32:01,625 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:32:01,627 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:32:01,629 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:32:01.628989
2024-01-05 04:32:01,631 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1368.585511s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:32:01,633 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:32:01.632589
2024-01-05 04:32:01,633 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89066.193498s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:32:01,634 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:32:01,641 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:32:01,644 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:32:01,650 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425512.1314437, power=438.22000000000025, imported=3360627.7270946936, exported=0)
2024-01-05 04:32:01,652 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00264421, power1: 438.22, power2: 328.98
2024-01-05 04:32:01,653 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.01432
2024-01-05 04:32:01,655 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 1.01432 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425521.6505988, power=328.97999999999956, imported=3360628.741413546, exported=0)
2024-01-05 04:32:01,668 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:32:01,670 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:32:01,674 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4113.28, daily_exported=0, power=4297.27, imported=7211011.23, exported=0))
2024-01-05 04:32:01,676 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.04, 6.08, 6.01], daily_imported=4113.28, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211011.23, phases_in_use=3, plug_state=True, power=4297.27, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.13, 239.17, 240.21]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4257.820000000298, imported_since_plugged=4257.820000000298, range_charged=21.28910000000149, time_charged='4:20', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f763520>), 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))
2024-01-05 04:32:01,677 - {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=[])
2024-01-05 04:32:01,679 - {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'])
2024-01-05 04:32:01,683 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1645.0, 1443.0, 1587.0], currents=[7.4, 6.1, 6.8], voltages=[239.8, 240.77, 238.84], power_factors=[0.98, 0.97, 0.97], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=9812.0, imported=7337884.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4676.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42621.270000000004, raw_currents_left=[61.61, 62.94, 62.28], surplus_power_left=0, state_str=''))
2024-01-05 04:32:01,683 - {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.97999999999956, invalid_home_consumption=0, daily_yield_home_consumption=5514.6025116137, imported_home_consumption=3360628.741413546, disengageable_smarthome_power=0))
2024-01-05 04:32:01,685 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:32:01,686 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:32:01,688 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:32:01,689 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:32:01,690 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:32:01,691 - {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=20000, 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=68, soc_timestamp=1704425517.998884, force_soc_update=False, range=203, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:32:01,704 - {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)
2024-01-05 04:32:01,706 - {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)
2024-01-05 04:32:01,707 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:32:01,708 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:32:01,709 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:32:01,713 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:32:01,714 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x701fae80>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:32:01,716 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:32:01,717 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=49.75))
2024-01-05 04:32:01,719 - {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=8202091.902000001, power=49.75))
2024-01-05 04:32:01,720 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425512, 'time': '04:31:52', 'grid': 4.78, 'house-power': 0.438, 'charging-all': 4.298, 'pv-all': -0.044, 'cp1-power': 4.298, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:32:01,723 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:32:01,724 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:32:01,724 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:32:01,725 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:32:01,727 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:32:01,727 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:32:01,728 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:32:01,730 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:32:01,731 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:32:01,733 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:32:01,734 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [55.61, 56.94, 56.28]A verbleibende Ströme, 38481.270000000004W verbleibende Leistung
2024-01-05 04:32:01,736 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:32:01,739 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:32:01,740 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:32:01,742 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:32:01,743 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:32:01,745 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:32:01,747 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4618.729999999996W
2024-01-05 04:32:01,748 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4618.729999999996W
2024-01-05 04:32:01,749 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:32:01,751 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:32:01,754 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4268.070000000298 counter 7211011.23
2024-01-05 04:32:01,756 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:32:01,759 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:32:01,788 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:32:02,134 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:32:05,177 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:32:05,178 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:32:10,190 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:32:10,191 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:32:10,250 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:32:10,251 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:32:10,252 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:32:10,260 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:32:10,266 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:32:10,304 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:32:10,307 - {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":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425529},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:32","unixtime":1704425530,"uptime":3784892,"ram_size":248948,"ram_free":144524,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:32:10,311 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425520.7309427, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:32:10,312 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00266132, power1: 0, power2: 0
2024-01-05 04:32:10,314 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:32:10,316 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425530.3116848, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:32:10,320 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:32:10,369 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4645, -1632, -1438, -1574], Scale 0
2024-01-05 04:32:10,412 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [70, 61, 68], Scale -1
2024-01-05 04:32:10,480 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23995, 24087, 23884, 0, 0, 0, 0], Scale -2
2024-01-05 04:32:10,499 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:32:10,519 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9710, 9720, 9670], Scale -2
2024-01-05 04:32:10,631 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337894, 3035224, 2160633, 2693980], Scale 0
2024-01-05 04:32:10,631 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1632.0, 1438.0, 1574.0], voltages=[239.95000000000002, 240.87, 238.84], power_factors=[0.9710000000000001, 0.972, 0.9670000000000001], imported=7337894.0, exported=4871307.0, power=4645.0, frequency=49.99)
2024-01-05 04:32:10,633 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:32:10,682 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4200], Scale -2
2024-01-05 04:32:10,720 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:32:10,740 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 32], Scale -2
2024-01-05 04:32:10,769 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4849], Scale -2
2024-01-05 04:32:10,769 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.32], power=42.0, exported=7869605.0, dc_power=48.49)
2024-01-05 04:32:10,771 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:32:10,841 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425521.2819402, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:32:10,842 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00265547, power1: 0, power2: 0
2024-01-05 04:32:10,842 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:32:10,843 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425530.841636, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:32:10,844 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:32:10,852 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:32:10,858 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:32:10,902 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:32:10,903 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:32:10,907 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:32:10,917 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=42.0, exported=7904493.99, dc_power=None)
2024-01-05 04:32:10,918 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:32:10,919 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=42.0, exported=7904493.99, dc_power=None)
2024-01-05 04:32:10,919 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:32:10,984 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:32:10,985 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1632.0, 1438.0, 1574.0], voltages=[239.95000000000002, 240.87, 238.84], power_factors=[0.9710000000000001, 0.972, 0.9670000000000001], imported=7337894.0, exported=4871307.0, power=4645.0, frequency=49.99)
2024-01-05 04:32:11,176 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:32:11,178 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:32:11,180 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.019999999999996, 62.95, 62.29]A
2024-01-05 04:32:11,181 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42663.88W
2024-01-05 04:32:11,183 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:32:11,186 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:32:11,188 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:32:11,189 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:32:11.189396
2024-01-05 04:32:11,191 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1378.145918s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:32:11,193 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:32:11.192851
2024-01-05 04:32:11,195 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89056.633236s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:32:11,196 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:32:11,198 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:32:11,200 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.09
2024-01-05 04:32:11,205 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425521.6505988, power=328.97999999999956, imported=3360628.741413546, exported=0)
2024-01-05 04:32:11,207 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00265412, power1: 328.98, power2: 294.12
2024-01-05 04:32:11,213 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.82689
2024-01-05 04:32:11,230 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.82689 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425531.2054212, power=294.1199999999999, imported=3360629.568303805, exported=0)
2024-01-05 04:32:11,235 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:32:11,237 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:32:11,238 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4113.28, daily_exported=0, power=4308.88, imported=7211022.95, exported=0))
2024-01-05 04:32:11,243 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.05, 6.09, 6.02], daily_imported=4113.28, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211022.95, phases_in_use=3, plug_state=True, power=4308.88, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.19, 239.14, 240.29]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4268.070000000298, imported_since_plugged=4268.070000000298, range_charged=21.34035000000149, time_charged='4:20', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7dc838>), 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))
2024-01-05 04:32:11,245 - {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=[])
2024-01-05 04:32:11,247 - {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'])
2024-01-05 04:32:11,249 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1632.0, 1438.0, 1574.0], currents=[7.0, 6.1, 6.8], voltages=[239.95, 240.87, 238.84], power_factors=[0.97, 0.97, 0.97], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=9812.0, imported=7337894.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4645.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42663.88, raw_currents_left=[62.019999999999996, 62.95, 62.29], surplus_power_left=0, state_str=''))
2024-01-05 04:32:11,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=294.1199999999999, invalid_home_consumption=0, daily_yield_home_consumption=5514.6025116137, imported_home_consumption=3360629.568303805, disengageable_smarthome_power=0))
2024-01-05 04:32:11,254 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:32:11,259 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:32:11,263 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:32:11,265 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:32:11,267 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:32:11,269 - {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=20000, 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=68, soc_timestamp=1704425517.998884, force_soc_update=False, range=203, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:32:11,270 - {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)
2024-01-05 04:32:11,270 - {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)
2024-01-05 04:32:11,270 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:32:11,273 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:32:11,276 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:32:11,279 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:32:11,280 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7f0868>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:32:11,281 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:32:11,287 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=42.0))
2024-01-05 04:32:11,292 - {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=8202091.902000001, power=42.0))
2024-01-05 04:32:11,293 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425521, 'time': '04:32:01', 'grid': 4.676, 'house-power': 0.329, 'charging-all': 4.297, 'pv-all': -0.05, 'cp1-power': 4.297, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:32:11,294 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:32:11,296 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:32:11,298 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:32:11,299 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:32:11,300 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:32:11,303 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:32:11,305 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:32:11,307 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:32:11,309 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:32:11,313 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:32:11,316 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [56.019999999999996, 56.95, 56.29]A verbleibende Ströme, 38523.88W verbleibende Leistung
2024-01-05 04:32:11,318 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:32:11,321 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:32:11,323 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:32:11,325 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:32:11,329 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:32:11,332 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:32:11,334 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4576.120000000003W
2024-01-05 04:32:11,335 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4576.120000000003W
2024-01-05 04:32:11,336 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:32:11,338 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:32:11,340 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4279.790000000037 counter 7211022.95
2024-01-05 04:32:11,342 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:32:11,349 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:32:11,386 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:32:11,671 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:32:11,672 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:32:15,684 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:32:15,685 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:32:20,701 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:32:20,702 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:32:20,771 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:32:20,772 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:32:20,773 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:32:20,785 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:32:20,788 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:32:20,837 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:32:20,840 - {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":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425539},"temperature":{"tC":29.0, "tF":84.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:32","unixtime":1704425541,"uptime":3784903,"ram_size":248948,"ram_free":144524,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:32:20,841 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4661, -1637, -1443, -1580], Scale 0
2024-01-05 04:32:20,845 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425530.3116848, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:32:20,850 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00292601, power1: 0, power2: 0
2024-01-05 04:32:20,856 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:32:20,857 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425540.8453202, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:32:20,861 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:32:20,865 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [70, 61, 68], Scale -1
2024-01-05 04:32:20,899 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24002, 24093, 23886, 0, 0, 0, 0], Scale -2
2024-01-05 04:32:20,960 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:32:20,979 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9750, 9729, 9689], Scale -2
2024-01-05 04:32:20,999 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337910, 3035230, 2160638, 2693985], Scale 0
2024-01-05 04:32:21,000 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1637.0, 1443.0, 1580.0], voltages=[240.02, 240.93, 238.86], power_factors=[0.975, 0.9729000000000001, 0.9689], imported=7337910.0, exported=4871307.0, power=4661.0, frequency=49.99)
2024-01-05 04:32:21,001 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:32:21,100 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4203], Scale -2
2024-01-05 04:32:21,131 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:32:21,166 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 32], Scale -2
2024-01-05 04:32:21,199 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4978], Scale -2
2024-01-05 04:32:21,200 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.32], power=42.03, exported=7869605.0, dc_power=49.78)
2024-01-05 04:32:21,201 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:32:21,241 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425530.841636, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:32:21,242 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00288895, power1: 0, power2: 0
2024-01-05 04:32:21,243 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:32:21,243 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425541.2418733, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:32:21,244 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:32:21,248 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:32:21,248 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:32:21,297 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:32:21,300 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:32:21,301 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:32:21,303 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=42.03, exported=7904493.99, dc_power=None)
2024-01-05 04:32:21,309 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:32:21,312 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=42.03, exported=7904493.99, dc_power=None)
2024-01-05 04:32:21,313 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:32:21,366 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:32:21,367 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1637.0, 1443.0, 1580.0], voltages=[240.02, 240.93, 238.86], power_factors=[0.975, 0.9729000000000001, 0.9689], imported=7337910.0, exported=4871307.0, power=4661.0, frequency=49.99)
2024-01-05 04:32:21,529 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:32:21,531 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:32:21,536 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.01, 62.93, 62.28]A
2024-01-05 04:32:21,537 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42637.15W
2024-01-05 04:32:21,539 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:32:21,542 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:32:21,545 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:32:21,548 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:32:21.548105
2024-01-05 04:32:21,550 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1388.504627s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:32:21,551 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:32:21.551110
2024-01-05 04:32:21,553 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89046.274977s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:32:21,555 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:32:21,559 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:32:21,560 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:32:21,572 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425531.2054212, power=294.1199999999999, imported=3360629.568303805, exported=0)
2024-01-05 04:32:21,577 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00287984, power1: 294.12, power2: 320.82
2024-01-05 04:32:21,578 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.885466
2024-01-05 04:32:21,581 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.885466 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425541.572861, power=320.8200000000006, imported=3360630.4537695544, exported=0)
2024-01-05 04:32:21,590 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:32:21,592 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:32:21,594 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4113.28, daily_exported=0, power=4298.15, imported=7211035.16, exported=0))
2024-01-05 04:32: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', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.03, 6.08, 6.01], daily_imported=4113.28, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211035.16, phases_in_use=3, plug_state=True, power=4298.15, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.24, 239.19, 240.34]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4279.790000000037, imported_since_plugged=4279.790000000037, range_charged=21.398950000000188, time_charged='4:20', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7ed670>), 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))
2024-01-05 04:32:21,597 - {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=[])
2024-01-05 04:32:21,599 - {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'])
2024-01-05 04:32:21,600 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1637.0, 1443.0, 1580.0], currents=[7.0, 6.1, 6.8], voltages=[240.02, 240.93, 238.86], power_factors=[0.97, 0.97, 0.97], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=9812.0, imported=7337910.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4661.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42637.15, raw_currents_left=[62.01, 62.93, 62.28], surplus_power_left=0, state_str=''))
2024-01-05 04:32:21,601 - {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.8200000000006, invalid_home_consumption=0, daily_yield_home_consumption=5514.6025116137, imported_home_consumption=3360630.4537695544, disengageable_smarthome_power=0))
2024-01-05 04:32:21,602 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:32:21,605 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:32:21,607 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:32:21,609 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:32:21,612 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:32:21,616 - {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=20000, 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=68, soc_timestamp=1704425517.998884, force_soc_update=False, range=203, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:32:21,618 - {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)
2024-01-05 04:32:21,621 - {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)
2024-01-05 04:32:21,622 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:32:21,624 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:32:21,625 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:32:21,627 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:32:21,629 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7d4028>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:32:21,631 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:32:21,633 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=42.03))
2024-01-05 04:32:21,633 - {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=8202091.902000001, power=42.03))
2024-01-05 04:32:21,636 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425531, 'time': '04:32:11', 'grid': 4.645, 'house-power': 0.294, 'charging-all': 4.309, 'pv-all': -0.042, 'cp1-power': 4.309, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:32:21,637 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:32:21,638 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:32:21,641 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:32:21,643 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:32:21,649 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:32:21,650 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:32:21,652 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:32:21,653 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:32:21,654 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:32:21,658 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:32:21,659 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [56.01, 56.93, 56.28]A verbleibende Ströme, 38497.15W verbleibende Leistung
2024-01-05 04:32:21,660 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:32:21,662 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:32:21,663 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:32:21,663 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:32:21,664 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:32:21,665 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:32:21,666 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4602.8499999999985W
2024-01-05 04:32:21,667 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4602.8499999999985W
2024-01-05 04:32:21,673 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:32:21,674 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:32:21,676 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4292.0 counter 7211035.16
2024-01-05 04:32:21,678 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:32:21,682 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:32:21,730 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:32:22,110 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:32:25,185 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:32:25,189 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:32:30,201 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:32:30,202 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:32:30,240 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:32:30,246 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:32:30,255 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:32:30,258 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:32:30,260 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:32:30,304 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:32:30,306 - {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":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425549},"temperature":{"tC":29.0, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:32","unixtime":1704425550,"uptime":3784912,"ram_size":248932,"ram_free":144128,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-05 04:32:30,310 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425540.8453202, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:32:30,312 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00262923, power1: 0, power2: 0
2024-01-05 04:32:30,314 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:32:30,315 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425550.3105521, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:32:30,317 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:32:30,392 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4663, -1639, -1440, -1583], Scale 0
2024-01-05 04:32:30,419 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [69, 61, 68], Scale -1
2024-01-05 04:32:30,451 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24002, 24098, 23878, 0, 0, 0, 0], Scale -2
2024-01-05 04:32:30,480 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:32:30,499 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9769, 9720, 9710], Scale -2
2024-01-05 04:32:30,520 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337920, 3035234, 2160641, 2693989], Scale 0
2024-01-05 04:32:30,520 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[6.9, 6.1000000000000005, 6.800000000000001], powers=[1639.0, 1440.0, 1583.0], voltages=[240.02, 240.98000000000002, 238.78], power_factors=[0.9769, 0.972, 0.9710000000000001], imported=7337920.0, exported=4871307.0, power=4663.0, frequency=49.99)
2024-01-05 04:32:30,526 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:32:30,558 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5381], Scale -2
2024-01-05 04:32:30,603 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:32:30,639 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 32], Scale -2
2024-01-05 04:32:30,658 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5305], Scale -2
2024-01-05 04:32:30,659 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.32], power=53.81, exported=7869605.0, dc_power=53.050000000000004)
2024-01-05 04:32:30,665 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:32:30,771 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425541.2418733, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:32:30,772 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00264707, power1: 0, power2: 0
2024-01-05 04:32:30,772 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:32:30,773 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425550.7713277, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:32:30,774 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:32:30,792 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:32:30,793 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:32:30,833 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:32:30,841 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:32:30,843 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:32:30,848 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=53.81, exported=7904493.99, dc_power=None)
2024-01-05 04:32:30,850 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:32:30,852 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=53.81, exported=7904493.99, dc_power=None)
2024-01-05 04:32:30,852 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:32:30,913 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:32:30,914 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[6.9, 6.1000000000000005, 6.800000000000001], powers=[1639.0, 1440.0, 1583.0], voltages=[240.02, 240.98000000000002, 238.78], power_factors=[0.9769, 0.972, 0.9710000000000001], imported=7337920.0, exported=4871307.0, power=4663.0, frequency=49.99)
2024-01-05 04:32:31,113 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:32:31,123 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:32:31,134 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.12, 62.95, 62.29]A
2024-01-05 04:32:31,142 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42646.270000000004W
2024-01-05 04:32:31,143 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:32:31,151 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:32:31,158 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:32:31,159 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:32:31.159454
2024-01-05 04:32:31,160 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1398.115976s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:32:31,162 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:32:31.161953
2024-01-05 04:32:31,163 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89036.664134s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:32:31,164 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:32:31,179 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:32:31,182 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.09
2024-01-05 04:32:31,215 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425541.572861, power=320.8200000000006, imported=3360630.4537695544, exported=0)
2024-01-05 04:32:31,218 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0026784, power1: 320.82, power2: 299.92
2024-01-05 04:32:31,227 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.831295
2024-01-05 04:32:31,229 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.831295 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425551.2150977, power=299.91999999999916, imported=3360631.2850642786, exported=0)
2024-01-05 04:32:31,233 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:32:31,241 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:32:31,245 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4113.28, daily_exported=0, power=4309.27, imported=7211046.88, exported=0))
2024-01-05 04:32:31,246 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.05, 6.09, 6.02], daily_imported=4113.28, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211046.88, phases_in_use=3, plug_state=True, power=4309.27, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.32, 239.26, 240.47]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4292.0, imported_since_plugged=4292.0, range_charged=21.46, time_charged='4:20', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7e0658>), 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))
2024-01-05 04:32:31,249 - {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=[])
2024-01-05 04:32:31,254 - {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'])
2024-01-05 04:32:31,258 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1639.0, 1440.0, 1583.0], currents=[6.9, 6.1, 6.8], voltages=[240.02, 240.98, 238.78], power_factors=[0.98, 0.97, 0.97], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=9812.0, imported=7337920.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4663.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42646.270000000004, raw_currents_left=[62.12, 62.95, 62.29], surplus_power_left=0, state_str=''))
2024-01-05 04:32:31,260 - {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=299.91999999999916, invalid_home_consumption=0, daily_yield_home_consumption=5514.6025116137, imported_home_consumption=3360631.2850642786, disengageable_smarthome_power=0))
2024-01-05 04:32:31,262 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:32:31,264 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:32:31,270 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:32:31,271 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:32:31,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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:32:31,274 - {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=20000, 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=68, soc_timestamp=1704425517.998884, force_soc_update=False, range=203, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:32:31,275 - {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)
2024-01-05 04:32:31,276 - {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)
2024-01-05 04:32:31,278 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:32:31,281 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:32:31,284 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:32:31,288 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:32:31,290 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7d4580>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:32:31,292 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:32:31,293 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=53.81))
2024-01-05 04:32:31,294 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8202091.902000001, power=53.81))
2024-01-05 04:32:31,295 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425541, 'time': '04:32:21', 'grid': 4.661, 'house-power': 0.321, 'charging-all': 4.298, 'pv-all': -0.042, 'cp1-power': 4.298, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:32:31,297 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:32:31,298 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:32:31,298 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:32:31,299 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:32:31,300 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:32:31,300 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:32:31,301 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:32:31,301 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:32:31,302 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:32:31,302 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:32:31,303 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [56.12, 56.95, 56.29]A verbleibende Ströme, 38506.270000000004W verbleibende Leistung
2024-01-05 04:32:31,304 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:32:31,306 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:32:31,307 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:32:31,308 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:32:31,309 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:32:31,310 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:32:31,311 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4593.729999999996W
2024-01-05 04:32:31,311 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4593.729999999996W
2024-01-05 04:32:31,311 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:32:31,312 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:32:31,313 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4303.719999999739 counter 7211046.88
2024-01-05 04:32:31,329 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:32:31,348 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:32:31,378 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:32:31,644 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:32:31,646 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:32:35,664 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:32:35,665 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:32:40,677 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:32:40,678 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:32:40,736 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:32:40,737 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:32:40,738 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:32:40,749 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:32:40,752 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:32:40,805 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:32:40,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":241.2, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425559},"temperature":{"tC":29.0, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:32","unixtime":1704425561,"uptime":3784923,"ram_size":249000,"ram_free":145108,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:32:40,811 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425550.3105521, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:32:40,811 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00291684, power1: 0, power2: 0
2024-01-05 04:32:40,813 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:32:40,813 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425560.8111632, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:32:40,815 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:32:40,860 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4665, -1639, -1442, -1583], Scale 0
2024-01-05 04:32:40,880 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [70, 61, 68], Scale -1
2024-01-05 04:32:40,942 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24004, 24093, 23891, 0, 0, 0, 0], Scale -2
2024-01-05 04:32:40,979 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:32:40,998 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9720, 9729, 9649], Scale -2
2024-01-05 04:32:41,136 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337931, 3035237, 2160644, 2693993], Scale 0
2024-01-05 04:32:41,136 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1639.0, 1442.0, 1583.0], voltages=[240.04, 240.93, 238.91], power_factors=[0.972, 0.9729000000000001, 0.9649000000000001], imported=7337931.0, exported=4871307.0, power=4665.0, frequency=49.99)
2024-01-05 04:32:41,138 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:32:41,160 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5361], Scale -2
2024-01-05 04:32:41,180 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:32:41,200 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 32], Scale -2
2024-01-05 04:32:41,230 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5443], Scale -2
2024-01-05 04:32:41,230 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.32], power=53.61, exported=7869605.0, dc_power=54.43)
2024-01-05 04:32:41,231 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:32:41,269 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425550.7713277, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:32:41,270 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00291617, power1: 0, power2: 0
2024-01-05 04:32:41,270 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:32:41,270 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425561.2695343, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:32:41,272 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:32:41,279 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:32:41,282 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:32:41,325 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:32:41,326 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:32:41,328 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:32:41,330 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=53.61, exported=7904493.99, dc_power=None)
2024-01-05 04:32:41,336 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:32:41,342 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=53.61, exported=7904493.99, dc_power=None)
2024-01-05 04:32:41,345 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:32:41,401 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:32:41,402 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1639.0, 1442.0, 1583.0], voltages=[240.04, 240.93, 238.91], power_factors=[0.972, 0.9729000000000001, 0.9649000000000001], imported=7337931.0, exported=4871307.0, power=4665.0, frequency=49.99)
2024-01-05 04:32:41,607 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:32:41,609 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:32:41,613 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.0, 62.93, 62.28]A
2024-01-05 04:32:41,614 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42633.66W
2024-01-05 04:32:41,616 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:32:41,620 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:32:41,621 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:32:41,623 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:32:41.622665
2024-01-05 04:32:41,624 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1408.579187s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:32:41,626 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:32:41.626418
2024-01-05 04:32:41,629 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89026.199669s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:32:41,631 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:32:41,637 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:32:41,637 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:32:41,646 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425551.2150977, power=299.91999999999916, imported=3360631.2850642786, exported=0)
2024-01-05 04:32:41,648 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00289759, power1: 299.92, power2: 312.73
2024-01-05 04:32:41,649 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.887606
2024-01-05 04:32:41,652 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.887606 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425561.6464384, power=312.7300000000005, imported=3360632.172669956, exported=0)
2024-01-05 04:32:41,663 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:32:41,664 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:32:41,666 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4113.28, daily_exported=0, power=4298.66, imported=7211059.08, exported=0))
2024-01-05 04:32:41,667 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.03, 6.08, 6.0], daily_imported=4113.28, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211059.08, phases_in_use=3, plug_state=True, power=4298.66, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.21, 239.22, 240.3]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4303.719999999739, imported_since_plugged=4303.719999999739, range_charged=21.518599999998695, time_charged='4:20', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d4580>), 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))
2024-01-05 04:32:41,668 - {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=[])
2024-01-05 04:32:41,669 - {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'])
2024-01-05 04:32:41,670 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1639.0, 1442.0, 1583.0], currents=[7.0, 6.1, 6.8], voltages=[240.04, 240.93, 238.91], power_factors=[0.97, 0.97, 0.96], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=9812.0, imported=7337931.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4665.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42633.66, raw_currents_left=[62.0, 62.93, 62.28], surplus_power_left=0, state_str=''))
2024-01-05 04:32:41,673 - {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.7300000000005, invalid_home_consumption=0, daily_yield_home_consumption=5514.6025116137, imported_home_consumption=3360632.172669956, disengageable_smarthome_power=0))
2024-01-05 04:32:41,674 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:32:41,675 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:32:41,677 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:32:41,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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:32:41,683 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:32:41,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=20000, 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=68, soc_timestamp=1704425517.998884, force_soc_update=False, range=203, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:32:41,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)
2024-01-05 04:32:41,691 - {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)
2024-01-05 04:32:41,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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:32:41,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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:32:41,702 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:32:41,706 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:32:41,708 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7d4970>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:32:41,710 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:32:41,712 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=53.61))
2024-01-05 04:32:41,714 - {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=8202091.902000001, power=53.61))
2024-01-05 04:32:41,715 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425551, 'time': '04:32:31', 'grid': 4.663, 'house-power': 0.3, 'charging-all': 4.309, 'pv-all': -0.054, 'cp1-power': 4.309, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:32:41,716 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:32:41,717 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:32:41,718 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:32:41,719 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:32:41,722 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:32:41,722 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:32:41,725 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:32:41,725 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:32:41,726 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:32:41,728 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:32:41,731 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [56.0, 56.93, 56.28]A verbleibende Ströme, 38493.66W verbleibende Leistung
2024-01-05 04:32:41,737 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:32:41,742 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:32:41,744 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:32:41,745 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:32:41,746 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:32:41,748 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:32:41,749 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4606.3399999999965W
2024-01-05 04:32:41,750 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4606.3399999999965W
2024-01-05 04:32:41,752 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:32:41,754 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:32:41,756 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4315.9199999999255 counter 7211059.08
2024-01-05 04:32:41,760 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:32:41,764 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:32:41,787 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:32:42,101 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:32:45,141 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:32:45,142 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:32:50,157 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:32:50,159 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:32:50,237 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:32:50,247 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:32:50,249 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:32:50,250 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:32:50,267 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:32:50,292 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4643, -1629, -1439, -1574], Scale 0
2024-01-05 04:32:50,312 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [70, 61, 68], Scale -1
2024-01-05 04:32:50,323 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:32:50,326 - {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":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425569},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:32","unixtime":1704425570,"uptime":3784932,"ram_size":248988,"ram_free":144968,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-05 04:32:50,332 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425560.8111632, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:32:50,334 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00264468, power1: 0, power2: 0
2024-01-05 04:32:50,335 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:32:50,337 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425570.3319967, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:32:50,343 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:32:50,464 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24003, 24093, 23884, 0, 0, 0, 0], Scale -2
2024-01-05 04:32:50,491 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:32:50,515 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9720, 9720, 9670], Scale -2
2024-01-05 04:32:50,552 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337941, 3035241, 2160648, 2693996], Scale 0
2024-01-05 04:32:50,552 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1629.0, 1439.0, 1574.0], voltages=[240.03, 240.93, 238.84], power_factors=[0.972, 0.972, 0.9670000000000001], imported=7337941.0, exported=4871307.0, power=4643.0, frequency=50.0)
2024-01-05 04:32:50,554 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:32:50,626 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4470], Scale -2
2024-01-05 04:32:50,640 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:32:50,660 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 33, 32], Scale -2
2024-01-05 04:32:50,679 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4538], Scale -2
2024-01-05 04:32:50,680 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.33, 0.32], power=44.7, exported=7869605.0, dc_power=45.38)
2024-01-05 04:32:50,681 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:32:50,720 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425561.2695343, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:32:50,720 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00262511, power1: 0, power2: 0
2024-01-05 04:32:50,721 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:32:50,721 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425570.719937, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:32:50,722 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:32:50,726 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:32:50,736 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:32:50,782 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:32:50,785 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:32:50,787 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:32:50,791 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=44.7, exported=7904493.99, dc_power=None)
2024-01-05 04:32:50,800 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:32:50,801 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=44.7, exported=7904493.99, dc_power=None)
2024-01-05 04:32:50,801 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:32:50,859 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:32:50,860 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1629.0, 1439.0, 1574.0], voltages=[240.03, 240.93, 238.84], power_factors=[0.972, 0.972, 0.9670000000000001], imported=7337941.0, exported=4871307.0, power=4643.0, frequency=50.0)
2024-01-05 04:32:51,033 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:32:51,038 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:32:51,045 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.019999999999996, 62.95, 62.29]A
2024-01-05 04:32:51,047 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42665.78W
2024-01-05 04:32:51,049 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:32:51,054 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:32:51,056 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:32:51,059 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:32:51.059420
2024-01-05 04:32:51,062 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1418.015942s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:32:51,063 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:32:51.063350
2024-01-05 04:32:51,076 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89016.762737s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:32:51,077 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:32:51,080 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:32:51,082 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.09
2024-01-05 04:32:51,104 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425561.6464384, power=312.7300000000005, imported=3360632.172669956, exported=0)
2024-01-05 04:32:51,106 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00262726, power1: 312.73, power2: 289.52
2024-01-05 04:32:51,107 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.791133
2024-01-05 04:32:51,108 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.791133 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425571.1045647, power=289.52000000000044, imported=3360632.9638028126, exported=0)
2024-01-05 04:32:51,118 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:32:51,123 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:32:51,124 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4113.28, daily_exported=0, power=4308.78, imported=7211070.8, exported=0))
2024-01-05 04:32:51,125 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.05, 6.09, 6.02], daily_imported=4113.28, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211070.8, phases_in_use=3, plug_state=True, power=4308.78, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.34, 239.23, 240.47]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4315.9199999999255, imported_since_plugged=4315.9199999999255, range_charged=21.579599999999626, time_charged='4:21', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x701fd310>), 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))
2024-01-05 04:32:51,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=[])
2024-01-05 04:32:51,126 - {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'])
2024-01-05 04:32:51,127 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1629.0, 1439.0, 1574.0], currents=[7.0, 6.1, 6.8], voltages=[240.03, 240.93, 238.84], power_factors=[0.97, 0.97, 0.97], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=9812.0, imported=7337941.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4643.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42665.78, raw_currents_left=[62.019999999999996, 62.95, 62.29], surplus_power_left=0, state_str=''))
2024-01-05 04:32:51,128 - {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=289.52000000000044, invalid_home_consumption=0, daily_yield_home_consumption=5514.6025116137, imported_home_consumption=3360632.9638028126, disengageable_smarthome_power=0))
2024-01-05 04:32:51,128 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:32:51,129 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:32:51,130 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:32:51,130 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:32:51,131 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:32:51,131 - {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=20000, 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=68, soc_timestamp=1704425517.998884, force_soc_update=False, range=203, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:32:51,132 - {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)
2024-01-05 04:32:51,132 - {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)
2024-01-05 04:32:51,133 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:32:51,133 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:32:51,134 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:32:51,134 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:32:51,134 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7eda90>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:32:51,136 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:32:51,137 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=44.7))
2024-01-05 04:32:51,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=8202091.902000001, power=44.7))
2024-01-05 04:32:51,140 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425561, 'time': '04:32:41', 'grid': 4.665, 'house-power': 0.313, 'charging-all': 4.299, 'pv-all': -0.054, 'cp1-power': 4.299, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:32:51,141 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:32:51,142 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:32:51,142 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:32:51,142 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:32:51,143 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:32:51,143 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:32:51,143 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:32:51,144 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:32:51,144 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:32:51,146 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:32:51,147 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [56.019999999999996, 56.95, 56.29]A verbleibende Ströme, 38525.78W verbleibende Leistung
2024-01-05 04:32:51,148 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:32:51,151 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:32:51,154 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:32:51,156 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:32:51,157 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:32:51,159 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:32:51,160 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4574.220000000001W
2024-01-05 04:32:51,163 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4574.220000000001W
2024-01-05 04:32:51,165 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:32:51,167 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:32:51,171 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4327.639999999665 counter 7211070.8
2024-01-05 04:32:51,177 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:32:51,188 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:32:51,239 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:32:51,494 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:32:51,495 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:32:55,518 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:32:55,519 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:33:00,531 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:33:00,532 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:33:00,572 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:33:00,574 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:33:00,580 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:33:00,582 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:33:00,586 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:33:00,623 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:33:00,625 - {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":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425579},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:33","unixtime":1704425581,"uptime":3784943,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:33:00,629 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425570.3319967, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:33:00,632 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4662, -1644, -1442, -1576], Scale 0
2024-01-05 04:33:00,634 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00286033, power1: 0, power2: 0
2024-01-05 04:33:00,636 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:33:00,636 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425580.629181, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:33:00,637 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:33:00,651 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [70, 61, 67], Scale -1
2024-01-05 04:33:00,719 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24007, 24097, 23896, 0, 0, 0, 0], Scale -2
2024-01-05 04:33:00,930 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:33:00,950 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9729, 9720, 9720], Scale -2
2024-01-05 04:33:00,971 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337961, 3035248, 2160654, 2694003], Scale 0
2024-01-05 04:33:00,971 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[7.0, 6.1000000000000005, 6.7], powers=[1644.0, 1442.0, 1576.0], voltages=[240.07, 240.97, 238.96], power_factors=[0.9729000000000001, 0.972, 0.972], imported=7337961.0, exported=4871307.0, power=4662.0, frequency=50.0)
2024-01-05 04:33:00,978 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:33:01,019 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4869], Scale -2
2024-01-05 04:33:01,070 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:33:01,089 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 32, 32], Scale -2
2024-01-05 04:33:01,113 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4944], Scale -2
2024-01-05 04:33:01,114 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.32, 0.32], power=48.69, exported=7869605.0, dc_power=49.44)
2024-01-05 04:33:01,123 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:33:01,293 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425570.719937, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:33:01,294 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00293701, power1: 0, power2: 0
2024-01-05 04:33:01,294 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:33:01,295 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425581.2931564, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:33:01,297 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:33:01,303 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:33:01,305 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:33:01,372 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:33:01,373 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:33:01,374 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:33:01,376 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=48.69, exported=7904493.99, dc_power=None)
2024-01-05 04:33:01,378 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:33:01,380 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=48.69, exported=7904493.99, dc_power=None)
2024-01-05 04:33:01,383 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:33:01,467 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:33:01,468 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[7.0, 6.1000000000000005, 6.7], powers=[1644.0, 1442.0, 1576.0], voltages=[240.07, 240.97, 238.96], power_factors=[0.9729000000000001, 0.972, 0.972], imported=7337961.0, exported=4871307.0, power=4662.0, frequency=50.0)
2024-01-05 04:33:01,664 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:33:01,668 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:33:01,676 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.019999999999996, 62.94, 62.39]A
2024-01-05 04:33:01,678 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42646.38W
2024-01-05 04:33:01,679 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:33:01,683 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:33:01,684 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:33:01,685 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:33:01.685069
2024-01-05 04:33:01,686 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1428.641591s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:33:01,687 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:33:01.687001
2024-01-05 04:33:01,688 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 89006.139086s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:33:01,689 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:33:01,692 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:33:01,693 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.09
2024-01-05 04:33:01,696 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425571.1045647, power=289.52000000000044, imported=3360632.9638028126, exported=0)
2024-01-05 04:33:01,697 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00294215, power1: 289.52, power2: 304.93
2024-01-05 04:33:01,701 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.87448
2024-01-05 04:33:01,703 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.87448 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425581.6963007, power=304.9300000000003, imported=3360633.8382830224, exported=0)
2024-01-05 04:33:01,710 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:33:01,714 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:33:01,717 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4113.28, daily_exported=0, power=4308.38, imported=7211083.01, exported=0))
2024-01-05 04:33:01,720 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.04, 6.09, 6.02], daily_imported=4113.28, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211083.01, phases_in_use=3, plug_state=True, power=4308.38, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.3, 239.34, 240.45]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4327.639999999665, imported_since_plugged=4327.639999999665, range_charged=21.638199999998324, time_charged='4:21', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b5ec10>), 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))
2024-01-05 04:33:01,723 - {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=[])
2024-01-05 04:33:01,724 - {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'])
2024-01-05 04:33:01,726 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1644.0, 1442.0, 1576.0], currents=[7.0, 6.1, 6.7], voltages=[240.07, 240.97, 238.96], power_factors=[0.97, 0.97, 0.97], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=9812.0, imported=7337961.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4662.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42646.38, raw_currents_left=[62.019999999999996, 62.94, 62.39], surplus_power_left=0, state_str=''))
2024-01-05 04:33:01,728 - {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.9300000000003, invalid_home_consumption=0, daily_yield_home_consumption=5514.6025116137, imported_home_consumption=3360633.8382830224, disengageable_smarthome_power=0))
2024-01-05 04:33:01,730 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:33:01,731 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:33:01,733 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:33:01,735 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:33:01,735 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:33:01,740 - {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=20000, 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=68, soc_timestamp=1704425573.463785, force_soc_update=False, range=203, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:33:01,742 - {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)
2024-01-05 04:33:01,743 - {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)
2024-01-05 04:33:01,744 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:33:01,747 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:33:01,748 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:33:01,748 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:33:01,751 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7d4310>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:33:01,752 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:33:01,754 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=48.69))
2024-01-05 04:33:01,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=8202091.902000001, power=48.69))
2024-01-05 04:33:01,760 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425571, 'time': '04:32:51', 'grid': 4.643, 'house-power': 0.29, 'charging-all': 4.309, 'pv-all': -0.045, 'cp1-power': 4.309, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:33:01,765 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:33:01,766 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:33:01,767 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:33:01,768 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:33:01,769 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:33:01,772 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:33:01,773 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:33:01,774 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:33:01,777 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:33:01,779 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:33:01,780 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [56.019999999999996, 56.94, 56.39]A verbleibende Ströme, 38506.38W verbleibende Leistung
2024-01-05 04:33:01,781 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:33:01,785 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:33:01,787 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:33:01,789 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:33:01,790 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:33:01,793 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:33:01,794 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4593.620000000003W
2024-01-05 04:33:01,795 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4593.620000000003W
2024-01-05 04:33:01,796 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:33:01,798 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:33:01,799 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4339.8499999996275 counter 7211083.01
2024-01-05 04:33:01,805 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:33:01,808 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:33:01,828 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:33:02,085 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:33:05,119 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:33:05,120 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:33:10,132 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:33:10,133 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:33:10,178 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:33:10,180 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:33:10,187 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:33:10,189 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:33:10,190 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:33:10,237 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:33:10,239 - {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":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425589},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:33","unixtime":1704425590,"uptime":3784952,"ram_size":248948,"ram_free":144524,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:33:10,243 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425580.629181, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:33:10,243 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00267052, power1: 0, power2: 0
2024-01-05 04:33:10,244 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:33:10,245 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425590.2430573, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:33:10,249 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:33:10,254 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4647, -1628, -1439, -1579], Scale 0
2024-01-05 04:33:10,295 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [70, 61, 68], Scale -1
2024-01-05 04:33:10,315 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24002, 24084, 23883, 0, 0, 0, 0], Scale -2
2024-01-05 04:33:10,362 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:33:10,391 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9729, 9700, 9679], Scale -2
2024-01-05 04:33:10,413 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337972, 3035252, 2160657, 2694007], Scale 0
2024-01-05 04:33:10,414 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1628.0, 1439.0, 1579.0], voltages=[240.02, 240.84, 238.83], power_factors=[0.9729000000000001, 0.97, 0.9679000000000001], imported=7337972.0, exported=4871307.0, power=4647.0, frequency=49.99)
2024-01-05 04:33:10,417 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:33:10,443 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4784], Scale -2
2024-01-05 04:33:10,521 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:33:10,543 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 32, 32], Scale -2
2024-01-05 04:33:10,562 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4857], Scale -2
2024-01-05 04:33:10,569 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.32, 0.32], power=47.84, exported=7869605.0, dc_power=48.57)
2024-01-05 04:33:10,572 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:33:10,644 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425581.2931564, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:33:10,645 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00259744, power1: 0, power2: 0
2024-01-05 04:33:10,645 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:33:10,646 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425590.6439545, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:33:10,647 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:33:10,652 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:33:10,653 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:33:10,712 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:33:10,728 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:33:10,729 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.84, exported=7904493.99, dc_power=None)
2024-01-05 04:33:10,729 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.84, exported=7904493.99, dc_power=None)
2024-01-05 04:33:10,732 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:33:10,744 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:33:10,747 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:33:10,797 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:33:10,798 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1628.0, 1439.0, 1579.0], voltages=[240.02, 240.84, 238.83], power_factors=[0.9729000000000001, 0.97, 0.9679000000000001], imported=7337972.0, exported=4871307.0, power=4647.0, frequency=49.99)
2024-01-05 04:33:10,990 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:33:10,991 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:33:11,008 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.0, 62.93, 62.28]A
2024-01-05 04:33:11,009 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42652.44W
2024-01-05 04:33:11,010 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:33:11,019 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:33:11,020 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:33:11,022 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:33:11.022234
2024-01-05 04:33:11,023 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1437.978756s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:33:11,024 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:33:11.024012
2024-01-05 04:33:11,025 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 88996.802075s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:33:11,027 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:33:11,030 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:33:11,036 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:33:11,046 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425581.6963007, power=304.9300000000003, imported=3360633.8382830224, exported=0)
2024-01-05 04:33:11,051 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00259736, power1: 304.93, power2: 299.72
2024-01-05 04:33:11,054 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.785247
2024-01-05 04:33:11,055 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.785247 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425591.0468028, power=299.72000000000025, imported=3360634.6235303893, exported=0)
2024-01-05 04:33:11,057 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:33:11,058 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:33:11,059 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4113.28, daily_exported=0, power=4299.44, imported=7211095.21, exported=0))
2024-01-05 04:33:11,064 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.03, 6.08, 6.0], daily_imported=4113.28, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211095.21, phases_in_use=3, plug_state=True, power=4299.44, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.46, 239.33, 240.63]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4339.8499999996275, imported_since_plugged=4339.8499999996275, range_charged=21.699249999998138, time_charged='4:21', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b98118>), 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))
2024-01-05 04:33:11,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=[])
2024-01-05 04:33:11,067 - {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'])
2024-01-05 04:33:11,073 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1628.0, 1439.0, 1579.0], currents=[7.0, 6.1, 6.8], voltages=[240.02, 240.84, 238.83], power_factors=[0.97, 0.97, 0.97], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=9812.0, imported=7337972.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4647.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42652.44, raw_currents_left=[62.0, 62.93, 62.28], surplus_power_left=0, state_str=''))
2024-01-05 04:33:11,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=299.72000000000025, invalid_home_consumption=0, daily_yield_home_consumption=5514.6025116137, imported_home_consumption=3360634.6235303893, disengageable_smarthome_power=0))
2024-01-05 04:33:11,076 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:33:11,078 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:33:11,081 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:33:11,082 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:33:11,084 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:33:11,088 - {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=20000, 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=68, soc_timestamp=1704425573.463785, force_soc_update=False, range=203, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:33:11,089 - {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)
2024-01-05 04:33:11,090 - {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)
2024-01-05 04:33:11,091 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:33:11,092 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:33:11,093 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:33:11,096 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:33:11,101 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x70b64520>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:33:11,102 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:33:11,103 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=47.84))
2024-01-05 04:33:11,104 - {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=8202091.902000001, power=47.84))
2024-01-05 04:33:11,107 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425581, 'time': '04:33:01', 'grid': 4.662, 'house-power': 0.305, 'charging-all': 4.308, 'pv-all': -0.049, 'cp1-power': 4.308, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:33:11,108 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:33:11,109 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:33:11,109 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:33:11,111 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:33:11,112 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:33:11,114 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:33:11,114 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:33:11,115 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:33:11,116 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:33:11,119 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:33:11,120 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [56.0, 56.93, 56.28]A verbleibende Ströme, 38512.44W verbleibende Leistung
2024-01-05 04:33:11,121 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:33:11,124 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:33:11,125 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:33:11,127 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:33:11,127 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:33:11,131 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:33:11,133 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4587.559999999998W
2024-01-05 04:33:11,133 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4587.559999999998W
2024-01-05 04:33:11,134 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:33:11,135 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:33:11,143 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4352.049999999814 counter 7211095.21
2024-01-05 04:33:11,150 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:33:11,156 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:33:11,195 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:33:11,447 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:33:11,455 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:33:15,466 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:33:15,467 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:33:20,483 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:33:20,485 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:33:20,603 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:33:20,606 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:33:20,612 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:33:20,619 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:33:20,638 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:33:20,668 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:33:20,670 - {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":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425599},"temperature":{"tC":29.0, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:33","unixtime":1704425601,"uptime":3784963,"ram_size":248944,"ram_free":142824,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:33:20,676 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425590.2430573, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:33:20,678 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00289816, power1: 0, power2: 0
2024-01-05 04:33:20,679 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:33:20,681 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425600.676447, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:33:20,684 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4658, -1634, -1442, -1581], Scale 0
2024-01-05 04:33:20,685 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:33:20,702 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [70, 61, 68], Scale -1
2024-01-05 04:33:20,720 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24025, 24099, 23880, 0, 0, 0, 0], Scale -2
2024-01-05 04:33:20,740 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:33:20,759 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9729, 9710, 9670], Scale -2
2024-01-05 04:33:20,813 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7337982, 3035255, 2160661, 2694010], Scale 0
2024-01-05 04:33:20,815 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1634.0, 1442.0, 1581.0], voltages=[240.25, 240.99, 238.8], power_factors=[0.9729000000000001, 0.9710000000000001, 0.9670000000000001], imported=7337982.0, exported=4871307.0, power=4658.0, frequency=49.99)
2024-01-05 04:33:20,821 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:33:20,842 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4282], Scale -2
2024-01-05 04:33:20,866 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:33:20,939 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 33, 33], Scale -2
2024-01-05 04:33:20,959 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4347], Scale -2
2024-01-05 04:33:20,960 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.33, 0.33], power=42.82, exported=7869605.0, dc_power=43.47)
2024-01-05 04:33:20,961 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:33:21,040 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425590.6439545, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:33:21,041 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00288793, power1: 0, power2: 0
2024-01-05 04:33:21,041 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:33:21,041 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425601.0404909, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:33:21,042 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:33:21,048 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:33:21,049 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:33:21,094 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:33:21,096 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:33:21,097 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=42.82, exported=7904493.99, dc_power=None)
2024-01-05 04:33:21,098 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:33:21,099 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=42.82, exported=7904493.99, dc_power=None)
2024-01-05 04:33:21,101 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:33:21,104 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:33:21,164 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:33:21,165 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1634.0, 1442.0, 1581.0], voltages=[240.25, 240.99, 238.8], power_factors=[0.9729000000000001, 0.9710000000000001, 0.9670000000000001], imported=7337982.0, exported=4871307.0, power=4658.0, frequency=49.99)
2024-01-05 04:33:21,324 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:33:21,327 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:33:21,330 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.01, 62.95, 62.29]A
2024-01-05 04:33:21,331 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42651.24W
2024-01-05 04:33:21,333 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:33:21,337 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:33:21,338 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:33:21,341 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:33:21.341153
2024-01-05 04:33:21,343 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1448.297675s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:33:21,345 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:33:21.345310
2024-01-05 04:33:21,346 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 88986.480777s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:33:21,347 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:33:21,354 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:33:21,355 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.09
2024-01-05 04:33:21,366 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425591.0468028, power=299.72000000000025, imported=3360634.6235303893, exported=0)
2024-01-05 04:33:21,370 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00286653, power1: 299.72, power2: 305.94
2024-01-05 04:33:21,371 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.868072
2024-01-05 04:33:21,374 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.868072 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425601.3663151, power=305.9400000000005, imported=3360635.4916020366, exported=0)
2024-01-05 04:33:21,378 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:33:21,381 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:33:21,383 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4113.28, daily_exported=0, power=4309.24, imported=7211106.93, exported=0))
2024-01-05 04:33:21,388 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.05, 6.09, 6.01], daily_imported=4113.28, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211106.93, phases_in_use=3, plug_state=True, power=4309.24, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.38, 239.23, 240.6]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4352.049999999814, imported_since_plugged=4352.049999999814, range_charged=21.76024999999907, time_charged='4:21', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x701fdc70>), 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))
2024-01-05 04:33:21,389 - {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=[])
2024-01-05 04:33:21,391 - {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'])
2024-01-05 04:33:21,392 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1634.0, 1442.0, 1581.0], currents=[7.0, 6.1, 6.8], voltages=[240.25, 240.99, 238.8], power_factors=[0.97, 0.97, 0.97], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=9812.0, imported=7337982.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4658.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42651.24, raw_currents_left=[62.01, 62.95, 62.29], surplus_power_left=0, state_str=''))
2024-01-05 04:33:21,394 - {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=305.9400000000005, invalid_home_consumption=0, daily_yield_home_consumption=5514.6025116137, imported_home_consumption=3360635.4916020366, disengageable_smarthome_power=0))
2024-01-05 04:33:21,398 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:33:21,400 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:33:21,401 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:33:21,404 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:33:21,405 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:33:21,407 - {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=20000, 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=68, soc_timestamp=1704425573.463785, force_soc_update=False, range=203, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:33:21,409 - {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)
2024-01-05 04:33:21,411 - {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)
2024-01-05 04:33:21,413 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:33:21,414 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:33:21,415 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:33:21,416 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:33:21,416 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7dc988>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:33:21,417 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:33:21,418 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=42.82))
2024-01-05 04:33:21,419 - {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=8202091.902000001, power=42.82))
2024-01-05 04:33:21,422 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425591, 'time': '04:33:11', 'grid': 4.647, 'house-power': 0.3, 'charging-all': 4.299, 'pv-all': -0.048, 'cp1-power': 4.299, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:33:21,423 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:33:21,425 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:33:21,427 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:33:21,428 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:33:21,429 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:33:21,433 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:33:21,434 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:33:21,435 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:33:21,436 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:33:21,438 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:33:21,441 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [56.01, 56.95, 56.29]A verbleibende Ströme, 38511.24W verbleibende Leistung
2024-01-05 04:33:21,442 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:33:21,445 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:33:21,447 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:33:21,452 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:33:21,456 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:33:21,459 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:33:21,468 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4588.760000000002W
2024-01-05 04:33:21,469 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4588.760000000002W
2024-01-05 04:33:21,470 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:33:21,470 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:33:21,479 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4363.769999999553 counter 7211106.93
2024-01-05 04:33:21,483 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:33:21,486 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:33:21,510 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:33:21,748 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:33:25,806 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:33:25,807 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:33:30,818 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:33:30,819 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:33:30,865 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:33:30,866 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:33:30,873 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:33:30,875 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:33:30,903 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:33:30,944 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:33:30,947 - {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":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425609},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:33","unixtime":1704425611,"uptime":3784973,"ram_size":248948,"ram_free":144524,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:33:30,952 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425600.676447, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:33:30,953 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00285432, power1: 0, power2: 0
2024-01-05 04:33:30,954 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:33:30,954 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425610.9520059, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:33:30,956 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:33:31,009 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4662, -1641, -1441, -1578], Scale 0
2024-01-05 04:33:31,029 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [70, 61, 68], Scale -1
2024-01-05 04:33:31,049 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24018, 24093, 23877, 0, 0, 0, 0], Scale -2
2024-01-05 04:33:31,108 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:33:31,128 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9739, 9750, 9720], Scale -2
2024-01-05 04:33:31,149 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7338003, 3035263, 2160667, 2694017], Scale 0
2024-01-05 04:33:31,150 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1641.0, 1441.0, 1578.0], voltages=[240.18, 240.93, 238.77], power_factors=[0.9739, 0.975, 0.972], imported=7338003.0, exported=4871307.0, power=4662.0, frequency=49.97)
2024-01-05 04:33:31,151 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:33:31,260 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4902], Scale -2
2024-01-05 04:33:31,300 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:33:31,320 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 33, 33], Scale -2
2024-01-05 04:33:31,342 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4977], Scale -2
2024-01-05 04:33:31,343 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.33, 0.33], power=49.02, exported=7869605.0, dc_power=49.77)
2024-01-05 04:33:31,344 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:33:31,389 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425601.0404909, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:33:31,390 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00287482, power1: 0, power2: 0
2024-01-05 04:33:31,391 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:33:31,391 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425611.3898401, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:33:31,392 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:33:31,409 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:33:31,410 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:33:31,451 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:33:31,452 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:33:31,453 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:33:31,455 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=49.02, exported=7904493.99, dc_power=None)
2024-01-05 04:33:31,455 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:33:31,457 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=49.02, exported=7904493.99, dc_power=None)
2024-01-05 04:33:31,465 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:33:31,533 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:33:31,534 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1641.0, 1441.0, 1578.0], voltages=[240.18, 240.93, 238.77], power_factors=[0.9739, 0.975, 0.972], imported=7338003.0, exported=4871307.0, power=4662.0, frequency=49.97)
2024-01-05 04:33:31,730 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:33:31,735 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:33:31,749 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.0, 62.94, 62.28]A
2024-01-05 04:33:31,753 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42638.74W
2024-01-05 04:33:31,754 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:33:31,762 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:33:31,766 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:33:31,767 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:33:31.766993
2024-01-05 04:33:31,768 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1458.723515s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:33:31,770 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:33:31.770162
2024-01-05 04:33:31,772 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 88976.055925s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:33:31,779 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:33:31,784 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:33:31,786 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:33:31,792 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425601.3663151, power=305.9400000000005, imported=3360635.4916020366, exported=0)
2024-01-05 04:33:31,794 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00289619, power1: 305.94, power2: 312.24
2024-01-05 04:33:31,796 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.895183
2024-01-05 04:33:31,798 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.895183 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425611.7925982, power=312.2399999999998, imported=3360636.3867853284, exported=0)
2024-01-05 04:33:31,803 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:33:31,804 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:33:31,806 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4113.28, daily_exported=0, power=4300.74, imported=7211120.12, exported=0))
2024-01-05 04:33:31,808 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.04, 6.08, 6.0], daily_imported=4113.28, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211120.12, phases_in_use=3, plug_state=True, power=4300.74, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.29, 239.12, 240.48]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4363.769999999553, imported_since_plugged=4363.769999999553, range_charged=21.818849999997763, time_charged='4:21', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f763ac0>), 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))
2024-01-05 04:33:31,810 - {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=[])
2024-01-05 04:33:31,814 - {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'])
2024-01-05 04:33:31,815 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1641.0, 1441.0, 1578.0], currents=[7.0, 6.1, 6.8], voltages=[240.18, 240.93, 238.77], power_factors=[0.97, 0.97, 0.97], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=9812.0, imported=7338003.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4662.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42638.74, raw_currents_left=[62.0, 62.94, 62.28], surplus_power_left=0, state_str=''))
2024-01-05 04:33:31,817 - {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.2399999999998, invalid_home_consumption=0, daily_yield_home_consumption=5514.6025116137, imported_home_consumption=3360636.3867853284, disengageable_smarthome_power=0))
2024-01-05 04:33:31,819 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:33:31,821 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:33:31,823 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:33:31,824 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:33:31,825 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:33:31,827 - {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=20000, 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=68, soc_timestamp=1704425573.463785, force_soc_update=False, range=203, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:33:31,828 - {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)
2024-01-05 04:33:31,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)
2024-01-05 04:33:31,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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:33:31,832 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:33:31,833 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:33:31,834 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:33:31,835 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x70b61a48>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:33:31,836 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:33:31,838 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=49.02))
2024-01-05 04:33:31,839 - {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=8202091.902000001, power=49.02))
2024-01-05 04:33:31,841 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425601, 'time': '04:33:21', 'grid': 4.658, 'house-power': 0.306, 'charging-all': 4.309, 'pv-all': -0.043, 'cp1-power': 4.309, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:33:31,842 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:33:31,845 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:33:31,847 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:33:31,849 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:33:31,850 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:33:31,851 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:33:31,852 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:33:31,854 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:33:31,855 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:33:31,857 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:33:31,859 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [56.0, 56.94, 56.28]A verbleibende Ströme, 38498.74W verbleibende Leistung
2024-01-05 04:33:31,860 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:33:31,863 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:33:31,866 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:33:31,867 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:33:31,869 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:33:31,871 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:33:31,872 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4601.260000000002W
2024-01-05 04:33:31,874 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4601.260000000002W
2024-01-05 04:33:31,875 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:33:31,876 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:33:31,878 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4376.959999999963 counter 7211120.12
2024-01-05 04:33:31,884 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:33:31,888 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:33:31,911 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:33:32,220 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:33:32,221 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:33:35,229 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:33:35,230 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:33:40,244 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:33:40,245 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:33:40,319 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:33:40,320 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:33:40,322 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:33:40,333 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:33:40,344 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:33:40,372 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4664, -1636, -1445, -1582], Scale 0
2024-01-05 04:33:40,383 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:33:40,385 - {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":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425619},"temperature":{"tC":29.0, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:33","unixtime":1704425620,"uptime":3784982,"ram_size":248948,"ram_free":144524,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:33:40,388 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425610.9520059, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:33:40,389 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00262109, power1: 0, power2: 0
2024-01-05 04:33:40,389 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:33:40,390 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425620.3879416, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:33:40,393 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [69, 61, 68], Scale -1
2024-01-05 04:33:40,394 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:33:40,452 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24012, 24083, 23879, 0, 0, 0, 0], Scale -2
2024-01-05 04:33:40,482 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:33:40,501 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9710, 9729, 9610], Scale -2
2024-01-05 04:33:40,520 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7338014, 3035266, 2160670, 2694021], Scale 0
2024-01-05 04:33:40,523 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[6.9, 6.1000000000000005, 6.800000000000001], powers=[1636.0, 1445.0, 1582.0], voltages=[240.12, 240.83, 238.79], power_factors=[0.9710000000000001, 0.9729000000000001, 0.9610000000000001], imported=7338014.0, exported=4871307.0, power=4664.0, frequency=49.99)
2024-01-05 04:33:40,526 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:33:40,660 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4808], Scale -2
2024-01-05 04:33:40,702 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:33:40,730 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 31], Scale -2
2024-01-05 04:33:40,750 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4881], Scale -2
2024-01-05 04:33:40,751 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.31], power=48.08, exported=7869605.0, dc_power=48.81)
2024-01-05 04:33:40,752 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:33:40,789 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425611.3898401, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:33:40,790 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00261097, power1: 0, power2: 0
2024-01-05 04:33:40,790 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:33:40,790 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425620.7893407, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:33:40,792 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:33:40,804 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:33:40,805 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:33:40,844 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:33:40,845 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:33:40,846 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:33:40,847 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=48.08, exported=7904493.99, dc_power=None)
2024-01-05 04:33:40,849 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:33:40,850 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=48.08, exported=7904493.99, dc_power=None)
2024-01-05 04:33:40,851 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:33:40,910 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:33:40,911 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[6.9, 6.1000000000000005, 6.800000000000001], powers=[1636.0, 1445.0, 1582.0], voltages=[240.12, 240.83, 238.79], power_factors=[0.9710000000000001, 0.9729000000000001, 0.9610000000000001], imported=7338014.0, exported=4871307.0, power=4664.0, frequency=49.99)
2024-01-05 04:33:41,089 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:33:41,098 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:33:41,110 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.12, 62.95, 62.29]A
2024-01-05 04:33:41,112 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42644.16W
2024-01-05 04:33:41,113 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:33:41,118 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:33:41,119 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:33:41,121 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:33:41.120820
2024-01-05 04:33:41,126 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1468.077342s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:33:41,128 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:33:41.127568
2024-01-05 04:33:41,130 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 88966.698519s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:33:41,131 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:33:41,134 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:33:41,146 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.09
2024-01-05 04:33:41,161 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425611.7925982, power=312.2399999999998, imported=3360636.3867853284, exported=0)
2024-01-05 04:33:41,165 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0026025, power1: 312.24, power2: 307.76
2024-01-05 04:33:41,166 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.806774
2024-01-05 04:33:41,167 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.806774 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425621.1615858, power=307.7600000000002, imported=3360637.1935592573, exported=0)
2024-01-05 04:33:41,169 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:33:41,171 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:33:41,174 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4113.28, daily_exported=0, power=4308.16, imported=7211130.86, exported=0))
2024-01-05 04:33:41,180 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.05, 6.09, 6.02], daily_imported=4113.28, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211130.86, phases_in_use=3, plug_state=True, power=4308.16, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.35, 239.27, 240.54]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4376.959999999963, imported_since_plugged=4376.959999999963, range_charged=21.884799999999814, time_charged='4:21', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b98da8>), 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))
2024-01-05 04:33:41,186 - {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=[])
2024-01-05 04:33:41,189 - {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'])
2024-01-05 04:33:41,191 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1636.0, 1445.0, 1582.0], currents=[6.9, 6.1, 6.8], voltages=[240.12, 240.83, 238.79], power_factors=[0.97, 0.97, 0.96], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=9812.0, imported=7338014.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4664.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42644.16, raw_currents_left=[62.12, 62.95, 62.29], surplus_power_left=0, state_str=''))
2024-01-05 04:33:41,193 - {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=307.7600000000002, invalid_home_consumption=0, daily_yield_home_consumption=5514.6025116137, imported_home_consumption=3360637.1935592573, disengageable_smarthome_power=0))
2024-01-05 04:33:41,195 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:33:41,197 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:33:41,199 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:33:41,201 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:33:41,203 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:33:41,205 - {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=20000, 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=68, soc_timestamp=1704425573.463785, force_soc_update=False, range=203, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:33:41,206 - {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)
2024-01-05 04:33:41,207 - {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)
2024-01-05 04:33:41,209 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:33:41,210 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:33:41,212 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:33:41,213 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:33:41,215 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7d2238>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:33:41,221 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:33:41,223 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=48.08))
2024-01-05 04:33:41,225 - {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=8202091.902000001, power=48.08))
2024-01-05 04:33:41,227 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425611, 'time': '04:33:31', 'grid': 4.662, 'house-power': 0.312, 'charging-all': 4.301, 'pv-all': -0.049, 'cp1-power': 4.301, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:33:41,228 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:33:41,231 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:33:41,233 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:33:41,234 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:33:41,236 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:33:41,237 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:33:41,238 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:33:41,238 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:33:41,239 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:33:41,240 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:33:41,240 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [56.12, 56.95, 56.29]A verbleibende Ströme, 38504.16W verbleibende Leistung
2024-01-05 04:33:41,241 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:33:41,243 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:33:41,244 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:33:41,244 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:33:41,245 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:33:41,246 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:33:41,247 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4595.8399999999965W
2024-01-05 04:33:41,247 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4595.8399999999965W
2024-01-05 04:33:41,247 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:33:41,248 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:33:41,250 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4387.700000000186 counter 7211130.86
2024-01-05 04:33:41,253 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:33:41,265 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:33:41,296 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:33:41,520 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:33:45,535 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:33:45,536 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:33:50,548 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:33:50,548 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:33:50,592 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:33:50,594 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:33:50,601 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:33:50,603 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:33:50,638 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:33:50,646 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:33:50,648 - {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":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425629},"temperature":{"tC":29.0, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:33","unixtime":1704425631,"uptime":3784993,"ram_size":249000,"ram_free":145092,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:33:50,650 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425620.3879416, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:33:50,651 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00285066, power1: 0, power2: 0
2024-01-05 04:33:50,651 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:33:50,652 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425630.6503015, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:33:50,653 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:33:50,730 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4646, -1631, -1442, -1572], Scale 0
2024-01-05 04:33:50,749 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [70, 61, 68], Scale -1
2024-01-05 04:33:50,789 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24009, 24091, 23875, 0, 0, 0, 0], Scale -2
2024-01-05 04:33:50,808 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:33:50,849 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9700, 9720, 9639], Scale -2
2024-01-05 04:33:50,869 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7338024, 3035270, 2160673, 2694024], Scale 0
2024-01-05 04:33:50,869 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1631.0, 1442.0, 1572.0], voltages=[240.09, 240.91, 238.75], power_factors=[0.97, 0.972, 0.9639], imported=7338024.0, exported=4871307.0, power=4646.0, frequency=49.97)
2024-01-05 04:33:50,871 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:33:50,888 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5149], Scale -2
2024-01-05 04:33:50,908 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:33:50,990 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 32], Scale -2
2024-01-05 04:33:51,023 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5228], Scale -2
2024-01-05 04:33:51,024 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.32], power=51.49, exported=7869605.0, dc_power=52.28)
2024-01-05 04:33:51,025 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:33:51,090 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425620.7893407, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:33:51,091 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00286154, power1: 0, power2: 0
2024-01-05 04:33:51,092 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:33:51,092 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425631.09088, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:33:51,093 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:33:51,097 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:33:51,098 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:33:51,150 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:33:51,151 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:33:51,153 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:33:51,154 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=51.49, exported=7904493.99, dc_power=None)
2024-01-05 04:33:51,156 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:33:51,157 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=51.49, exported=7904493.99, dc_power=None)
2024-01-05 04:33:51,158 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:33:51,229 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:33:51,230 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1631.0, 1442.0, 1572.0], voltages=[240.09, 240.91, 238.75], power_factors=[0.97, 0.972, 0.9639], imported=7338024.0, exported=4871307.0, power=4646.0, frequency=49.97)
2024-01-05 04:33:51,428 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:33:51,430 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:33:51,454 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.019999999999996, 62.95, 62.29]A
2024-01-05 04:33:51,456 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42663.83W
2024-01-05 04:33:51,458 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:33:51,462 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:33:51,465 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:33:51,468 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:33:51.468371
2024-01-05 04:33:51,470 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1478.424893s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:33:51,478 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:33:51.478262
2024-01-05 04:33:51,480 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 88956.347825s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:33:51,480 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:33:51,488 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:33:51,492 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.09
2024-01-05 04:33:51,517 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425621.1615858, power=307.7600000000002, imported=3360637.1935592573, exported=0)
2024-01-05 04:33:51,522 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00287653, power1: 307.76, power2: 284.68
2024-01-05 04:33:51,524 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.852086
2024-01-05 04:33:51,530 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.852086 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425631.5170946, power=284.6800000000003, imported=3360638.04564504, exported=0)
2024-01-05 04:33:51,535 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:33:51,539 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:33:51,540 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4113.28, daily_exported=0, power=4309.83, imported=7211143.07, exported=0))
2024-01-05 04:33:51,546 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.05, 6.09, 6.02], daily_imported=4113.28, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211143.07, phases_in_use=3, plug_state=True, power=4309.83, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.26, 239.23, 240.52]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4387.700000000186, imported_since_plugged=4387.700000000186, range_charged=21.938500000000932, time_charged='4:21', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f763850>), 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))
2024-01-05 04:33:51,548 - {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=[])
2024-01-05 04:33:51,549 - {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'])
2024-01-05 04:33:51,555 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1631.0, 1442.0, 1572.0], currents=[7.0, 6.1, 6.8], voltages=[240.09, 240.91, 238.75], power_factors=[0.97, 0.97, 0.96], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=9812.0, imported=7338024.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4646.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42663.83, raw_currents_left=[62.019999999999996, 62.95, 62.29], surplus_power_left=0, state_str=''))
2024-01-05 04:33:51,557 - {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=284.6800000000003, invalid_home_consumption=0, daily_yield_home_consumption=5514.6025116137, imported_home_consumption=3360638.04564504, disengageable_smarthome_power=0))
2024-01-05 04:33:51,565 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:33:51,567 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:33:51,569 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:33:51,573 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:33:51,575 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:33:51,580 - {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=20000, 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=68, soc_timestamp=1704425629.001424, force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:33:51,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)
2024-01-05 04:33:51,587 - {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)
2024-01-05 04:33:51,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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:33:51,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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:33:51,589 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:33:51,589 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:33:51,589 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7f1b98>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:33:51,590 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:33:51,590 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=51.49))
2024-01-05 04:33:51,591 - {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=8202091.902000001, power=51.49))
2024-01-05 04:33:51,591 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425621, 'time': '04:33:41', 'grid': 4.664, 'house-power': 0.308, 'charging-all': 4.308, 'pv-all': -0.048, 'cp1-power': 4.308, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:33:51,592 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:33:51,593 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:33:51,593 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:33:51,593 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:33:51,594 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:33:51,594 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:33:51,595 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:33:51,595 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:33:51,596 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:33:51,597 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:33:51,598 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [56.019999999999996, 56.95, 56.29]A verbleibende Ströme, 38523.83W verbleibende Leistung
2024-01-05 04:33:51,599 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:33:51,601 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:33:51,602 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:33:51,603 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:33:51,604 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:33:51,605 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:33:51,606 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4576.169999999998W
2024-01-05 04:33:51,607 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4576.169999999998W
2024-01-05 04:33:51,609 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:33:51,609 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:33:51,610 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4399.910000000149 counter 7211143.07
2024-01-05 04:33:51,612 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:33:51,623 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:33:51,662 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:33:51,914 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:33:51,916 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:33:55,925 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:34:00,939 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:34:00,940 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:34:00,983 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:34:00,986 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:34:00,988 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:34:00,994 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:34:01,040 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:34:01,042 - {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":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425639},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:34","unixtime":1704425641,"uptime":3785003,"ram_size":248948,"ram_free":144524,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:34:01,044 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425630.6503015, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:34:01,044 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00288713, power1: 0, power2: 0
2024-01-05 04:34:01,045 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:34:01,045 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425641.0439527, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:34:01,046 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:34:01,070 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:34:01,120 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4672, -1645, -1443, -1583], Scale 0
2024-01-05 04:34:01,151 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [70, 61, 68], Scale -1
2024-01-05 04:34:01,173 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24005, 24075, 23868, 0, 0, 0, 0], Scale -2
2024-01-05 04:34:01,190 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:34:01,211 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9710, 9739, 9649], Scale -2
2024-01-05 04:34:01,258 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7338044, 3035277, 2160680, 2694031], Scale 0
2024-01-05 04:34:01,259 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1645.0, 1443.0, 1583.0], voltages=[240.05, 240.75, 238.68], power_factors=[0.9710000000000001, 0.9739, 0.9649000000000001], imported=7338044.0, exported=4871307.0, power=4672.0, frequency=49.99)
2024-01-05 04:34:01,261 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:34:01,320 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4544], Scale -2
2024-01-05 04:34:01,350 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:34:01,370 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 33], Scale -2
2024-01-05 04:34:01,390 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4613], Scale -2
2024-01-05 04:34:01,391 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.33], power=45.44, exported=7869605.0, dc_power=46.13)
2024-01-05 04:34:01,392 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:34:01,560 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425631.09088, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:34:01,561 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.0029082, power1: 0, power2: 0
2024-01-05 04:34:01,562 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:34:01,562 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425641.5604053, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:34:01,563 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:34:01,571 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:34:01,573 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:34:01,619 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:34:01,620 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:34:01,621 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=45.44, exported=7904493.99, dc_power=None)
2024-01-05 04:34:01,623 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=45.44, exported=7904493.99, dc_power=None)
2024-01-05 04:34:01,625 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:34:01,626 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:34:01,627 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:34:01,693 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:34:01,694 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1645.0, 1443.0, 1583.0], voltages=[240.05, 240.75, 238.68], power_factors=[0.9710000000000001, 0.9739, 0.9649000000000001], imported=7338044.0, exported=4871307.0, power=4672.0, frequency=49.99)
2024-01-05 04:34:01,867 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:34:01,873 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:34:01,880 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.0, 62.94, 62.29]A
2024-01-05 04:34:01,882 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42628.74W
2024-01-05 04:34:01,886 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:34:01,891 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:34:01,899 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:34:01,900 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:34:01.900391
2024-01-05 04:34:01,903 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1488.856913s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:34:01,904 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:34:01.904528
2024-01-05 04:34:01,907 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 88945.921559s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:34:01,908 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:34:01,921 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:34:01,937 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.09
2024-01-05 04:34:01,954 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425631.5170946, power=284.6800000000003, imported=3360638.04564504, exported=0)
2024-01-05 04:34:01,956 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00289917, power1: 284.68, power2: 325.82
2024-01-05 04:34:01,957 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.884971
2024-01-05 04:34:01,958 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.884971 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425641.9541008, power=325.8200000000006, imported=3360638.9306161935, exported=0)
2024-01-05 04:34:01,961 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:34:01,962 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:34:01,971 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4113.28, daily_exported=0, power=4300.74, imported=7211154.79, exported=0))
2024-01-05 04:34:01,972 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.04, 6.09, 6.0], daily_imported=4113.28, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211154.79, phases_in_use=3, plug_state=True, power=4300.74, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.15, 239.09, 240.41]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4399.910000000149, imported_since_plugged=4399.910000000149, range_charged=21.999550000000745, time_charged='4:22', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d3e98>), 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))
2024-01-05 04:34:01,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=[])
2024-01-05 04:34:01,978 - {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'])
2024-01-05 04:34:01,979 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1645.0, 1443.0, 1583.0], currents=[7.0, 6.1, 6.8], voltages=[240.05, 240.75, 238.68], power_factors=[0.97, 0.97, 0.96], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=9812.0, imported=7338044.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4672.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42628.74, raw_currents_left=[62.0, 62.94, 62.29], surplus_power_left=0, state_str=''))
2024-01-05 04:34:01,980 - {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=325.8200000000006, invalid_home_consumption=0, daily_yield_home_consumption=5514.6025116137, imported_home_consumption=3360638.9306161935, disengageable_smarthome_power=0))
2024-01-05 04:34:01,982 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:34:01,985 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:34:01,989 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:34:01,993 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:34:01,994 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:34:01,995 - {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=20000, 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=68, soc_timestamp=1704425629.001424, force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:34:01,996 - {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)
2024-01-05 04:34:01,997 - {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)
2024-01-05 04:34:02,003 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:34:02,011 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:34:02,014 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:34:02,015 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:34:02,016 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f75b5b0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:34:02,021 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:34:02,023 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=45.44))
2024-01-05 04:34:02,033 - {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=8202091.902000001, power=45.44))
2024-01-05 04:34:02,038 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425631, 'time': '04:33:51', 'grid': 4.646, 'house-power': 0.285, 'charging-all': 4.31, 'pv-all': -0.051, 'cp1-power': 4.31, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:34:02,038 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:34:02,039 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:34:02,039 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:34:02,040 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:34:02,040 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:34:02,041 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:34:02,041 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:34:02,041 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:34:02,042 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:34:02,043 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:34:02,044 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [56.0, 56.94, 56.29]A verbleibende Ströme, 38488.74W verbleibende Leistung
2024-01-05 04:34:02,045 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:34:02,047 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:34:02,049 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:34:02,049 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:34:02,050 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:34:02,052 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:34:02,052 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4611.260000000002W
2024-01-05 04:34:02,053 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4611.260000000002W
2024-01-05 04:34:02,053 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:34:02,054 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:34:02,055 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4411.629999999888 counter 7211154.79
2024-01-05 04:34:02,057 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:34:02,066 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:34:02,117 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:34:02,513 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:34:02,515 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:34:05,533 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:34:05,534 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:34:10,547 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:34:10,548 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:34:10,590 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:34:10,591 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:34:10,592 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:34:10,598 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:34:10,601 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:34:10,630 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4647, -1635, -1439, -1573], Scale 0
2024-01-05 04:34:10,646 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:34:10,648 - {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":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425649},"temperature":{"tC":29.0, "tF":84.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:34","unixtime":1704425651,"uptime":3785013,"ram_size":248948,"ram_free":144524,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-05 04:34:10,650 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425641.0439527, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:34:10,651 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00266844, power1: 0, power2: 0
2024-01-05 04:34:10,651 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:34:10,651 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425650.6503453, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:34:10,653 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:34:10,710 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [69, 61, 68], Scale -1
2024-01-05 04:34:10,739 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23998, 24073, 23858, 0, 0, 0, 0], Scale -2
2024-01-05 04:34:10,770 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:34:10,803 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9750, 9710, 9689], Scale -2
2024-01-05 04:34:10,830 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7338055, 3035281, 2160683, 2694035], Scale 0
2024-01-05 04:34:10,831 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[6.9, 6.1000000000000005, 6.800000000000001], powers=[1635.0, 1439.0, 1573.0], voltages=[239.98000000000002, 240.73000000000002, 238.58], power_factors=[0.975, 0.9710000000000001, 0.9689], imported=7338055.0, exported=4871307.0, power=4647.0, frequency=49.99)
2024-01-05 04:34:10,833 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:34:10,850 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4348], Scale -2
2024-01-05 04:34:10,884 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:34:10,948 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 32, 33], Scale -2
2024-01-05 04:34:10,979 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4645], Scale -2
2024-01-05 04:34:10,980 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.32, 0.33], power=43.480000000000004, exported=7869605.0, dc_power=46.45)
2024-01-05 04:34:10,985 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:34:11,120 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425641.5604053, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:34:11,122 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.0026557, power1: 0, power2: 0
2024-01-05 04:34:11,122 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:34:11,123 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425651.1209219, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:34:11,124 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:34:11,132 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:34:11,134 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:34:11,209 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:34:11,211 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:34:11,213 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:34:11,221 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:34:11,214 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=43.480000000000004, exported=7904493.99, dc_power=None)
2024-01-05 04:34:11,229 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=43.480000000000004, exported=7904493.99, dc_power=None)
2024-01-05 04:34:11,226 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:34:11,282 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:34:11,283 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[6.9, 6.1000000000000005, 6.800000000000001], powers=[1635.0, 1439.0, 1573.0], voltages=[239.98000000000002, 240.73000000000002, 238.58], power_factors=[0.975, 0.9710000000000001, 0.9689], imported=7338055.0, exported=4871307.0, power=4647.0, frequency=49.99)
2024-01-05 04:34:11,442 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:34:11,444 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:34:11,446 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.12, 62.94, 62.3]A
2024-01-05 04:34:11,448 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42662.14W
2024-01-05 04:34:11,449 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:34:11,451 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:34:11,454 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:34:11,455 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:34:11.454799
2024-01-05 04:34:11,456 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1498.411321s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:34:11,457 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:34:11.457273
2024-01-05 04:34:11,460 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 88936.368814s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:34:11,462 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:34:11,466 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:34:11,469 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.1
2024-01-05 04:34:11,482 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425641.9541008, power=325.8200000000006, imported=3360638.9306161935, exported=0)
2024-01-05 04:34:11,483 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00264662, power1: 325.82, power2: 294.38
2024-01-05 04:34:11,492 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.820717
2024-01-05 04:34:11,493 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.820717 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425651.4819298, power=294.3800000000001, imported=3360639.751332791, exported=0)
2024-01-05 04:34:11,497 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:34:11,499 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:34:11,502 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4113.28, daily_exported=0, power=4309.14, imported=7211166.99, exported=0))
2024-01-05 04:34:11,504 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.04, 6.1, 6.02], daily_imported=4113.28, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211166.99, phases_in_use=3, plug_state=True, power=4309.14, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.22, 239.02, 240.4]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4411.629999999888, imported_since_plugged=4411.629999999888, range_charged=22.05814999999944, time_charged='4:22', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f75b9e8>), 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))
2024-01-05 04:34:11,505 - {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=[])
2024-01-05 04:34:11,506 - {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'])
2024-01-05 04:34:11,508 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1635.0, 1439.0, 1573.0], currents=[6.9, 6.1, 6.8], voltages=[239.98, 240.73, 238.58], power_factors=[0.97, 0.97, 0.97], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=9812.0, imported=7338055.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4647.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42662.14, raw_currents_left=[62.12, 62.94, 62.3], surplus_power_left=0, state_str=''))
2024-01-05 04:34:11,509 - {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.3800000000001, invalid_home_consumption=0, daily_yield_home_consumption=5514.6025116137, imported_home_consumption=3360639.751332791, disengageable_smarthome_power=0))
2024-01-05 04:34:11,510 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:34:11,512 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:34:11,514 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:34:11,521 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:34:11,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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:34:11,523 - {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=20000, 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=68, soc_timestamp=1704425629.001424, force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:34:11,535 - {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)
2024-01-05 04:34:11,536 - {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)
2024-01-05 04:34:11,537 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:34:11,538 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:34:11,539 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:34:11,540 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:34:11,542 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f75b088>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:34:11,543 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:34:11,545 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=43.48))
2024-01-05 04:34:11,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=8202091.902000001, power=43.48))
2024-01-05 04:34:11,547 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425642, 'time': '04:34:02', 'grid': 4.672, 'house-power': 0.326, 'charging-all': 4.301, 'pv-all': -0.045, 'cp1-power': 4.301, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:34:11,549 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:34:11,550 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:34:11,552 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:34:11,554 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:34:11,554 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:34:11,556 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:34:11,557 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:34:11,558 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:34:11,559 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:34:11,561 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:34:11,563 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [56.12, 56.94, 56.3]A verbleibende Ströme, 38522.14W verbleibende Leistung
2024-01-05 04:34:11,564 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:34:11,567 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:34:11,569 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:34:11,577 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:34:11,578 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:34:11,580 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:34:11,581 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4577.860000000001W
2024-01-05 04:34:11,583 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4577.860000000001W
2024-01-05 04:34:11,585 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:34:11,586 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:34:11,591 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4423.8300000000745 counter 7211166.99
2024-01-05 04:34:11,599 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:34:11,601 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:34:11,627 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:34:11,874 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:34:15,906 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:34:15,907 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:34:20,919 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:34:20,919 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:34:20,976 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:34:20,978 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:34:20,980 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:34:20,982 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:34:20,990 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:34:21,020 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4654, -1631, -1441, -1581], Scale 0
2024-01-05 04:34:21,039 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [69, 61, 68], Scale -1
2024-01-05 04:34:21,057 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:34:21,059 - {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":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425659},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:34","unixtime":1704425661,"uptime":3785023,"ram_size":248948,"ram_free":144524,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:34:21,061 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425650.6503453, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:34:21,061 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00289183, power1: 0, power2: 0
2024-01-05 04:34:21,062 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:34:21,062 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425661.060924, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:34:21,063 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:34:21,171 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24021, 24096, 23883, 0, 0, 0, 0], Scale -2
2024-01-05 04:34:21,189 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:34:21,219 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9760, 9729, 9720], Scale -2
2024-01-05 04:34:21,239 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7338065, 3035285, 2160686, 2694038], Scale 0
2024-01-05 04:34:21,240 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[6.9, 6.1000000000000005, 6.800000000000001], powers=[1631.0, 1441.0, 1581.0], voltages=[240.21, 240.96, 238.83], power_factors=[0.9760000000000001, 0.9729000000000001, 0.972], imported=7338065.0, exported=4871307.0, power=4654.0, frequency=49.97)
2024-01-05 04:34:21,246 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:34:21,269 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4471], Scale -2
2024-01-05 04:34:21,301 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:34:21,383 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 33], Scale -2
2024-01-05 04:34:21,449 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4688], Scale -2
2024-01-05 04:34:21,450 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.33], power=44.71, exported=7869605.0, dc_power=46.88)
2024-01-05 04:34:21,455 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:34:21,580 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425651.1209219, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:34:21,581 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00290543, power1: 0, power2: 0
2024-01-05 04:34:21,581 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:34:21,582 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425661.580465, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:34:21,584 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:34:21,596 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:34:21,602 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:34:21,640 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:34:21,643 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:34:21,645 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=44.71, exported=7904493.99, dc_power=None)
2024-01-05 04:34:21,646 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=44.71, exported=7904493.99, dc_power=None)
2024-01-05 04:34:21,644 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:34:21,669 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:34:21,673 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:34:21,723 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:34:21,726 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[6.9, 6.1000000000000005, 6.800000000000001], powers=[1631.0, 1441.0, 1581.0], voltages=[240.21, 240.96, 238.83], power_factors=[0.9760000000000001, 0.9729000000000001, 0.972], imported=7338065.0, exported=4871307.0, power=4654.0, frequency=49.97)
2024-01-05 04:34:21,952 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:34:21,954 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:34:21,961 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.1, 62.95, 62.28]A
2024-01-05 04:34:21,962 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42647.68W
2024-01-05 04:34:21,964 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:34:21,967 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:34:21,968 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:34:21,970 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:34:21.970217
2024-01-05 04:34:21,973 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1508.926739s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:34:21,974 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:34:21.973854
2024-01-05 04:34:21,977 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 88925.852233s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:34:21,984 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:34:21,991 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:34:22,002 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:34:22,021 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425651.4819298, power=294.3800000000001, imported=3360639.751332791, exported=0)
2024-01-05 04:34:22,024 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00292767, power1: 294.38, power2: 307.61
2024-01-05 04:34:22,026 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.881214
2024-01-05 04:34:22,039 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.881214 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425662.0215445, power=307.6099999999997, imported=3360640.6325470465, exported=0)
2024-01-05 04:34:22,052 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:34:22,056 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:34:22,057 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4113.28, daily_exported=0, power=4301.68, imported=7211179.2, exported=0))
2024-01-05 04:34:22,058 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.05, 6.08, 6.0], daily_imported=4113.28, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211179.2, phases_in_use=3, plug_state=True, power=4301.68, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.38, 239.26, 240.6]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4423.8300000000745, imported_since_plugged=4423.8300000000745, range_charged=22.119150000000374, time_charged='4:22', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7ed208>), 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))
2024-01-05 04:34:22,073 - {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=[])
2024-01-05 04:34:22,075 - {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'])
2024-01-05 04:34:22,077 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1631.0, 1441.0, 1581.0], currents=[6.9, 6.1, 6.8], voltages=[240.21, 240.96, 238.83], power_factors=[0.98, 0.97, 0.97], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=9812.0, imported=7338065.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4654.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42647.68, raw_currents_left=[62.1, 62.95, 62.28], surplus_power_left=0, state_str=''))
2024-01-05 04:34:22,081 - {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=307.6099999999997, invalid_home_consumption=0, daily_yield_home_consumption=5514.6025116137, imported_home_consumption=3360640.6325470465, disengageable_smarthome_power=0))
2024-01-05 04:34:22,082 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:34:22,084 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:34:22,087 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:34:22,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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:34:22,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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:34:22,098 - {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=20000, 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=68, soc_timestamp=1704425629.001424, force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:34:22,100 - {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)
2024-01-05 04:34:22,100 - {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)
2024-01-05 04:34:22,101 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:34:22,103 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:34:22,106 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:34:22,107 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:34:22,108 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7fa3d0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:34:22,109 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:34:22,111 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=44.71))
2024-01-05 04:34:22,111 - {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=8202091.902000001, power=44.71))
2024-01-05 04:34:22,117 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425651, 'time': '04:34:11', 'grid': 4.647, 'house-power': 0.294, 'charging-all': 4.309, 'pv-all': -0.043, 'cp1-power': 4.309, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:34:22,119 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:34:22,120 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:34:22,121 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:34:22,121 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:34:22,122 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:34:22,123 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:34:22,124 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:34:22,126 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:34:22,130 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:34:22,132 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:34:22,133 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [56.1, 56.95, 56.28]A verbleibende Ströme, 38507.68W verbleibende Leistung
2024-01-05 04:34:22,134 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:34:22,137 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:34:22,139 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:34:22,140 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:34:22,144 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:34:22,146 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:34:22,147 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4592.32W
2024-01-05 04:34:22,148 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4592.32W
2024-01-05 04:34:22,149 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:34:22,150 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:34:22,152 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4436.040000000037 counter 7211179.2
2024-01-05 04:34:22,155 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:34:22,158 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:34:22,202 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:34:22,568 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:34:22,570 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:34:25,594 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:34:25,595 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:34:30,608 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:34:30,609 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:34:30,653 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:34:30,657 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:34:30,662 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:34:30,663 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:34:30,663 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:34:30,706 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:34:30,708 - {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":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425669},"temperature":{"tC":29.0, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:34","unixtime":1704425671,"uptime":3785033,"ram_size":248948,"ram_free":144524,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-05 04:34:30,711 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4647, -1630, -1440, -1577], Scale 0
2024-01-05 04:34:30,712 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425661.060924, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:34:30,714 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00268086, power1: 0, power2: 0
2024-01-05 04:34:30,715 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:34:30,716 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425670.7120104, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:34:30,717 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:34:30,729 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [69, 61, 68], Scale -1
2024-01-05 04:34:30,760 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24033, 24105, 23896, 0, 0, 0, 0], Scale -2
2024-01-05 04:34:30,790 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:34:30,849 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9769, 9739, 9700], Scale -2
2024-01-05 04:34:30,899 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7338076, 3035288, 2160689, 2694042], Scale 0
2024-01-05 04:34:30,900 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[6.9, 6.1000000000000005, 6.800000000000001], powers=[1630.0, 1440.0, 1577.0], voltages=[240.33, 241.05, 238.96], power_factors=[0.9769, 0.9739, 0.97], imported=7338076.0, exported=4871307.0, power=4647.0, frequency=49.99)
2024-01-05 04:34:30,901 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:34:30,919 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4621], Scale -2
2024-01-05 04:34:30,946 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:34:31,080 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 32, 31], Scale -2
2024-01-05 04:34:31,109 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4691], Scale -2
2024-01-05 04:34:31,110 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.32, 0.31], power=46.21, exported=7869605.0, dc_power=46.910000000000004)
2024-01-05 04:34:31,111 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:34:31,159 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425661.580465, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:34:31,160 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00266085, power1: 0, power2: 0
2024-01-05 04:34:31,160 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:34:31,160 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425671.1595407, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:34:31,161 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:34:31,164 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:34:31,166 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:34:31,229 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:34:31,230 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:34:31,231 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:34:31,235 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.21, exported=7904493.99, dc_power=None)
2024-01-05 04:34:31,246 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:34:31,247 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.21, exported=7904493.99, dc_power=None)
2024-01-05 04:34:31,248 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:34:31,306 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:34:31,306 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[6.9, 6.1000000000000005, 6.800000000000001], powers=[1630.0, 1440.0, 1577.0], voltages=[240.33, 241.05, 238.96], power_factors=[0.9769, 0.9739, 0.97], imported=7338076.0, exported=4871307.0, power=4647.0, frequency=49.99)
2024-01-05 04:34:31,457 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:34:31,459 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:34:31,466 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.1, 62.94, 62.29]A
2024-01-05 04:34:31,468 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42661.729999999996W
2024-01-05 04:34:31,471 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:34:31,473 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:34:31,473 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:34:31,475 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:34:31.475508
2024-01-05 04:34:31,477 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1518.43203s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:34:31,479 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:34:31.478593
2024-01-05 04:34:31,481 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 88916.347494s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:34:31,482 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:34:31,484 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:34:31,486 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.09
2024-01-05 04:34:31,495 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425662.0215445, power=307.6099999999997, imported=3360640.6325470465, exported=0)
2024-01-05 04:34:31,496 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00263123, power1: 307.61, power2: 292.06
2024-01-05 04:34:31,498 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.788935
2024-01-05 04:34:31,500 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.788935 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425671.4939756, power=292.0600000000004, imported=3360641.421482159, exported=0)
2024-01-05 04:34:31,506 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:34:31,509 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:34:31,512 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4113.28, daily_exported=0, power=4308.73, imported=7211190.92, exported=0))
2024-01-05 04:34:31,515 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.04, 6.09, 6.0], daily_imported=4113.28, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211190.92, phases_in_use=3, plug_state=True, power=4308.73, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.46, 239.39, 240.72]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4436.040000000037, imported_since_plugged=4436.040000000037, range_charged=22.180200000000188, time_charged='4:22', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x701f1ac0>), 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))
2024-01-05 04:34:31,517 - {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=[])
2024-01-05 04:34:31,519 - {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'])
2024-01-05 04:34:31,521 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1630.0, 1440.0, 1577.0], currents=[6.9, 6.1, 6.8], voltages=[240.33, 241.05, 238.96], power_factors=[0.98, 0.97, 0.97], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=9812.0, imported=7338076.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4647.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42661.729999999996, raw_currents_left=[62.1, 62.94, 62.29], surplus_power_left=0, state_str=''))
2024-01-05 04:34:31,524 - {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=292.0600000000004, invalid_home_consumption=0, daily_yield_home_consumption=5514.6025116137, imported_home_consumption=3360641.421482159, disengageable_smarthome_power=0))
2024-01-05 04:34:31,527 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:34:31,528 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:34:31,529 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:34:31,532 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:34:31,535 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:34:31,537 - {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=20000, 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=68, soc_timestamp=1704425629.001424, force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:34:31,541 - {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)
2024-01-05 04:34:31,541 - {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)
2024-01-05 04:34:31,542 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:34:31,542 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:34:31,545 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:34:31,549 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:34:31,551 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7f0280>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:34:31,552 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:34:31,552 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=46.21))
2024-01-05 04:34:31,555 - {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=8202091.902000001, power=46.21))
2024-01-05 04:34:31,557 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425662, 'time': '04:34:22', 'grid': 4.654, 'house-power': 0.308, 'charging-all': 4.302, 'pv-all': -0.045, 'cp1-power': 4.302, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:34:31,560 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:34:31,562 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:34:31,562 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:34:31,563 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:34:31,566 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:34:31,567 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:34:31,569 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:34:31,570 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:34:31,570 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:34:31,572 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:34:31,574 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [56.1, 56.94, 56.29]A verbleibende Ströme, 38521.729999999996W verbleibende Leistung
2024-01-05 04:34:31,575 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:34:31,579 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:34:31,581 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:34:31,583 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:34:31,584 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:34:31,587 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:34:31,589 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4578.270000000004W
2024-01-05 04:34:31,592 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4578.270000000004W
2024-01-05 04:34:31,593 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:34:31,595 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:34:31,600 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4447.7599999997765 counter 7211190.92
2024-01-05 04:34:31,609 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:34:31,612 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:34:31,636 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:34:31,868 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:34:35,887 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:34:35,888 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:34:40,899 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:34:40,900 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:34:40,943 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:34:40,944 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:34:40,952 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:34:40,954 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:34:40,957 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:34:40,980 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4652, -1636, -1440, -1575], Scale 0
2024-01-05 04:34:40,994 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:34:40,997 - {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":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425679},"temperature":{"tC":29.0, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:34","unixtime":1704425681,"uptime":3785043,"ram_size":249000,"ram_free":145092,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:34:41,000 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425670.7120104, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:34:41,002 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00285792, power1: 0, power2: 0
2024-01-05 04:34:41,003 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:34:41,006 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425681.00051, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:34:41,013 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:34:41,032 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [69, 61, 68], Scale -1
2024-01-05 04:34:41,050 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24033, 24100, 23907, 0, 0, 0, 0], Scale -2
2024-01-05 04:34:41,073 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:34:41,089 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9720, 9739, 9660], Scale -2
2024-01-05 04:34:41,211 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7338097, 3035296, 2160696, 2694049], Scale 0
2024-01-05 04:34:41,212 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[6.9, 6.1000000000000005, 6.800000000000001], powers=[1636.0, 1440.0, 1575.0], voltages=[240.33, 241.0, 239.07], power_factors=[0.972, 0.9739, 0.9660000000000001], imported=7338097.0, exported=4871307.0, power=4652.0, frequency=50.0)
2024-01-05 04:34:41,215 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:34:41,264 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4786], Scale -2
2024-01-05 04:34:41,291 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:34:41,331 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 32], Scale -2
2024-01-05 04:34:41,350 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5394], Scale -2
2024-01-05 04:34:41,351 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.32], power=47.86, exported=7869605.0, dc_power=53.94)
2024-01-05 04:34:41,354 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:34:41,419 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425671.1595407, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:34:41,420 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00285008, power1: 0, power2: 0
2024-01-05 04:34:41,421 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:34:41,421 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425681.4198365, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:34:41,423 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:34:41,436 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:34:41,437 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:34:41,476 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:34:41,480 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:34:41,482 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:34:41,491 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.86, exported=7904493.99, dc_power=None)
2024-01-05 04:34:41,493 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:34:41,493 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.86, exported=7904493.99, dc_power=None)
2024-01-05 04:34:41,494 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:34:41,548 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:34:41,549 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[6.9, 6.1000000000000005, 6.800000000000001], powers=[1636.0, 1440.0, 1575.0], voltages=[240.33, 241.0, 239.07], power_factors=[0.972, 0.9739, 0.9660000000000001], imported=7338097.0, exported=4871307.0, power=4652.0, frequency=50.0)
2024-01-05 04:34:41,729 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:34:41,733 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:34:41,741 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.1, 62.93, 62.28]A
2024-01-05 04:34:41,742 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42648.72W
2024-01-05 04:34:41,748 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:34:41,757 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:34:41,758 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:34:41,760 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:34:41.760143
2024-01-05 04:34:41,762 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1528.716665s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:34:41,764 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:34:41.763750
2024-01-05 04:34:41,765 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 88906.062337s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:34:41,767 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:34:41,796 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:34:41,797 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:34:41,826 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425671.4939756, power=292.0600000000004, imported=3360641.421482159, exported=0)
2024-01-05 04:34:41,835 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00287006, power1: 292.06, power2: 303.42
2024-01-05 04:34:41,837 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.854532
2024-01-05 04:34:41,838 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.854532 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425681.8261943, power=303.4200000000001, imported=3360642.276014042, exported=0)
2024-01-05 04:34:41,853 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:34:41,854 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:34:41,859 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4113.28, daily_exported=0, power=4300.72, imported=7211203.12, exported=0))
2024-01-05 04:34: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', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.03, 6.08, 6.0], daily_imported=4113.28, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211203.12, phases_in_use=3, plug_state=True, power=4300.72, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.38, 239.44, 240.6]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4447.7599999997765, imported_since_plugged=4447.7599999997765, range_charged=22.238799999998882, time_charged='4:22', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7f7658>), 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))
2024-01-05 04:34:41,865 - {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=[])
2024-01-05 04:34:41,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'])
2024-01-05 04:34:41,867 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1636.0, 1440.0, 1575.0], currents=[6.9, 6.1, 6.8], voltages=[240.33, 241.0, 239.07], power_factors=[0.97, 0.97, 0.97], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=9812.0, imported=7338097.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4652.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42648.72, raw_currents_left=[62.1, 62.93, 62.28], surplus_power_left=0, state_str=''))
2024-01-05 04:34:41,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=303.4200000000001, invalid_home_consumption=0, daily_yield_home_consumption=5514.6025116137, imported_home_consumption=3360642.276014042, disengageable_smarthome_power=0))
2024-01-05 04:34:41,870 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:34:41,872 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:34:41,875 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:34:41,878 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:34:41,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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:34:41,881 - {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=20000, 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=68, soc_timestamp=1704425629.001424, force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:34:41,884 - {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)
2024-01-05 04:34:41,885 - {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)
2024-01-05 04:34:41,888 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:34:41,891 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:34:41,899 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:34:41,902 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:34:41,904 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7f0178>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:34:41,909 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:34:41,911 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=47.86))
2024-01-05 04:34:41,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=8202091.902000001, power=47.86))
2024-01-05 04:34:41,917 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425671, 'time': '04:34:31', 'grid': 4.647, 'house-power': 0.292, 'charging-all': 4.309, 'pv-all': -0.046, 'cp1-power': 4.309, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:34:41,918 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:34:41,919 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:34:41,920 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:34:41,921 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:34:41,922 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:34:41,923 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:34:41,924 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:34:41,925 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:34:41,926 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:34:41,928 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:34:41,930 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [56.1, 56.93, 56.28]A verbleibende Ströme, 38508.72W verbleibende Leistung
2024-01-05 04:34:41,931 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:34:41,935 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:34:41,938 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:34:41,940 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:34:41,941 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:34:41,944 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:34:41,944 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4591.279999999999W
2024-01-05 04:34:41,945 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4591.279999999999W
2024-01-05 04:34:41,946 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:34:41,946 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:34:41,948 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4459.959999999963 counter 7211203.12
2024-01-05 04:34:41,956 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:34:41,991 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:34:42,023 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:34:42,295 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:34:42,296 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:34:45,312 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:34:45,313 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:34:50,327 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:34:50,328 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:34:50,409 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:34:50,418 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:34:50,420 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:34:50,426 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:34:50,434 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:34:50,461 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4654, -1631, -1443, -1579], Scale 0
2024-01-05 04:34:50,501 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:34:50,505 - {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":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425689},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:34","unixtime":1704425690,"uptime":3785053,"ram_size":249000,"ram_free":145092,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:34:50,508 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425681.00051, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:34:50,521 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00264106, power1: 0, power2: 0
2024-01-05 04:34:50,511 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [69, 61, 67], Scale -1
2024-01-05 04:34:50,522 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:34:50,531 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425690.508313, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:34:50,540 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:34:50,552 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24026, 24100, 23896, 0, 0, 0, 0], Scale -2
2024-01-05 04:34:50,630 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:34:50,662 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9769, 9739, 9729], Scale -2
2024-01-05 04:34:50,706 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7338107, 3035299, 2160699, 2694052], Scale 0
2024-01-05 04:34:50,708 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[6.9, 6.1000000000000005, 6.7], powers=[1631.0, 1443.0, 1579.0], voltages=[240.26, 241.0, 238.96], power_factors=[0.9769, 0.9739, 0.9729000000000001], imported=7338107.0, exported=4871307.0, power=4654.0, frequency=50.0)
2024-01-05 04:34:50,711 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:34:50,730 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4499], Scale -2
2024-01-05 04:34:50,752 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:34:50,772 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 33, 33], Scale -2
2024-01-05 04:34:50,804 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4568], Scale -2
2024-01-05 04:34:50,804 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.33, 0.33], power=44.99, exported=7869605.0, dc_power=45.68)
2024-01-05 04:34:50,807 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:34:50,898 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425681.4198365, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:34:50,899 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00263299, power1: 0, power2: 0
2024-01-05 04:34:50,899 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:34:50,900 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425690.8985975, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:34:50,901 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:34:50,910 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:34:50,911 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:34:50,956 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:34:50,957 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:34:50,959 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=44.99, exported=7904493.99, dc_power=None)
2024-01-05 04:34:50,965 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=44.99, exported=7904493.99, dc_power=None)
2024-01-05 04:34:50,967 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:34:50,970 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:34:50,972 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:34:51,025 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:34:51,025 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[6.9, 6.1000000000000005, 6.7], powers=[1631.0, 1443.0, 1579.0], voltages=[240.26, 241.0, 238.96], power_factors=[0.9769, 0.9739, 0.9729000000000001], imported=7338107.0, exported=4871307.0, power=4654.0, frequency=50.0)
2024-01-05 04:34:51,180 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:34:51,181 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:34:51,184 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.12, 62.94, 62.38]A
2024-01-05 04:34:51,185 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42654.57W
2024-01-05 04:34:51,187 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:34:51,188 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:34:51,189 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:34:51,190 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:34:51.190123
2024-01-05 04:34:51,192 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1538.146645s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:34:51,195 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:34:51.195116
2024-01-05 04:34:51,196 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 88896.630971s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:34:51,197 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:34:51,200 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:34:51,203 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:34:51,211 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425681.8261943, power=303.4200000000001, imported=3360642.276014042, exported=0)
2024-01-05 04:34:51,214 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00260697, power1: 303.42, power2: 300.44
2024-01-05 04:34:51,217 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.787121
2024-01-05 04:34:51,219 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.787121 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425691.2112708, power=300.4400000000005, imported=3360643.063135196, exported=0)
2024-01-05 04:34:51,222 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:34:51,232 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:34:51,233 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4113.28, daily_exported=0, power=4308.57, imported=7211214.84, exported=0))
2024-01-05 04:34:51,235 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.04, 6.08, 6.02], daily_imported=4113.28, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211214.84, phases_in_use=3, plug_state=True, power=4308.57, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.28, 239.3, 240.51]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4459.959999999963, imported_since_plugged=4459.959999999963, range_charged=22.299799999999813, time_charged='4:23', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d2b80>), 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))
2024-01-05 04:34:51,237 - {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=[])
2024-01-05 04:34:51,239 - {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'])
2024-01-05 04:34:51,243 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1631.0, 1443.0, 1579.0], currents=[6.9, 6.1, 6.7], voltages=[240.26, 241.0, 238.96], power_factors=[0.98, 0.97, 0.97], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=9812.0, imported=7338107.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4654.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42654.57, raw_currents_left=[62.12, 62.94, 62.38], surplus_power_left=0, state_str=''))
2024-01-05 04:34:51,246 - {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.4400000000005, invalid_home_consumption=0, daily_yield_home_consumption=5514.6025116137, imported_home_consumption=3360643.063135196, disengageable_smarthome_power=0))
2024-01-05 04:34:51,248 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:34:51,249 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:34:51,251 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:34:51,252 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:34:51,254 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:34:51,255 - {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=20000, 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=68, soc_timestamp=1704425684.726902, force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:34:51,256 - {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)
2024-01-05 04:34:51,257 - {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)
2024-01-05 04:34:51,260 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:34:51,264 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:34:51,265 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:34:51,266 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:34:51,267 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7fab50>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:34:51,268 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:34:51,271 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=44.99))
2024-01-05 04:34:51,272 - {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=8202091.902000001, power=44.99))
2024-01-05 04:34:51,273 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425682, 'time': '04:34:42', 'grid': 4.652, 'house-power': 0.303, 'charging-all': 4.301, 'pv-all': -0.048, 'cp1-power': 4.301, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:34:51,274 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:34:51,277 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:34:51,278 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:34:51,279 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:34:51,281 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:34:51,281 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:34:51,282 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:34:51,283 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:34:51,284 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:34:51,286 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:34:51,287 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [56.12, 56.94, 56.38]A verbleibende Ströme, 38514.57W verbleibende Leistung
2024-01-05 04:34:51,288 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:34:51,291 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:34:51,293 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:34:51,294 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:34:51,296 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:34:51,298 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:34:51,299 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4585.43W
2024-01-05 04:34:51,304 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4585.43W
2024-01-05 04:34:51,305 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:34:51,307 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:34:51,308 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4471.679999999702 counter 7211214.84
2024-01-05 04:34:51,312 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:34:51,316 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:34:51,356 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:34:51,641 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:34:55,661 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:34:55,662 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:35:00,675 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:35:00,676 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:35:00,729 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:35:00,734 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:35:00,737 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:35:00,753 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:35:00,752 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:35:00,798 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4657, -1634, -1444, -1578], Scale 0
2024-01-05 04:35:00,819 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:35:00,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":241.4, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425699},"temperature":{"tC":29.1, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:35","unixtime":1704425701,"uptime":3785063,"ram_size":248944,"ram_free":142816,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:35:00,822 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425690.508313, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:35:00,823 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00286516, power1: 0, power2: 0
2024-01-05 04:35:00,824 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:35:00,824 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425700.8228943, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:35:00,827 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:35:00,919 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [69, 61, 68], Scale -1
2024-01-05 04:35:00,940 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24027, 24113, 23908, 0, 0, 0, 0], Scale -2
2024-01-05 04:35:00,957 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:35:00,978 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9750, 9729, 9720], Scale -2
2024-01-05 04:35:01,011 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7338117, 3035303, 2160702, 2694056], Scale 0
2024-01-05 04:35:01,011 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[6.9, 6.1000000000000005, 6.800000000000001], powers=[1634.0, 1444.0, 1578.0], voltages=[240.27, 241.13, 239.08], power_factors=[0.975, 0.9729000000000001, 0.972], imported=7338117.0, exported=4871307.0, power=4657.0, frequency=49.99)
2024-01-05 04:35:01,013 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:35:01,056 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4849], Scale -2
2024-01-05 04:35:01,090 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:35:01,149 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 32, 34], Scale -2
2024-01-05 04:35:01,168 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5534], Scale -2
2024-01-05 04:35:01,169 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.32, 0.34], power=48.49, exported=7869605.0, dc_power=55.34)
2024-01-05 04:35:01,171 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:35:01,298 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425690.8985975, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:35:01,299 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00288896, power1: 0, power2: 0
2024-01-05 04:35:01,300 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:35:01,300 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425701.298844, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:35:01,301 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:35:01,309 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:35:01,317 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:35:01,363 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:35:01,369 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:35:01,374 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:35:01,378 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=48.49, exported=7904493.99, dc_power=None)
2024-01-05 04:35:01,379 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:35:01,379 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=48.49, exported=7904493.99, dc_power=None)
2024-01-05 04:35:01,380 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:35:01,446 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:35:01,447 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[6.9, 6.1000000000000005, 6.800000000000001], powers=[1634.0, 1444.0, 1578.0], voltages=[240.27, 241.13, 239.08], power_factors=[0.975, 0.9729000000000001, 0.972], imported=7338117.0, exported=4871307.0, power=4657.0, frequency=49.99)
2024-01-05 04:35:01,637 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:35:01,639 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:35:01,641 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.11, 62.94, 62.28]A
2024-01-05 04:35:01,643 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42644.56W
2024-01-05 04:35:01,646 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:35:01,649 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:35:01,651 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:35:01,652 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:35:01.652431
2024-01-05 04:35:01,657 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1548.608953s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:35:01,661 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:35:01.660876
2024-01-05 04:35:01,662 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 88886.165211s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:35:01,666 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:35:01,675 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:35:01,687 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:35:01,692 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425691.2112708, power=300.4400000000005, imported=3360643.063135196, exported=0)
2024-01-05 04:35:01,693 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00291132, power1: 300.44, power2: 306.95
2024-01-05 04:35:01,706 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.884153
2024-01-05 04:35:01,709 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.884153 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425701.6920192, power=306.9499999999998, imported=3360643.9472882207, exported=0)
2024-01-05 04:35:01,715 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:35:01,716 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:35:01,718 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4113.28, daily_exported=0, power=4301.56, imported=7211227.05, exported=0))
2024-01-05 04:35:01,732 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.04, 6.08, 6.01], daily_imported=4113.28, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211227.05, phases_in_use=3, plug_state=True, power=4301.56, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.35, 239.34, 240.58]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4471.679999999702, imported_since_plugged=4471.679999999702, range_charged=22.35839999999851, time_charged='4:23', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7f9aa8>), 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))
2024-01-05 04:35:01,733 - {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=[])
2024-01-05 04:35:01,735 - {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'])
2024-01-05 04:35:01,736 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1634.0, 1444.0, 1578.0], currents=[6.9, 6.1, 6.8], voltages=[240.27, 241.13, 239.08], power_factors=[0.97, 0.97, 0.97], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=9812.0, imported=7338117.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4657.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42644.56, raw_currents_left=[62.11, 62.94, 62.28], surplus_power_left=0, state_str=''))
2024-01-05 04:35:01,738 - {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.9499999999998, invalid_home_consumption=0, daily_yield_home_consumption=5514.6025116137, imported_home_consumption=3360643.9472882207, disengageable_smarthome_power=0))
2024-01-05 04:35:01,739 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:35:01,742 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:35:01,744 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:35:01,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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:35:01,750 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:35:01,752 - {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=20000, 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=68, soc_timestamp=1704425684.726902, force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:35:01,753 - {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)
2024-01-05 04:35:01,754 - {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)
2024-01-05 04:35:01,756 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:35:01,757 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:35:01,757 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:35:01,758 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:35:01,760 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x70be4580>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:35:01,761 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:35:01,770 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=48.49))
2024-01-05 04:35:01,775 - {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=8202091.902000001, power=48.49))
2024-01-05 04:35:01,779 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425691, 'time': '04:34:51', 'grid': 4.654, 'house-power': 0.3, 'charging-all': 4.309, 'pv-all': -0.045, 'cp1-power': 4.309, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:35:01,780 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:35:01,784 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:35:01,789 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:35:01,789 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:35:01,792 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:35:01,794 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:35:01,796 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:35:01,797 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:35:01,799 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:35:01,803 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:35:01,805 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [56.11, 56.94, 56.28]A verbleibende Ströme, 38504.56W verbleibende Leistung
2024-01-05 04:35:01,811 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:35:01,826 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:35:01,828 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:35:01,832 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:35:01,834 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:35:01,836 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:35:01,837 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4595.440000000002W
2024-01-05 04:35:01,837 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4595.440000000002W
2024-01-05 04:35:01,838 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:35:01,838 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:35:01,840 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4483.889999999665 counter 7211227.05
2024-01-05 04:35:01,845 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:35:01,883 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:35:01,906 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:35:02,196 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:35:02,199 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:35:02,200 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2024-01-05 04:35:02,215 - {root:107} - {DEBUG:MainThread} - 5 Minuten Handler ausführen.
2024-01-05 04:35:02,318 - {helpermodules.system:74} - {INFO:MainThread} - my IP: 192.168.1.31
2024-01-05 04:35:02,319 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2024-01-05 04:35:05,686 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:35:05,687 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:35:10,706 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:35:10,708 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:35:10,765 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:35:10,769 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:35:10,771 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:35:10,786 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:35:10,791 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:35:10,835 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4648, -1631, -1439, -1577], Scale 0
2024-01-05 04:35:10,849 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [70, 61, 68], Scale -1
2024-01-05 04:35:10,858 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:35:10,860 - {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":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425709},"temperature":{"tC":29.0, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:35","unixtime":1704425711,"uptime":3785073,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-70},"ws":{"connected":false}}

2024-01-05 04:35:10,864 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425700.8228943, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:35:10,866 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00278933, power1: 0, power2: 0
2024-01-05 04:35:10,870 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24014, 24088, 23889, 0, 0, 0, 0], Scale -2
2024-01-05 04:35:10,873 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:35:10,882 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425710.864473, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:35:10,885 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:35:10,941 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:35:10,984 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9710, 9739, 9710], Scale -2
2024-01-05 04:35:11,012 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7338127, 3035307, 2160705, 2694059], Scale 0
2024-01-05 04:35:11,013 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1631.0, 1439.0, 1577.0], voltages=[240.14000000000001, 240.88, 238.89000000000001], power_factors=[0.9710000000000001, 0.9739, 0.9710000000000001], imported=7338127.0, exported=4871307.0, power=4648.0, frequency=50.0)
2024-01-05 04:35:11,015 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:35:11,040 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4814], Scale -2
2024-01-05 04:35:11,060 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:35:11,083 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 32], Scale -2
2024-01-05 04:35:11,108 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4888], Scale -2
2024-01-05 04:35:11,109 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.32], power=48.14, exported=7869605.0, dc_power=48.88)
2024-01-05 04:35:11,110 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:35:11,188 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425701.298844, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:35:11,189 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00274719, power1: 0, power2: 0
2024-01-05 04:35:11,189 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:35:11,190 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425711.1887283, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:35:11,191 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:35:11,195 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:35:11,196 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:35:11,238 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:35:11,238 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:35:11,240 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:35:11,240 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=48.14, exported=7904493.99, dc_power=None)
2024-01-05 04:35:11,244 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:35:11,247 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=48.14, exported=7904493.99, dc_power=None)
2024-01-05 04:35:11,248 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:35:11,301 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:35:11,301 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1631.0, 1439.0, 1577.0], voltages=[240.14000000000001, 240.88, 238.89000000000001], power_factors=[0.9710000000000001, 0.9739, 0.9710000000000001], imported=7338127.0, exported=4871307.0, power=4648.0, frequency=50.0)
2024-01-05 04:35:11,458 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:35:11,460 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:35:11,463 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.01, 62.94, 62.29]A
2024-01-05 04:35:11,465 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42659.38W
2024-01-05 04:35:11,466 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:35:11,467 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:35:11,469 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:35:11,470 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:35:11.469670
2024-01-05 04:35:11,471 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1558.426192s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:35:11,474 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:35:11.473793
2024-01-05 04:35:11,475 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 88876.352294s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:35:11,476 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:35:11,480 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:35:11,483 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.09
2024-01-05 04:35:11,488 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425701.6920192, power=306.9499999999998, imported=3360643.9472882207, exported=0)
2024-01-05 04:35:11,489 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0027211, power1: 306.95, power2: 292.48
2024-01-05 04:35:11,490 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.815553
2024-01-05 04:35:11,493 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.815553 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425711.4879618, power=292.47999999999956, imported=3360644.762841254, exported=0)
2024-01-05 04:35:11,496 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:35:11,498 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:35:11,499 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4471.19, daily_exported=0, power=4307.38, imported=7211238.77, exported=0))
2024-01-05 04:35:11,513 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.04, 6.09, 6.01], daily_imported=4471.19, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211238.77, phases_in_use=3, plug_state=True, power=4307.38, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.3, 239.35, 240.58]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4483.889999999665, imported_since_plugged=4483.889999999665, range_charged=22.419449999998324, time_charged='4:23', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b77700>), 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))
2024-01-05 04:35:11,516 - {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=[])
2024-01-05 04:35:11,518 - {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'])
2024-01-05 04:35:11,520 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1631.0, 1439.0, 1577.0], currents=[7.0, 6.1, 6.8], voltages=[240.14, 240.88, 238.89], power_factors=[0.97, 0.97, 0.97], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=10256.0, imported=7338127.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4648.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42659.38, raw_currents_left=[62.01, 62.94, 62.29], surplus_power_left=0, state_str=''))
2024-01-05 04:35:11,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=292.47999999999956, invalid_home_consumption=0, daily_yield_home_consumption=5590.981856924, imported_home_consumption=3360644.762841254, disengageable_smarthome_power=0))
2024-01-05 04:35:11,533 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:35:11,534 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:35:11,535 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:35:11,537 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:35:11,539 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:35:11,544 - {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=20000, 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=68, soc_timestamp=1704425684.726902, force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:35:11,545 - {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)
2024-01-05 04:35:11,547 - {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)
2024-01-05 04:35:11,548 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:35:11,550 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:35:11,552 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:35:11,553 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:35:11,555 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7d24a8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:35:11,557 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:35:11,558 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=48.14))
2024-01-05 04:35:11,561 - {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=8202091.902000001, power=48.14))
2024-01-05 04:35:11,572 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425701, 'time': '04:35:01', 'grid': 4.657, 'house-power': 0.307, 'charging-all': 4.302, 'pv-all': -0.048, 'cp1-power': 4.302, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:35:11,574 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:35:11,580 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:35:11,587 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:35:11,588 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:35:11,589 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:35:11,593 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:35:11,595 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:35:11,597 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:35:11,598 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:35:11,600 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:35:11,601 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [56.01, 56.94, 56.29]A verbleibende Ströme, 38519.38W verbleibende Leistung
2024-01-05 04:35:11,602 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:35:11,605 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:35:11,607 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:35:11,609 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:35:11,611 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:35:11,612 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:35:11,614 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4580.620000000003W
2024-01-05 04:35:11,615 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4580.620000000003W
2024-01-05 04:35:11,616 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:35:11,617 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:35:11,618 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4495.609999999404 counter 7211238.77
2024-01-05 04:35:11,620 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:35:11,623 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:35:11,672 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:35:11,904 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:35:15,949 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:35:15,950 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:35:20,962 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:35:20,963 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:35:21,012 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:35:21,014 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:35:21,015 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:35:21,024 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:35:21,025 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:35:21,080 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:35:21,082 - {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":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425719},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:35","unixtime":1704425721,"uptime":3785083,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:35:21,088 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425710.864473, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:35:21,089 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00283991, power1: 0, power2: 0
2024-01-05 04:35:21,089 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:35:21,092 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425721.0881336, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:35:21,093 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:35:21,156 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4658, -1632, -1443, -1582], Scale 0
2024-01-05 04:35:21,179 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [69, 61, 68], Scale -1
2024-01-05 04:35:21,200 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24030, 24106, 23909, 0, 0, 0, 0], Scale -2
2024-01-05 04:35:21,230 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:35:21,250 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9750, 9720, 9710], Scale -2
2024-01-05 04:35:21,279 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7338148, 3035314, 2160712, 2694067], Scale 0
2024-01-05 04:35:21,280 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[6.9, 6.1000000000000005, 6.800000000000001], powers=[1632.0, 1443.0, 1582.0], voltages=[240.3, 241.06, 239.09], power_factors=[0.975, 0.972, 0.9710000000000001], imported=7338148.0, exported=4871307.0, power=4658.0, frequency=50.0)
2024-01-05 04:35:21,285 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:35:21,351 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4886], Scale -2
2024-01-05 04:35:21,379 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:35:21,398 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 30, 32], Scale -2
2024-01-05 04:35:21,529 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4439], Scale -2
2024-01-05 04:35:21,529 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.3, 0.32], power=48.86, exported=7869605.0, dc_power=44.39)
2024-01-05 04:35:21,532 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:35:21,609 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425711.1887283, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:35:21,609 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00289453, power1: 0, power2: 0
2024-01-05 04:35:21,610 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:35:21,610 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425721.6090426, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:35:21,612 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:35:21,625 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:35:21,627 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:35:21,672 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:35:21,673 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:35:21,674 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:35:21,677 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=48.86, exported=7904493.99, dc_power=None)
2024-01-05 04:35:21,681 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:35:21,688 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=48.86, exported=7904493.99, dc_power=None)
2024-01-05 04:35:21,689 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:35:21,754 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:35:21,754 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[6.9, 6.1000000000000005, 6.800000000000001], powers=[1632.0, 1443.0, 1582.0], voltages=[240.3, 241.06, 239.09], power_factors=[0.975, 0.972, 0.9710000000000001], imported=7338148.0, exported=4871307.0, power=4658.0, frequency=50.0)
2024-01-05 04:35:21,956 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:35:21,962 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:35:21,974 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.11, 62.95, 62.29]A
2024-01-05 04:35:21,977 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42654.39W
2024-01-05 04:35:21,977 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:35:21,983 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:35:21,990 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:35:21,993 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:35:21.993227
2024-01-05 04:35:21,994 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1568.949749s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:35:21,996 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:35:21.996044
2024-01-05 04:35:21,997 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 88865.830043s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:35:21,999 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:35:22,009 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:35:22,010 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.09
2024-01-05 04:35:22,046 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425711.4879618, power=292.47999999999956, imported=3360644.762841254, exported=0)
2024-01-05 04:35:22,048 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00293302, power1: 292.48, power2: 296.75
2024-01-05 04:35:22,050 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.864113
2024-01-05 04:35:22,052 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.864113 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425722.0468514, power=296.75, imported=3360645.6269543837, exported=0)
2024-01-05 04:35:22,070 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:35:22,072 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:35:22,075 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4471.19, daily_exported=0, power=4312.39, imported=7211250.98, exported=0))
2024-01-05 04:35:22,076 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.05, 6.09, 6.01], daily_imported=4471.19, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211250.98, phases_in_use=3, plug_state=True, power=4312.39, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.43, 239.45, 240.67]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4495.609999999404, imported_since_plugged=4495.609999999404, range_charged=22.47804999999702, time_charged='4:23', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b1b718>), 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))
2024-01-05 04:35:22,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=[])
2024-01-05 04:35:22,079 - {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'])
2024-01-05 04:35:22,081 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1632.0, 1443.0, 1582.0], currents=[6.9, 6.1, 6.8], voltages=[240.3, 241.06, 239.09], power_factors=[0.97, 0.97, 0.97], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=10256.0, imported=7338148.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4658.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42654.39, raw_currents_left=[62.11, 62.95, 62.29], surplus_power_left=0, state_str=''))
2024-01-05 04:35:22,084 - {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.75, invalid_home_consumption=0, daily_yield_home_consumption=5590.981856924, imported_home_consumption=3360645.6269543837, disengageable_smarthome_power=0))
2024-01-05 04:35:22,085 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:35:22,088 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:35:22,090 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:35:22,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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:35:22,095 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:35:22,097 - {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=20000, 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=68, soc_timestamp=1704425684.726902, force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:35:22,099 - {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)
2024-01-05 04:35:22,100 - {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)
2024-01-05 04:35:22,101 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:35:22,103 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:35:22,103 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:35:22,105 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:35:22,107 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7f7190>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:35:22,108 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:35:22,109 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=48.86))
2024-01-05 04:35:22,111 - {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=8202091.902000001, power=48.86))
2024-01-05 04:35:22,112 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425711, 'time': '04:35:11', 'grid': 4.648, 'house-power': 0.292, 'charging-all': 4.307, 'pv-all': -0.048, 'cp1-power': 4.307, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:35:22,115 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:35:22,117 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:35:22,119 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:35:22,122 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:35:22,124 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:35:22,126 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:35:22,127 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:35:22,129 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:35:22,132 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:35:22,135 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:35:22,138 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [56.11, 56.95, 56.29]A verbleibende Ströme, 38514.39W verbleibende Leistung
2024-01-05 04:35:22,139 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:35:22,143 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:35:22,145 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:35:22,146 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:35:22,148 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:35:22,150 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:35:22,152 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4585.610000000001W
2024-01-05 04:35:22,153 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4585.610000000001W
2024-01-05 04:35:22,154 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:35:22,155 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:35:22,158 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4507.820000000298 counter 7211250.98
2024-01-05 04:35:22,163 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:35:22,171 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:35:22,215 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:35:22,471 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:35:22,475 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:35:25,483 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:35:25,484 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:35:30,497 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:35:30,498 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:35:30,569 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:35:30,571 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:35:30,579 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:35:30,584 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:35:30,588 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:35:30,630 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:35:30,632 - {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":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425729},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:35","unixtime":1704425731,"uptime":3785093,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:35:30,634 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425721.0881336, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:35:30,635 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00265172, power1: 0, power2: 0
2024-01-05 04:35:30,636 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:35:30,636 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425730.6343102, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:35:30,639 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:35:30,662 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4657, -1631, -1441, -1584], Scale 0
2024-01-05 04:35:30,712 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [69, 61, 68], Scale -1
2024-01-05 04:35:30,739 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24024, 24100, 23904, 0, 0, 0, 0], Scale -2
2024-01-05 04:35:30,759 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:35:30,839 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9769, 9729, 9710], Scale -2
2024-01-05 04:35:30,887 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7338159, 3035317, 2160715, 2694070], Scale 0
2024-01-05 04:35:30,888 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[6.9, 6.1000000000000005, 6.800000000000001], powers=[1631.0, 1441.0, 1584.0], voltages=[240.24, 241.0, 239.04], power_factors=[0.9769, 0.9729000000000001, 0.9710000000000001], imported=7338159.0, exported=4871307.0, power=4657.0, frequency=49.99)
2024-01-05 04:35:30,891 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:35:30,907 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4753], Scale -2
2024-01-05 04:35:30,930 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:35:30,949 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 32], Scale -2
2024-01-05 04:35:30,983 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4826], Scale -2
2024-01-05 04:35:30,984 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.32], power=47.53, exported=7869605.0, dc_power=48.26)
2024-01-05 04:35:30,990 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:35:31,083 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425721.6090426, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:35:31,083 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.0026317, power1: 0, power2: 0
2024-01-05 04:35:31,084 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:35:31,084 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425731.08317, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:35:31,086 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:35:31,095 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:35:31,099 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:35:31,151 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:35:31,152 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:35:31,153 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:35:31,157 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.53, exported=7904493.99, dc_power=None)
2024-01-05 04:35:31,158 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:35:31,162 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.53, exported=7904493.99, dc_power=None)
2024-01-05 04:35:31,165 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:35:31,213 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:35:31,214 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[6.9, 6.1000000000000005, 6.800000000000001], powers=[1631.0, 1441.0, 1584.0], voltages=[240.24, 241.0, 239.04], power_factors=[0.9769, 0.9729000000000001, 0.9710000000000001], imported=7338159.0, exported=4871307.0, power=4657.0, frequency=49.99)
2024-01-05 04:35:31,384 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:35:31,386 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:35:31,389 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.1, 62.93, 62.28]A
2024-01-05 04:35:31,390 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42643.93W
2024-01-05 04:35:31,392 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:35:31,396 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:35:31,397 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:35:31,401 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:35:31.401307
2024-01-05 04:35:31,407 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1578.357829s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:35:31,411 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:35:31.411218
2024-01-05 04:35:31,415 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 88856.414869s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:35:31,421 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:35:31,430 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:35:31,433 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:35:31,441 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425722.0468514, power=296.75, imported=3360645.6269543837, exported=0)
2024-01-05 04:35:31,443 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00260964, power1: 296.75, power2: 308.54
2024-01-05 04:35:31,445 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.789794
2024-01-05 04:35:31,449 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.789794 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425731.4415479, power=308.53999999999996, imported=3360646.416748249, exported=0)
2024-01-05 04:35:31,452 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:35:31,453 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:35:31,456 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4471.19, daily_exported=0, power=4300.93, imported=7211263.18, exported=0))
2024-01-05 04:35:31,463 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.03, 6.08, 6.0], daily_imported=4471.19, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211263.18, phases_in_use=3, plug_state=True, power=4300.93, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.36, 239.46, 240.6]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4507.820000000298, imported_since_plugged=4507.820000000298, range_charged=22.53910000000149, time_charged='4:23', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7ead60>), 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))
2024-01-05 04:35:31,466 - {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=[])
2024-01-05 04:35:31,467 - {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'])
2024-01-05 04:35:31,472 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1631.0, 1441.0, 1584.0], currents=[6.9, 6.1, 6.8], voltages=[240.24, 241.0, 239.04], power_factors=[0.98, 0.97, 0.97], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=10256.0, imported=7338159.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4657.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42643.93, raw_currents_left=[62.1, 62.93, 62.28], surplus_power_left=0, state_str=''))
2024-01-05 04:35:31,478 - {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.53999999999996, invalid_home_consumption=0, daily_yield_home_consumption=5590.981856924, imported_home_consumption=3360646.416748249, disengageable_smarthome_power=0))
2024-01-05 04:35:31,482 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:35:31,482 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:35:31,483 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:35:31,484 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:35: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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:35:31,485 - {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=20000, 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=68, soc_timestamp=1704425684.726902, force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:35:31,485 - {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)
2024-01-05 04:35:31,486 - {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)
2024-01-05 04:35:31,487 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:35:31,488 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:35:31,488 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:35:31,490 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:35:31,491 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7f01d8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:35:31,492 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:35:31,493 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=47.53))
2024-01-05 04:35:31,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=8202091.902000001, power=47.53))
2024-01-05 04:35:31,495 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425722, 'time': '04:35:22', 'grid': 4.658, 'house-power': 0.297, 'charging-all': 4.312, 'pv-all': -0.049, 'cp1-power': 4.312, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:35:31,497 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:35:31,499 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:35:31,499 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:35:31,500 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:35:31,501 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:35:31,502 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:35:31,503 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:35:31,504 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:35:31,505 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:35:31,507 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:35:31,510 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [56.1, 56.93, 56.28]A verbleibende Ströme, 38503.93W verbleibende Leistung
2024-01-05 04:35:31,511 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:35:31,515 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:35:31,527 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:35:31,528 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:35:31,530 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:35:31,532 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:35:31,533 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4596.07W
2024-01-05 04:35:31,534 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4596.07W
2024-01-05 04:35:31,535 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:35:31,536 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:35:31,538 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4520.019999999553 counter 7211263.18
2024-01-05 04:35:31,542 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:35:31,545 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:35:31,571 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:35:31,811 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:35:35,849 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:35:35,850 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:35:40,865 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:35:40,871 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:35:40,942 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:35:40,953 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:35:40,957 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:35:40,966 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:35:40,967 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:35:41,014 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:35:41,016 - {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":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425739},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:35","unixtime":1704425741,"uptime":3785103,"ram_size":249000,"ram_free":145092,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:35:41,018 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425730.6343102, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:35:41,019 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00288458, power1: 0, power2: 0
2024-01-05 04:35:41,020 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:35:41,021 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425741.0187955, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:35:41,027 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:35:41,029 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4657, -1633, -1442, -1580], Scale 0
2024-01-05 04:35:41,051 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [69, 61, 68], Scale -1
2024-01-05 04:35:41,165 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24019, 24098, 23902, 0, 0, 0, 0], Scale -2
2024-01-05 04:35:41,190 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:35:41,210 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9720, 9739, 9679], Scale -2
2024-01-05 04:35:41,250 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7338169, 3035321, 2160718, 2694074], Scale 0
2024-01-05 04:35:41,250 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[6.9, 6.1000000000000005, 6.800000000000001], powers=[1633.0, 1442.0, 1580.0], voltages=[240.19, 240.98000000000002, 239.02], power_factors=[0.972, 0.9739, 0.9679000000000001], imported=7338169.0, exported=4871307.0, power=4657.0, frequency=49.97)
2024-01-05 04:35:41,252 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:35:41,318 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4753], Scale -2
2024-01-05 04:35:41,373 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:35:41,407 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 33], Scale -2
2024-01-05 04:35:41,427 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4892], Scale -2
2024-01-05 04:35:41,428 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.33], power=47.53, exported=7869605.0, dc_power=48.92)
2024-01-05 04:35:41,430 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:35:41,530 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425731.08317, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:35:41,531 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00290207, power1: 0, power2: 0
2024-01-05 04:35:41,532 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:35:41,532 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425741.530618, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:35:41,534 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:35:41,548 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:35:41,549 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:35:41,598 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:35:41,600 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:35:41,603 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.53, exported=7904493.99, dc_power=None)
2024-01-05 04:35:41,605 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.53, exported=7904493.99, dc_power=None)
2024-01-05 04:35:41,606 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:35:41,616 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:35:41,620 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:35:41,681 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:35:41,683 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[6.9, 6.1000000000000005, 6.800000000000001], powers=[1633.0, 1442.0, 1580.0], voltages=[240.19, 240.98000000000002, 239.02], power_factors=[0.972, 0.9739, 0.9679000000000001], imported=7338169.0, exported=4871307.0, power=4657.0, frequency=49.97)
2024-01-05 04:35:41,868 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:35:41,871 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:35:41,873 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.12, 62.95, 62.29]A
2024-01-05 04:35:41,874 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42654.82W
2024-01-05 04:35:41,878 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:35:41,881 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:35:41,882 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:35:41,884 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:35:41.883997
2024-01-05 04:35:41,886 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1588.840519s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:35:41,887 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:35:41.887442
2024-01-05 04:35:41,892 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 88845.938645s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:35:41,894 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:35:41,897 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:35:41,898 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.09
2024-01-05 04:35:41,904 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425731.4415479, power=308.53999999999996, imported=3360646.416748249, exported=0)
2024-01-05 04:35:41,906 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00290627, power1: 308.54, power2: 297.65
2024-01-05 04:35:41,911 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.880876
2024-01-05 04:35:41,914 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.880876 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425741.9041247, power=297.65000000000055, imported=3360647.2976245643, exported=0)
2024-01-05 04:35:41,918 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:35:41,919 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:35:41,923 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4471.19, daily_exported=0, power=4311.82, imported=7211274.9, exported=0))
2024-01-05 04:35:41,934 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.05, 6.09, 6.02], daily_imported=4471.19, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211274.9, phases_in_use=3, plug_state=True, power=4311.82, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.32, 239.39, 240.53]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4520.019999999553, imported_since_plugged=4520.019999999553, range_charged=22.600099999997763, time_charged='4:23', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d3e08>), 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))
2024-01-05 04:35:41,935 - {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=[])
2024-01-05 04:35:41,937 - {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'])
2024-01-05 04:35:41,939 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1633.0, 1442.0, 1580.0], currents=[6.9, 6.1, 6.8], voltages=[240.19, 240.98, 239.02], power_factors=[0.97, 0.97, 0.97], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=10256.0, imported=7338169.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4657.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42654.82, raw_currents_left=[62.12, 62.95, 62.29], surplus_power_left=0, state_str=''))
2024-01-05 04:35:41,941 - {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.65000000000055, invalid_home_consumption=0, daily_yield_home_consumption=5590.981856924, imported_home_consumption=3360647.2976245643, disengageable_smarthome_power=0))
2024-01-05 04:35:41,942 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:35:41,943 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:35:41,944 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:35:41,947 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:35:41,948 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:35:41,949 - {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=20000, 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=68, soc_timestamp=1704425684.726902, force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:35:41,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)
2024-01-05 04:35:41,951 - {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)
2024-01-05 04:35:41,952 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:35:41,953 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:35:41,954 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:35:41,955 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:35:41,956 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x70b1be20>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:35:41,958 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:35:41,959 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=47.53))
2024-01-05 04:35:41,959 - {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=8202091.902000001, power=47.53))
2024-01-05 04:35:41,960 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425731, 'time': '04:35:31', 'grid': 4.657, 'house-power': 0.309, 'charging-all': 4.301, 'pv-all': -0.048, 'cp1-power': 4.301, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:35:41,961 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:35:41,961 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:35:41,968 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:35:41,973 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:35:41,975 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:35:41,977 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:35:41,980 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:35:41,981 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:35:41,983 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:35:41,984 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:35:41,987 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [56.12, 56.95, 56.29]A verbleibende Ströme, 38514.82W verbleibende Leistung
2024-01-05 04:35:41,988 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:35:41,991 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:35:41,992 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:35:41,993 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:35:41,997 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:35:42,000 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:35:42,004 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4585.18W
2024-01-05 04:35:42,006 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4585.18W
2024-01-05 04:35:42,007 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:35:42,009 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:35:42,011 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4531.7400000002235 counter 7211274.9
2024-01-05 04:35:42,015 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:35:42,019 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:35:42,041 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:35:42,329 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:35:42,331 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:35:45,339 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:35:45,339 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:35:50,352 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:35:50,354 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:35:50,465 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:35:50,466 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:35:50,472 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:35:50,475 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:35:50,481 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:35:50,518 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:35:50,520 - {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":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425749},"temperature":{"tC":29.0, "tF":84.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:35","unixtime":1704425751,"uptime":3785113,"ram_size":249000,"ram_free":145092,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:35:50,526 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425741.0187955, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:35:50,528 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00264089, power1: 0, power2: 0
2024-01-05 04:35:50,528 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:35:50,528 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425750.5259988, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:35:50,529 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:35:50,559 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4649, -1630, -1438, -1580], Scale 0
2024-01-05 04:35:50,587 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [69, 61, 68], Scale -1
2024-01-05 04:35:50,608 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24010, 24084, 23891, 0, 0, 0, 0], Scale -2
2024-01-05 04:35:50,628 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4997], Scale -2
2024-01-05 04:35:50,709 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9739, 9729, 9679], Scale -2
2024-01-05 04:35:50,731 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7338179, 3035325, 2160722, 2694077], Scale 0
2024-01-05 04:35:50,733 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[6.9, 6.1000000000000005, 6.800000000000001], powers=[1630.0, 1438.0, 1580.0], voltages=[240.1, 240.84, 238.91], power_factors=[0.9739, 0.9729000000000001, 0.9679000000000001], imported=7338179.0, exported=4871307.0, power=4649.0, frequency=49.97)
2024-01-05 04:35:50,744 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:35:50,771 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4524], Scale -2
2024-01-05 04:35:50,815 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:35:50,853 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 31, 31], Scale -2
2024-01-05 04:35:50,880 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5144], Scale -2
2024-01-05 04:35:50,881 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.31, 0.31], power=45.24, exported=7869605.0, dc_power=51.44)
2024-01-05 04:35:50,883 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:35:50,961 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425741.530618, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:35:50,962 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00261964, power1: 0, power2: 0
2024-01-05 04:35:50,963 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:35:50,964 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425750.9613373, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:35:50,966 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:35:50,972 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:35:50,974 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:35:51,032 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:35:51,033 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:35:51,035 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:35:51,036 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=45.24, exported=7904493.99, dc_power=None)
2024-01-05 04:35:51,039 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:35:51,044 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:35:51,041 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=45.24, exported=7904493.99, dc_power=None)
2024-01-05 04:35:51,103 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:35:51,103 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[6.9, 6.1000000000000005, 6.800000000000001], powers=[1630.0, 1438.0, 1580.0], voltages=[240.1, 240.84, 238.91], power_factors=[0.9739, 0.9729000000000001, 0.9679000000000001], imported=7338179.0, exported=4871307.0, power=4649.0, frequency=49.97)
2024-01-05 04:35:51,295 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:35:51,296 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:35:51,298 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.1, 62.94, 62.28]A
2024-01-05 04:35:51,300 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42661.13W
2024-01-05 04:35:51,301 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:35:51,304 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:35:51,307 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:35:51,309 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:35:51.308619
2024-01-05 04:35:51,310 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1598.265141s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:35:51,311 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:35:51.311096
2024-01-05 04:35:51,312 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 88836.514991s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:35:51,313 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:35:51,316 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:35:51,318 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.08
2024-01-05 04:35:51,329 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425741.9041247, power=297.65000000000055, imported=3360647.2976245643, exported=0)
2024-01-05 04:35:51,333 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00261827, power1: 297.65, power2: 293.63
2024-01-05 04:35:51,334 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.774065
2024-01-05 04:35:51,337 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.774065 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425751.3298953, power=293.6300000000001, imported=3360648.0716897855, exported=0)
2024-01-05 04:35:51,339 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:35:51,340 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:35:51,342 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4471.19, daily_exported=0, power=4310.13, imported=7211287.11, exported=0))
2024-01-05 04:35:51,345 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.04, 6.08, 6.0], daily_imported=4471.19, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211287.11, phases_in_use=3, plug_state=True, power=4310.13, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.32, 239.32, 240.51]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4531.7400000002235, imported_since_plugged=4531.7400000002235, range_charged=22.658700000001115, time_charged='4:24', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f763940>), 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))
2024-01-05 04:35:51,347 - {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=[])
2024-01-05 04:35:51,349 - {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'])
2024-01-05 04:35:51,351 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1630.0, 1438.0, 1580.0], currents=[6.9, 6.1, 6.8], voltages=[240.1, 240.84, 238.91], power_factors=[0.97, 0.97, 0.97], unbalanced_load=0, frequency=49.97, daily_exported=0.0, daily_imported=10256.0, imported=7338179.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4649.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42661.13, raw_currents_left=[62.1, 62.94, 62.28], surplus_power_left=0, state_str=''))
2024-01-05 04:35:51,352 - {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=293.6300000000001, invalid_home_consumption=0, daily_yield_home_consumption=5590.981856924, imported_home_consumption=3360648.0716897855, disengageable_smarthome_power=0))
2024-01-05 04:35:51,354 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:35:51,356 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:35:51,357 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:35:51,358 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:35:51,360 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:35: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=20000, 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=68, soc_timestamp=1704425744.174478, force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:35:51,364 - {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)
2024-01-05 04:35:51,365 - {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)
2024-01-05 04:35:51,367 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:35:51,368 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:35:51,369 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:35:51,370 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:35:51,371 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x701fa598>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:35:51,372 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:35:51,374 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=45.24))
2024-01-05 04:35:51,377 - {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=8202091.902000001, power=45.24))
2024-01-05 04:35:51,378 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425742, 'time': '04:35:42', 'grid': 4.657, 'house-power': 0.298, 'charging-all': 4.312, 'pv-all': -0.048, 'cp1-power': 4.312, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:35:51,379 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:35:51,380 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:35:51,381 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:35:51,382 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:35:51,382 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:35:51,383 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:35:51,383 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:35:51,384 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:35:51,384 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:35:51,385 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:35:51,388 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [56.1, 56.94, 56.28]A verbleibende Ströme, 38521.13W verbleibende Leistung
2024-01-05 04:35:51,390 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:35:51,393 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:35:51,397 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:35:51,398 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:35:51,399 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:35:51,402 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:35:51,403 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4578.870000000003W
2024-01-05 04:35:51,404 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4578.870000000003W
2024-01-05 04:35:51,406 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:35:51,408 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:35:51,410 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4543.950000000186 counter 7211287.11
2024-01-05 04:35:51,413 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:35:51,416 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:35:51,435 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:35:51,696 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:35:55,762 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:35:55,763 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:36:00,774 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:36:00,775 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:36:00,814 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:36:00,816 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:36:00,822 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:36:00,828 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:36:00,831 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:36:00,869 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4671, -1636, -1447, -1587], Scale 0
2024-01-05 04:36:00,874 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:36:00,879 - {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":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425759},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:36","unixtime":1704425761,"uptime":3785123,"ram_size":248948,"ram_free":144524,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-69},"ws":{"connected":false}}

2024-01-05 04:36:00,886 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425750.5259988, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:36:00,887 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00287783, power1: 0, power2: 0
2024-01-05 04:36:00,893 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:36:00,894 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425760.8862023, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:36:00,895 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:36:00,916 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [70, 61, 68], Scale -1
2024-01-05 04:36:00,950 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24019, 24095, 23903, 0, 0, 0, 0], Scale -2
2024-01-05 04:36:00,972 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:36:00,989 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9750, 9700, 9700], Scale -2
2024-01-05 04:36:01,015 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7338200, 3035332, 2160728, 2694084], Scale 0
2024-01-05 04:36:01,016 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1636.0, 1447.0, 1587.0], voltages=[240.19, 240.95000000000002, 239.03], power_factors=[0.975, 0.97, 0.97], imported=7338200.0, exported=4871307.0, power=4671.0, frequency=49.99)
2024-01-05 04:36:01,019 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:36:01,132 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4925], Scale -2
2024-01-05 04:36:01,159 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:36:01,179 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 30, 32], Scale -2
2024-01-05 04:36:01,200 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5000], Scale -2
2024-01-05 04:36:01,201 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.3, 0.32], power=49.25, exported=7869605.0, dc_power=50.0)
2024-01-05 04:36:01,203 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:36:01,250 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425750.9613373, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:36:01,250 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.002858, power1: 0, power2: 0
2024-01-05 04:36:01,251 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:36:01,251 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425761.2501523, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:36:01,252 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:36:01,256 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:36:01,269 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:36:01,314 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:36:01,315 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:36:01,316 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=49.25, exported=7904493.99, dc_power=None)
2024-01-05 04:36:01,317 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:36:01,318 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=49.25, exported=7904493.99, dc_power=None)
2024-01-05 04:36:01,320 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:36:01,343 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:36:01,393 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:36:01,394 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1636.0, 1447.0, 1587.0], voltages=[240.19, 240.95000000000002, 239.03], power_factors=[0.975, 0.97, 0.97], imported=7338200.0, exported=4871307.0, power=4671.0, frequency=49.99)
2024-01-05 04:36:01,569 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:36:01,571 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:36:01,573 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.019999999999996, 62.95, 62.29]A
2024-01-05 04:36:01,574 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42640.56W
2024-01-05 04:36:01,577 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:36:01,579 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:36:01,582 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:36:01,583 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:36:01.583363
2024-01-05 04:36:01,585 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1608.539885s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:36:01,587 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:36:01.586839
2024-01-05 04:36:01,588 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 88826.239248s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:36:01,590 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:36:01,594 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:36:01,595 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.09
2024-01-05 04:36:01,608 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425751.3298953, power=293.6300000000001, imported=3360648.0716897855, exported=0)
2024-01-05 04:36:01,609 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00285508, power1: 293.63, power2: 310.19
2024-01-05 04:36:01,611 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.861977
2024-01-05 04:36:01,613 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.861977 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425761.6081781, power=310.1899999999996, imported=3360648.933666559, exported=0)
2024-01-05 04:36:01,619 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:36:01,620 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:36:01,621 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4471.19, daily_exported=0, power=4311.56, imported=7211299.8, exported=0))
2024-01-05 04:36:01,625 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.05, 6.09, 6.02], daily_imported=4471.19, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211299.8, phases_in_use=3, plug_state=True, power=4311.56, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.28, 239.35, 240.49]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4543.950000000186, imported_since_plugged=4543.950000000186, range_charged=22.719750000000932, time_charged='4:24', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b1baf0>), 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))
2024-01-05 04:36:01,627 - {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=[])
2024-01-05 04:36:01,629 - {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'])
2024-01-05 04:36:01,631 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1636.0, 1447.0, 1587.0], currents=[7.0, 6.1, 6.8], voltages=[240.19, 240.95, 239.03], power_factors=[0.97, 0.97, 0.97], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=10256.0, imported=7338200.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4671.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42640.56, raw_currents_left=[62.019999999999996, 62.95, 62.29], surplus_power_left=0, state_str=''))
2024-01-05 04:36:01,632 - {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.1899999999996, invalid_home_consumption=0, daily_yield_home_consumption=5590.981856924, imported_home_consumption=3360648.933666559, disengageable_smarthome_power=0))
2024-01-05 04:36:01,633 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:36:01,635 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:36:01,637 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:36:01,638 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:36:01,639 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:36:01,640 - {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=20000, 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=68, soc_timestamp=1704425744.174478, force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:36:01,642 - {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)
2024-01-05 04:36:01,643 - {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)
2024-01-05 04:36:01,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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:36:01,645 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:36:01,647 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:36:01,648 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:36:01,649 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x70b77c28>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:36:01,651 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:36:01,653 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=49.25))
2024-01-05 04:36:01,654 - {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=8202091.902000001, power=49.25))
2024-01-05 04:36:01,655 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425751, 'time': '04:35:51', 'grid': 4.649, 'house-power': 0.294, 'charging-all': 4.31, 'pv-all': -0.045, 'cp1-power': 4.31, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:36:01,657 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:36:01,658 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:36:01,659 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:36:01,661 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:36:01,662 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:36:01,664 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:36:01,665 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:36:01,666 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:36:01,667 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:36:01,669 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:36:01,671 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [56.019999999999996, 56.95, 56.29]A verbleibende Ströme, 38500.56W verbleibende Leistung
2024-01-05 04:36:01,672 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:36:01,675 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:36:01,677 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:36:01,678 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:36:01,679 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:36:01,682 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:36:01,683 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4599.440000000002W
2024-01-05 04:36:01,685 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4599.440000000002W
2024-01-05 04:36:01,686 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:36:01,688 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:36:01,691 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4556.639999999665 counter 7211299.8
2024-01-05 04:36:01,695 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:36:01,698 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:36:01,761 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:36:02,068 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:36:02,069 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:36:05,080 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:36:05,083 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:36:10,098 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:36:10,099 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:36:10,174 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:36:10,175 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:36:10,186 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:36:10,187 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:36:10,189 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:36:10,229 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:36:10,231 - {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":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425769},"temperature":{"tC":29.0, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:36","unixtime":1704425770,"uptime":3785132,"ram_size":248948,"ram_free":144524,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:36:10,234 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425760.8862023, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:36:10,235 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00259675, power1: 0, power2: 0
2024-01-05 04:36:10,238 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:36:10,239 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425770.234503, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:36:10,243 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:36:10,244 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4643, -1626, -1438, -1578], Scale 0
2024-01-05 04:36:10,268 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [70, 61, 68], Scale -1
2024-01-05 04:36:10,328 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23995, 24075, 23879, 0, 0, 0, 0], Scale -2
2024-01-05 04:36:10,356 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:36:10,388 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9710, 9750, 9670], Scale -2
2024-01-05 04:36:10,458 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7338210, 3035336, 2160731, 2694088], Scale 0
2024-01-05 04:36:10,459 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1626.0, 1438.0, 1578.0], voltages=[239.95000000000002, 240.75, 238.79], power_factors=[0.9710000000000001, 0.975, 0.9670000000000001], imported=7338210.0, exported=4871307.0, power=4643.0, frequency=50.0)
2024-01-05 04:36:10,460 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:36:10,497 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5006], Scale -2
2024-01-05 04:36:10,537 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:36:10,557 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 33], Scale -2
2024-01-05 04:36:10,577 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5082], Scale -2
2024-01-05 04:36:10,578 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.33], power=50.06, exported=7869605.0, dc_power=50.82)
2024-01-05 04:36:10,580 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:36:10,617 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425761.2501523, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:36:10,618 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00260202, power1: 0, power2: 0
2024-01-05 04:36:10,618 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:36:10,618 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425770.6174262, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:36:10,619 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:36:10,623 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:36:10,625 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:36:10,670 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:36:10,671 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:36:10,672 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:36:10,675 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=50.06, exported=7904493.99, dc_power=None)
2024-01-05 04:36:10,678 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:36:10,679 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=50.06, exported=7904493.99, dc_power=None)
2024-01-05 04:36:10,680 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:36:10,745 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:36:10,746 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1626.0, 1438.0, 1578.0], voltages=[239.95000000000002, 240.75, 238.79], power_factors=[0.9710000000000001, 0.975, 0.9670000000000001], imported=7338210.0, exported=4871307.0, power=4643.0, frequency=50.0)
2024-01-05 04:36:10,909 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:36:10,914 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:36:10,928 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.019999999999996, 62.95, 62.3]A
2024-01-05 04:36:10,931 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42668.72W
2024-01-05 04:36:10,933 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:36:10,938 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:36:10,939 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:36:10,946 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:36:10.945562
2024-01-05 04:36:10,947 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1617.902084s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:36:10,951 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:36:10.951020
2024-01-05 04:36:10,953 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 88816.875067s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:36:10,954 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:36:10,962 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:36:10,966 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.1
2024-01-05 04:36:10,976 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425761.6081781, power=310.1899999999996, imported=3360648.933666559, exported=0)
2024-01-05 04:36:10,979 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0026023, power1: 310.19, power2: 281.22
2024-01-05 04:36:10,983 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.769512
2024-01-05 04:36:10,987 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.769512 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425770.9764464, power=281.21999999999935, imported=3360649.7031787154, exported=0)
2024-01-05 04:36:10,993 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:36:11,000 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:36:11,011 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4471.19, daily_exported=0, power=4311.72, imported=7211309.08, exported=0))
2024-01-05 04:36:11,019 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.05, 6.1, 6.02], daily_imported=4471.19, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211309.08, phases_in_use=3, plug_state=True, power=4311.72, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.12, 239.2, 240.32]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4556.639999999665, imported_since_plugged=4556.639999999665, range_charged=22.783199999998324, time_charged='4:24', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b648c8>), 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))
2024-01-05 04:36:11,022 - {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=[])
2024-01-05 04:36:11,023 - {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'])
2024-01-05 04:36:11,025 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1626.0, 1438.0, 1578.0], currents=[7.0, 6.1, 6.8], voltages=[239.95, 240.75, 238.79], power_factors=[0.97, 0.97, 0.97], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=10256.0, imported=7338210.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4643.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42668.72, raw_currents_left=[62.019999999999996, 62.95, 62.3], surplus_power_left=0, state_str=''))
2024-01-05 04:36:11,028 - {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.21999999999935, invalid_home_consumption=0, daily_yield_home_consumption=5590.981856924, imported_home_consumption=3360649.7031787154, disengageable_smarthome_power=0))
2024-01-05 04:36:11,029 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:36:11,031 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:36:11,032 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:36:11,035 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:36:11,036 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:36:11,040 - {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=20000, 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=68, soc_timestamp=1704425744.174478, force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:36:11,042 - {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)
2024-01-05 04:36:11,045 - {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)
2024-01-05 04:36:11,046 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:36:11,047 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:36:11,058 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:36:11,059 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:36:11,059 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x701fdd90>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:36:11,060 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:36:11,060 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=50.06))
2024-01-05 04:36:11,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=8202091.902000001, power=50.06))
2024-01-05 04:36:11,064 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425761, 'time': '04:36:01', 'grid': 4.671, 'house-power': 0.31, 'charging-all': 4.312, 'pv-all': -0.049, 'cp1-power': 4.312, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:36:11,068 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:36:11,069 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:36:11,071 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:36:11,072 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:36:11,073 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:36:11,074 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:36:11,076 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:36:11,078 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:36:11,079 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:36:11,082 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:36:11,083 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [56.019999999999996, 56.95, 56.3]A verbleibende Ströme, 38528.72W verbleibende Leistung
2024-01-05 04:36:11,087 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:36:11,089 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:36:11,091 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:36:11,094 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:36:11,095 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:36:11,097 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:36:11,099 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4571.279999999999W
2024-01-05 04:36:11,100 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4571.279999999999W
2024-01-05 04:36:11,101 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:36:11,103 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:36:11,104 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4565.9199999999255 counter 7211309.08
2024-01-05 04:36:11,111 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:36:11,113 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:36:11,162 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:36:11,484 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:36:15,583 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:36:15,584 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:36:20,594 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:36:20,595 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:36:20,643 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:36:20,644 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:36:20,652 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:36:20,655 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:36:20,697 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:36:20,701 - {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":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425779},"temperature":{"tC":29.1, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:36","unixtime":1704425781,"uptime":3785143,"ram_size":248948,"ram_free":144524,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:36:20,704 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:36:20,718 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425770.234503, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:36:20,719 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0029122, power1: 0, power2: 0
2024-01-05 04:36:20,720 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:36:20,725 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425780.71841, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:36:20,726 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:36:20,771 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4657, -1631, -1445, -1579], Scale 0
2024-01-05 04:36:20,814 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [69, 61, 68], Scale -1
2024-01-05 04:36:20,839 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24015, 24089, 23899, 0, 0, 0, 0], Scale -2
2024-01-05 04:36:20,868 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:36:20,888 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9739, 9739, 9700], Scale -2
2024-01-05 04:36:20,952 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7338216, 3035339, 2160734, 2694091], Scale 0
2024-01-05 04:36:20,953 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[6.9, 6.1000000000000005, 6.800000000000001], powers=[1631.0, 1445.0, 1579.0], voltages=[240.15, 240.89000000000001, 238.99], power_factors=[0.9739, 0.9739, 0.97], imported=7338216.0, exported=4871307.0, power=4657.0, frequency=50.0)
2024-01-05 04:36:20,958 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:36:20,979 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4511], Scale -2
2024-01-05 04:36:20,998 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:36:21,018 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 32], Scale -2
2024-01-05 04:36:21,099 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4580], Scale -2
2024-01-05 04:36:21,100 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.32], power=45.11, exported=7869605.0, dc_power=45.800000000000004)
2024-01-05 04:36:21,101 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:36:21,162 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425770.6174262, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:36:21,163 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00292916, power1: 0, power2: 0
2024-01-05 04:36:21,163 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:36:21,164 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425781.1624148, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:36:21,165 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:36:21,175 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:36:21,176 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:36:21,278 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:36:21,281 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:36:21,287 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:36:21,296 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=45.11, exported=7904493.99, dc_power=None)
2024-01-05 04:36:21,301 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:36:21,319 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=45.11, exported=7904493.99, dc_power=None)
2024-01-05 04:36:21,327 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:36:21,578 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:36:21,580 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[6.9, 6.1000000000000005, 6.800000000000001], powers=[1631.0, 1445.0, 1579.0], voltages=[240.15, 240.89000000000001, 238.99], power_factors=[0.9739, 0.9739, 0.97], imported=7338216.0, exported=4871307.0, power=4657.0, frequency=50.0)
2024-01-05 04:36:21,807 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:36:21,809 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:36:21,813 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.12, 62.95, 62.29]A
2024-01-05 04:36:21,814 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42656.229999999996W
2024-01-05 04:36:21,815 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:36:21,818 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:36:21,819 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:36:21,822 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:36:21.821693
2024-01-05 04:36:21,823 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1628.778215s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:36:21,825 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:36:21.824383
2024-01-05 04:36:21,825 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 88806.001704s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:36:21,826 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:36:21,831 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:36:21,832 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.09
2024-01-05 04:36:21,837 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425770.9764464, power=281.21999999999935, imported=3360649.7031787154, exported=0)
2024-01-05 04:36:21,847 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00301697, power1: 281.22, power2: 298.66
2024-01-05 04:36:21,847 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.87474
2024-01-05 04:36:21,856 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.87474 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425781.8375292, power=298.66000000000076, imported=3360650.5779182557, exported=0)
2024-01-05 04:36:21,860 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:36:21,861 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:36:21,863 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4471.19, daily_exported=0, power=4313.23, imported=7211324.22, exported=0))
2024-01-05 04:36:21,866 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.05, 6.09, 6.02], daily_imported=4471.19, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211324.22, phases_in_use=3, plug_state=True, power=4313.23, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.35, 239.43, 240.55]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4565.9199999999255, imported_since_plugged=4565.9199999999255, range_charged=22.82959999999963, time_charged='4:24', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7e8448>), 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))
2024-01-05 04:36:21,869 - {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=[])
2024-01-05 04:36:21,870 - {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'])
2024-01-05 04:36:21,872 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1631.0, 1445.0, 1579.0], currents=[6.9, 6.1, 6.8], voltages=[240.15, 240.89, 238.99], power_factors=[0.97, 0.97, 0.97], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=10256.0, imported=7338216.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4657.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42656.229999999996, raw_currents_left=[62.12, 62.95, 62.29], surplus_power_left=0, state_str=''))
2024-01-05 04:36:21,879 - {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.66000000000076, invalid_home_consumption=0, daily_yield_home_consumption=5590.981856924, imported_home_consumption=3360650.5779182557, disengageable_smarthome_power=0))
2024-01-05 04:36:21,886 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:36:21,894 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:36:21,896 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:36:21,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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:36:21,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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:36:21,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=20000, 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=68, soc_timestamp=1704425744.174478, force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:36:21,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)
2024-01-05 04:36:21,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)
2024-01-05 04:36:21,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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:36:21,909 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:36:21,909 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:36:21,911 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:36:21,912 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f744e98>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:36:21,916 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:36:21,917 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=45.11))
2024-01-05 04:36:21,918 - {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=8202091.902000001, power=45.11))
2024-01-05 04:36:21,919 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425771, 'time': '04:36:11', 'grid': 4.643, 'house-power': 0.281, 'charging-all': 4.312, 'pv-all': -0.05, 'cp1-power': 4.312, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:36:21,921 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:36:21,922 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:36:21,930 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:36:21,931 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:36:21,932 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:36:21,933 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:36:21,934 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:36:21,935 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:36:21,936 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:36:21,938 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:36:21,940 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [56.12, 56.95, 56.29]A verbleibende Ströme, 38516.229999999996W verbleibende Leistung
2024-01-05 04:36:21,941 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:36:21,945 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:36:21,947 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:36:21,949 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:36:21,950 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:36:21,952 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:36:21,953 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4583.770000000004W
2024-01-05 04:36:21,955 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4583.770000000004W
2024-01-05 04:36:21,956 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:36:21,958 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:36:21,965 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4581.05999999959 counter 7211324.22
2024-01-05 04:36:21,968 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:36:21,972 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:36:22,001 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:36:22,280 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:36:22,282 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:36:25,295 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:36:25,297 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:36:30,315 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:36:30,316 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:36:30,392 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:36:30,394 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:36:30,396 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:36:30,403 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:36:30,405 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:36:30,429 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4656, -1630, -1440, -1586], Scale 0
2024-01-05 04:36:30,447 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:36:30,449 - {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":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425789},"temperature":{"tC":29.2, "tF":84.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:36","unixtime":1704425790,"uptime":3785153,"ram_size":248948,"ram_free":144524,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:36:30,452 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425780.71841, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:36:30,454 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00270398, power1: 0, power2: 0
2024-01-05 04:36:30,454 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:36:30,456 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425790.4527388, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:36:30,459 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:36:30,471 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [69, 61, 68], Scale -1
2024-01-05 04:36:30,498 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24023, 24101, 23911, 0, 0, 0, 0], Scale -2
2024-01-05 04:36:30,528 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:36:30,548 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9729, 9710, 9679], Scale -2
2024-01-05 04:36:30,569 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7338226, 3035343, 2160737, 2694095], Scale 0
2024-01-05 04:36:30,570 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[6.9, 6.1000000000000005, 6.800000000000001], powers=[1630.0, 1440.0, 1586.0], voltages=[240.23000000000002, 241.01, 239.11], power_factors=[0.9729000000000001, 0.9710000000000001, 0.9679000000000001], imported=7338226.0, exported=4871307.0, power=4656.0, frequency=50.0)
2024-01-05 04:36:30,571 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:36:30,659 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4960], Scale -2
2024-01-05 04:36:30,707 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:36:30,749 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 32, 33], Scale -2
2024-01-05 04:36:30,768 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4586], Scale -2
2024-01-05 04:36:30,769 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.32, 0.33], power=49.6, exported=7869605.0, dc_power=45.86)
2024-01-05 04:36:30,770 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:36:30,828 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425781.1624148, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:36:30,828 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00268487, power1: 0, power2: 0
2024-01-05 04:36:30,829 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:36:30,829 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425790.8279343, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:36:30,830 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:36:30,841 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:36:30,842 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:36:30,886 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:36:30,887 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:36:30,888 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:36:30,898 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:36:30,890 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=49.6, exported=7904493.99, dc_power=None)
2024-01-05 04:36:30,899 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:36:30,902 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=49.6, exported=7904493.99, dc_power=None)
2024-01-05 04:36:30,961 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:36:30,961 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[6.9, 6.1000000000000005, 6.800000000000001], powers=[1630.0, 1440.0, 1586.0], voltages=[240.23000000000002, 241.01, 239.11], power_factors=[0.9729000000000001, 0.9710000000000001, 0.9679000000000001], imported=7338226.0, exported=4871307.0, power=4656.0, frequency=50.0)
2024-01-05 04:36:31,135 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:36:31,137 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:36:31,140 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.12, 62.95, 62.29]A
2024-01-05 04:36:31,141 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42656.2W
2024-01-05 04:36:31,142 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:36:31,147 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:36:31,148 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:36:31,151 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:36:31.150554
2024-01-05 04:36:31,153 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1638.107076s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:36:31,155 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:36:31.154589
2024-01-05 04:36:31,159 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 88796.671498s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:36:31,160 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:36:31,168 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:36:31,175 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.09
2024-01-05 04:36:31,195 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425781.8375292, power=298.66000000000076, imported=3360650.5779182557, exported=0)
2024-01-05 04:36:31,198 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00259947, power1: 298.66, power2: 294.2
2024-01-05 04:36:31,199 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.77056
2024-01-05 04:36:31,201 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.77056 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425791.1956158, power=294.1999999999998, imported=3360651.348478702, exported=0)
2024-01-05 04:36:31,206 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:36:31,207 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:36:31,208 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4471.19, daily_exported=0, power=4312.2, imported=7211333.01, exported=0))
2024-01-05 04:36:31,209 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.05, 6.09, 6.02], daily_imported=4471.19, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211333.01, phases_in_use=3, plug_state=True, power=4312.2, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.29, 239.38, 240.55]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4581.05999999959, imported_since_plugged=4581.05999999959, range_charged=22.90529999999795, time_charged='4:24', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7e8868>), 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))
2024-01-05 04:36:31,216 - {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=[])
2024-01-05 04:36:31,217 - {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'])
2024-01-05 04:36:31,218 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1630.0, 1440.0, 1586.0], currents=[6.9, 6.1, 6.8], voltages=[240.23, 241.01, 239.11], power_factors=[0.97, 0.97, 0.97], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=10256.0, imported=7338226.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4656.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42656.2, raw_currents_left=[62.12, 62.95, 62.29], surplus_power_left=0, state_str=''))
2024-01-05 04:36:31,221 - {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.1999999999998, invalid_home_consumption=0, daily_yield_home_consumption=5590.981856924, imported_home_consumption=3360651.348478702, disengageable_smarthome_power=0))
2024-01-05 04:36:31,223 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:36:31,224 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:36:31,225 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:36:31,229 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:36:31,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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:36:31,232 - {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=20000, 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=68, soc_timestamp=1704425744.174478, force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:36:31,236 - {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)
2024-01-05 04:36:31,242 - {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)
2024-01-05 04:36:31,244 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:36:31,245 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:36:31,246 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:36:31,247 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:36:31,248 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7fec40>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:36:31,253 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:36:31,254 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=49.6))
2024-01-05 04:36:31,256 - {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=8202091.902000001, power=49.6))
2024-01-05 04:36:31,257 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425782, 'time': '04:36:22', 'grid': 4.657, 'house-power': 0.299, 'charging-all': 4.313, 'pv-all': -0.045, 'cp1-power': 4.313, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:36:31,257 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:36:31,260 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:36:31,261 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:36:31,263 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:36:31,265 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:36:31,266 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:36:31,267 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:36:31,268 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:36:31,269 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:36:31,271 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:36:31,272 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [56.12, 56.95, 56.29]A verbleibende Ströme, 38516.2W verbleibende Leistung
2024-01-05 04:36:31,273 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:36:31,277 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:36:31,279 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:36:31,280 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:36:31,285 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:36:31,287 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:36:31,290 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4583.800000000003W
2024-01-05 04:36:31,291 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4583.800000000003W
2024-01-05 04:36:31,292 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:36:31,293 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:36:31,294 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4589.8499999996275 counter 7211333.01
2024-01-05 04:36:31,296 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:36:31,299 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:36:31,335 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:36:31,660 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:36:35,770 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:36:35,771 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:36:40,784 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:36:40,787 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:36:40,833 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:36:40,836 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:36:40,838 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:36:40,845 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:36:40,854 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:36:40,878 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4661, -1633, -1445, -1583], Scale 0
2024-01-05 04:36:40,897 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [70, 61, 68], Scale -1
2024-01-05 04:36:40,899 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:36:40,902 - {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":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425799},"temperature":{"tC":29.1, "tF":84.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:36","unixtime":1704425801,"uptime":3785163,"ram_size":249000,"ram_free":145092,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:36:40,906 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425790.4527388, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:36:40,907 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00290391, power1: 0, power2: 0
2024-01-05 04:36:40,908 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:36:40,909 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425800.9068313, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:36:40,912 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:36:40,918 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [24003, 24072, 23872, 0, 0, 0, 0], Scale -2
2024-01-05 04:36:40,940 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:36:40,989 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9739, 9720, 9720], Scale -2
2024-01-05 04:36:41,019 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7338247, 3035348, 2160742, 2694100], Scale 0
2024-01-05 04:36:41,020 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1633.0, 1445.0, 1583.0], voltages=[240.03, 240.72, 238.72], power_factors=[0.9739, 0.972, 0.972], imported=7338247.0, exported=4871307.0, power=4661.0, frequency=49.99)
2024-01-05 04:36:41,021 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:36:41,038 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4765], Scale -2
2024-01-05 04:36:41,109 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:36:41,139 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 30, 32], Scale -2
2024-01-05 04:36:41,184 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4838], Scale -2
2024-01-05 04:36:41,185 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.3, 0.32], power=47.65, exported=7869605.0, dc_power=48.38)
2024-01-05 04:36:41,186 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:36:41,249 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425790.8279343, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:36:41,250 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.0028948, power1: 0, power2: 0
2024-01-05 04:36:41,250 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:36:41,250 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425801.2491977, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:36:41,251 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:36:41,267 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:36:41,273 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:36:41,313 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:36:41,314 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:36:41,317 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:36:41,318 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.65, exported=7904493.99, dc_power=None)
2024-01-05 04:36:41,324 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:36:41,325 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.65, exported=7904493.99, dc_power=None)
2024-01-05 04:36:41,331 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:36:41,393 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:36:41,394 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1633.0, 1445.0, 1583.0], voltages=[240.03, 240.72, 238.72], power_factors=[0.9739, 0.972, 0.972], imported=7338247.0, exported=4871307.0, power=4661.0, frequency=49.99)
2024-01-05 04:36:41,665 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:36:41,674 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:36:41,706 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.01, 62.95, 62.29]A
2024-01-05 04:36:41,710 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42641.66W
2024-01-05 04:36:41,712 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:36:41,718 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:36:41,719 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:36:41,721 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:36:41.721072
2024-01-05 04:36:41,722 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1648.677594s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:36:41,723 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:36:41.723408
2024-01-05 04:36:41,725 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 88786.102679s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:36:41,726 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:36:41,733 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:36:41,738 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.09
2024-01-05 04:36:41,773 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425791.1956158, power=294.1999999999998, imported=3360651.348478702, exported=0)
2024-01-05 04:36:41,774 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00293826, power1: 294.2, power2: 310.69
2024-01-05 04:36:41,778 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.888661
2024-01-05 04:36:41,780 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.888661 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425801.7733352, power=310.6900000000005, imported=3360652.2371393573, exported=0)
2024-01-05 04:36:41,785 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:36:41,789 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:36:41,791 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4471.19, daily_exported=0, power=4302.66, imported=7211346.19, exported=0))
2024-01-05 04:36:41,792 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.05, 6.09, 6.01], daily_imported=4471.19, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211346.19, phases_in_use=3, plug_state=True, power=4302.66, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[241.02, 238.92, 240.25]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4589.8499999996275, imported_since_plugged=4589.8499999996275, range_charged=22.949249999998138, time_charged='4:24', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7eaca0>), 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))
2024-01-05 04:36:41,796 - {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=[])
2024-01-05 04:36:41,797 - {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'])
2024-01-05 04:36:41,808 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1633.0, 1445.0, 1583.0], currents=[7.0, 6.1, 6.8], voltages=[240.03, 240.72, 238.72], power_factors=[0.97, 0.97, 0.97], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=10256.0, imported=7338247.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4661.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42641.66, raw_currents_left=[62.01, 62.95, 62.29], surplus_power_left=0, state_str=''))
2024-01-05 04:36:41,819 - {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.6900000000005, invalid_home_consumption=0, daily_yield_home_consumption=5590.981856924, imported_home_consumption=3360652.2371393573, disengageable_smarthome_power=0))
2024-01-05 04:36:41,820 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:36:41,823 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:36:41,825 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:36:41,827 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:36:41,829 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:36:41,832 - {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=20000, 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=68, soc_timestamp=1704425799.663222, force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:36:41,834 - {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)
2024-01-05 04:36:41,835 - {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)
2024-01-05 04:36:41,839 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:36:41,840 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:36:41,845 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:36:41,846 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:36:41,847 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x701fa7c0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:36:41,850 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:36:41,853 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=47.65))
2024-01-05 04:36:41,854 - {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=8202091.902000001, power=47.65))
2024-01-05 04:36:41,858 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425791, 'time': '04:36:31', 'grid': 4.656, 'house-power': 0.294, 'charging-all': 4.312, 'pv-all': -0.05, 'cp1-power': 4.312, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:36:41,859 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:36:41,860 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:36:41,863 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:36:41,865 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:36:41,868 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:36:41,868 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:36:41,869 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:36:41,870 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:36:41,871 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:36:41,873 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:36:41,876 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [56.01, 56.95, 56.29]A verbleibende Ströme, 38501.66W verbleibende Leistung
2024-01-05 04:36:41,877 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:36:41,881 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:36:41,884 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:36:41,885 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:36:41,888 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:36:41,891 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:36:41,892 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4598.3399999999965W
2024-01-05 04:36:41,894 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4598.3399999999965W
2024-01-05 04:36:41,895 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:36:41,896 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:36:41,900 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4603.030000000261 counter 7211346.19
2024-01-05 04:36:41,909 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:36:41,913 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:36:41,953 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:36:42,265 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:36:42,275 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:36:45,283 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:36:45,284 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:36:50,296 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:36:50,297 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:36:50,332 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:36:50,337 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:36:50,338 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:36:50,344 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:36:50,347 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:36:50,395 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:36:50,397 - {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":240.9, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425809},"temperature":{"tC":29.1, "tF":84.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:36","unixtime":1704425810,"uptime":3785173,"ram_size":248992,"ram_free":144976,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-71},"ws":{"connected":false}}

2024-01-05 04:36:50,399 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425800.9068313, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:36:50,400 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00263678, power1: 0, power2: 0
2024-01-05 04:36:50,400 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:36:50,400 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425810.3992236, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:36:50,403 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:36:50,417 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4655, -1634, -1442, -1578], Scale 0
2024-01-05 04:36:50,461 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [70, 61, 68], Scale -1
2024-01-05 04:36:50,487 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23971, 24057, 23845, 0, 0, 0, 0], Scale -2
2024-01-05 04:36:50,573 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:36:50,598 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9750, 9720, 9670], Scale -2
2024-01-05 04:36:50,630 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7338257, 3035352, 2160745, 2694103], Scale 0
2024-01-05 04:36:50,631 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1634.0, 1442.0, 1578.0], voltages=[239.71, 240.57, 238.45000000000002], power_factors=[0.975, 0.972, 0.9670000000000001], imported=7338257.0, exported=4871307.0, power=4655.0, frequency=49.99)
2024-01-05 04:36:50,634 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:36:50,658 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5235], Scale -2
2024-01-05 04:36:50,678 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:36:50,698 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [31, 31, 33], Scale -2
2024-01-05 04:36:50,717 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5315], Scale -2
2024-01-05 04:36:50,717 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.31, 0.31, 0.33], power=52.35, exported=7869605.0, dc_power=53.15)
2024-01-05 04:36:50,720 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:36:50,809 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425801.2491977, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:36:50,810 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00265568, power1: 0, power2: 0
2024-01-05 04:36:50,811 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:36:50,811 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425810.8096502, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:36:50,813 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:36:50,820 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:36:50,822 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:36:50,887 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:36:50,891 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:36:50,894 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=52.35, exported=7904493.99, dc_power=None)
2024-01-05 04:36:50,897 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:36:50,897 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=52.35, exported=7904493.99, dc_power=None)
2024-01-05 04:36:50,901 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:36:50,910 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:36:50,987 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:36:50,988 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1634.0, 1442.0, 1578.0], voltages=[239.71, 240.57, 238.45000000000002], power_factors=[0.975, 0.972, 0.9670000000000001], imported=7338257.0, exported=4871307.0, power=4655.0, frequency=49.99)
2024-01-05 04:36:51,143 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:36:51,144 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:36:51,153 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.03, 62.96, 62.3]A
2024-01-05 04:36:51,154 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42657.35W
2024-01-05 04:36:51,156 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:36:51,160 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:36:51,162 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:36:51,164 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:36:51.164244
2024-01-05 04:36:51,165 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1658.120766s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:36:51,168 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:36:51.167758
2024-01-05 04:36:51,171 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 88776.658329s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:36:51,172 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:36:51,175 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:36:51,180 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.1
2024-01-05 04:36:51,196 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425801.7733352, power=310.6900000000005, imported=3360652.2371393573, exported=0)
2024-01-05 04:36:51,199 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00261745, power1: 310.69, power2: 290.3
2024-01-05 04:36:51,202 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.78653
2024-01-05 04:36:51,206 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.78653 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425811.1961505, power=290.2999999999993, imported=3360653.0236696047, exported=0)
2024-01-05 04:36:51,209 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:36:51,211 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:36:51,213 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4471.19, daily_exported=0, power=4312.35, imported=7211357.91, exported=0))
2024-01-05 04:36:51,214 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.06, 6.1, 6.03], daily_imported=4471.19, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211357.91, phases_in_use=3, plug_state=True, power=4312.35, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.97, 238.91, 240.1]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4603.030000000261, imported_since_plugged=4603.030000000261, range_charged=23.015150000001302, time_charged='4:25', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b27cb8>), 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))
2024-01-05 04:36:51,216 - {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=[])
2024-01-05 04:36:51,218 - {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'])
2024-01-05 04:36:51,220 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1634.0, 1442.0, 1578.0], currents=[7.0, 6.1, 6.8], voltages=[239.71, 240.57, 238.45], power_factors=[0.97, 0.97, 0.97], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=10256.0, imported=7338257.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4655.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42657.35, raw_currents_left=[62.03, 62.96, 62.3], surplus_power_left=0, state_str=''))
2024-01-05 04:36:51,221 - {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.2999999999993, invalid_home_consumption=0, daily_yield_home_consumption=5590.981856924, imported_home_consumption=3360653.0236696047, disengageable_smarthome_power=0))
2024-01-05 04:36:51,222 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:36:51,224 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:36:51,225 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:36:51,233 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:36:51,236 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:36:51,237 - {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=20000, 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=68, soc_timestamp=1704425799.663222, force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:36:51,238 - {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)
2024-01-05 04:36:51,239 - {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)
2024-01-05 04:36:51,240 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:36:51,242 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:36:51,243 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:36:51,244 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:36:51,249 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7f1688>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:36:51,250 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:36:51,252 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=52.35))
2024-01-05 04:36:51,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=8202091.902000001, power=52.35))
2024-01-05 04:36:51,254 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425801, 'time': '04:36:41', 'grid': 4.661, 'house-power': 0.311, 'charging-all': 4.303, 'pv-all': -0.048, 'cp1-power': 4.303, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:36:51,255 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:36:51,256 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:36:51,258 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:36:51,260 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:36:51,261 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:36:51,263 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:36:51,264 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:36:51,265 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:36:51,266 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:36:51,272 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:36:51,275 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [56.03, 56.96, 56.3]A verbleibende Ströme, 38517.35W verbleibende Leistung
2024-01-05 04:36:51,278 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:36:51,284 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:36:51,290 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:36:51,292 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:36:51,294 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:36:51,297 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:36:51,297 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4582.6500000000015W
2024-01-05 04:36:51,299 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4582.6500000000015W
2024-01-05 04:36:51,303 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:36:51,303 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:36:51,304 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4614.75 counter 7211357.91
2024-01-05 04:36:51,306 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:36:51,316 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:36:51,350 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:36:51,581 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:36:55,611 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:36:55,612 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:37:00,624 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:37:00,625 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:37:00,666 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:37:00,667 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:37:00,674 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:37:00,675 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:37:00,679 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:37:00,707 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4663, -1636, -1444, -1582], Scale 0
2024-01-05 04:37:00,719 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:37:00,721 - {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":240.8, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425819},"temperature":{"tC":29.0, "tF":84.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:37","unixtime":1704425821,"uptime":3785183,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:37:00,726 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425810.3992236, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:37:00,728 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00286879, power1: 0, power2: 0
2024-01-05 04:37:00,729 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:37:00,731 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425820.7268558, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:37:00,734 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:37:00,827 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [70, 61, 68], Scale -1
2024-01-05 04:37:00,880 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23981, 24048, 23847, 0, 0, 0, 0], Scale -2
2024-01-05 04:37:00,918 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-05 04:37:01,118 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9720, 9769, 9639], Scale -2
2024-01-05 04:37:01,144 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7338268, 3035356, 2160749, 2694107], Scale 0
2024-01-05 04:37:01,145 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1636.0, 1444.0, 1582.0], voltages=[239.81, 240.48000000000002, 238.47], power_factors=[0.972, 0.9769, 0.9639], imported=7338268.0, exported=4871307.0, power=4663.0, frequency=49.99)
2024-01-05 04:37:01,147 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:37:01,168 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5026], Scale -2
2024-01-05 04:37:01,208 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:37:01,249 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 31, 33], Scale -2
2024-01-05 04:37:01,269 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5103], Scale -2
2024-01-05 04:37:01,269 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.31, 0.33], power=50.26, exported=7869605.0, dc_power=51.03)
2024-01-05 04:37:01,271 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:37:01,308 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425810.8096502, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:37:01,309 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00291625, power1: 0, power2: 0
2024-01-05 04:37:01,309 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:37:01,310 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425821.3081408, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:37:01,311 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:37:01,316 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:37:01,317 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:37:01,374 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:37:01,376 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:37:01,378 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=50.26, exported=7904493.99, dc_power=None)
2024-01-05 04:37:01,379 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=50.26, exported=7904493.99, dc_power=None)
2024-01-05 04:37:01,380 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:37:01,383 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:37:01,387 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:37:01,473 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:37:01,474 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1636.0, 1444.0, 1582.0], voltages=[239.81, 240.48000000000002, 238.47], power_factors=[0.972, 0.9769, 0.9639], imported=7338268.0, exported=4871307.0, power=4663.0, frequency=49.99)
2024-01-05 04:37:01,687 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:37:01,696 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:37:01,708 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.019999999999996, 62.95, 62.29]A
2024-01-05 04:37:01,713 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42640.9W
2024-01-05 04:37:01,715 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:37:01,721 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:37:01,727 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:37:01,729 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:37:01.729447
2024-01-05 04:37:01,732 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1668.685969s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:37:01,734 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:37:01.734351
2024-01-05 04:37:01,737 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 88766.091736s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:37:01,756 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:37:01,782 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:37:01,783 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.09
2024-01-05 04:37:01,814 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425811.1961505, power=290.2999999999993, imported=3360653.0236696047, exported=0)
2024-01-05 04:37:01,816 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00294957, power1: 290.3, power2: 308.84
2024-01-05 04:37:01,817 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.883602
2024-01-05 04:37:01,819 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.883602 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425821.8145967, power=308.84000000000015, imported=3360653.9072717996, exported=0)
2024-01-05 04:37:01,822 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:37:01,824 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:37:01,829 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4471.19, daily_exported=0, power=4303.9, imported=7211370.12, exported=0))
2024-01-05 04:37:01,831 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.05, 6.09, 6.02], daily_imported=4471.19, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211370.12, phases_in_use=3, plug_state=True, power=4303.9, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.86, 238.92, 240.09]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4614.75, imported_since_plugged=4614.75, range_charged=23.07375, time_charged='4:25', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x71d654a8>), 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))
2024-01-05 04:37: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=[])
2024-01-05 04:37: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'])
2024-01-05 04:37:01,839 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1636.0, 1444.0, 1582.0], currents=[7.0, 6.1, 6.8], voltages=[239.81, 240.48, 238.47], power_factors=[0.97, 0.98, 0.96], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=10256.0, imported=7338268.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4663.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42640.9, raw_currents_left=[62.019999999999996, 62.95, 62.29], surplus_power_left=0, state_str=''))
2024-01-05 04:37:01,841 - {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.84000000000015, invalid_home_consumption=0, daily_yield_home_consumption=5590.981856924, imported_home_consumption=3360653.9072717996, disengageable_smarthome_power=0))
2024-01-05 04:37:01,850 - {control.data:266} - {INFO:MainThread} - ct0
ChargeTemplateData(name='Standard-Ladeprofil-Vorlage', disable_after_unplug=False, prio=False, load_default=False, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='stop', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=100), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=10, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-05 04:37:01,856 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Ladeprofil ***AUTO1***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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))))
2024-01-05 04:37:01,858 - {control.data:266} - {INFO:MainThread} - ct2
ChargeTemplateData(name='Ladeprofil ***AUTO2***', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), 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:59'], name='Immer 35%', current=16, 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=15, 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=15, 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=15, name='Zielladen 75%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=75), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-05 04:37:01,859 - {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=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:37:01,860 - {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=1), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212', '2585087748'], get=Get(soc=58.0, soc_timestamp=1704422290.701385, force_soc_update=False, range=258.27, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:37:01,863 - {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=20000, 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=68, soc_timestamp=1704425799.663222, force_soc_update=False, range=205, fault_state=0, fault_str='Kein Fehler.'))
2024-01-05 04:37:01,865 - {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)
2024-01-05 04:37:01,867 - {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)
2024-01-05 04:37:01,870 - {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=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-05 04:37:01,878 - {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=[-115, 115], feed_in_yield=15000, phase_switch_delay=12, 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, prices=Prices(bat=0.0003528, cp=0, grid=0.0003528, pv=0.0003528), range_unit='km', ripple_control_receiver=RippleControlReceiver(configured=True, r1_active=False, r2_active=False))
2024-01-05 04:37:01,880 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-05 04:37:01,881 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-05 04:37:01,882 - {control.data:248} - {INFO:MainThread} - optional_data
OptionalData(et=Et(get=EtGet(fault_state=0, fault_str='Kein Fehler.', prices={})), 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 0x6f7d2550>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-05 04:37:01,887 - {control.data:266} - {INFO:MainThread} - pv3
PvData(config=Config(max_ac_out=600), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=297597.912, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-05 04:37:01,888 - {control.data:266} - {INFO:MainThread} - pv2
PvData(config=Config(max_ac_out=10000), get=Get(currents=[0.0, 0.0, 0.0], daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=7904493.99, fault_state=0, fault_str='Kein Fehler.', power=50.26))
2024-01-05 04:37:01,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=8202091.902000001, power=50.26))
2024-01-05 04:37:01,891 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_branch': 'master', 'current_branch_commit': '2024-01-04 12:55:29 +0100 [1e641565e]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 33, 'lastlivevaluesJson': {'timestamp': 1704425811, 'time': '04:36:51', 'grid': 4.655, 'house-power': 0.29, 'charging-all': 4.312, 'pv-all': -0.052, 'cp1-power': 4.312, 'ev1-soc': 58.0, 'ev2-soc': 68, 'bat-all-power': 0.0, 'bat-all-soc': 18}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-05 04:37:01,893 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-05 04:37:01,894 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-05 04:37:01,895 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-05 04:37:01,898 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-05 04:37:01,899 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-05 04:37:01,899 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-05 04:37:01,899 - {control.data:253} - {INFO:MainThread} - 

2024-01-05 04:37:01,900 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-05 04:37:01,901 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-05 04:37:01,903 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:37:01,904 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [56.019999999999996, 56.95, 56.29]A verbleibende Ströme, 38500.9W verbleibende Leistung
2024-01-05 04:37:01,906 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:37:01,909 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-05 04:37:01,911 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-05 04:37:01,912 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-05 04:37:01,913 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-05 04:37:01,915 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-05 04:37:01,917 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4599.0999999999985W
2024-01-05 04:37:01,918 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4599.0999999999985W
2024-01-05 04:37:01,920 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-05 04:37:01,922 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-05 04:37:01,924 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 4626.959999999963 counter 7211370.12
2024-01-05 04:37:01,929 - {control.process:111} - {INFO:MainThread} - LP1: set current 6 A, state CHARGING_ALLOWED
2024-01-05 04:37:01,932 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:37:01,956 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-05 04:37:02,309 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:37:02,311 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:37:05,319 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-05 04:37:05,320 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-05 04:37:10,333 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-05 04:37:10,333 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-05 04:37:10,372 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x70bcf208>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x70bc5ef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x70bc5d30>}
2024-01-05 04:37:10,374 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:37:10,376 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:37:10,382 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-05 04:37:10,385 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:37:10,426 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-05 04:37:10,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":240.8, "current":0.000, "aenergy":{"total":5567.979,"by_minute":[0.000,0.000,0.000],"minute_ts":1704425829},"temperature":{"tC":29.0, "tF":84.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:37","unixtime":1704425830,"uptime":3785193,"ram_size":248948,"ram_free":144516,"fs_size":458752,"fs_free":94208,"cfg_rev":13,"kvs_rev":2,"schedule_rev":15,"webhook_rev":0,"available_updates":{"stable":{"version":"1.1.0"}}},"wifi":{"sta_ip":"192.168.1.54","status":"got ip","ssid":"RSKNET","rssi":-68},"ws":{"connected":false}}

2024-01-05 04:37:10,432 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1704425820.7268558, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:37:10,432 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00269586, power1: 0, power2: 0
2024-01-05 04:37:10,433 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-05 04:37:10,434 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425830.431951, power=0, imported=0.0, exported=297597.9121162105)
2024-01-05 04:37:10,435 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:37:10,458 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4659, -1631, -1444, -1582], Scale 0
2024-01-05 04:37:10,478 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [70, 61, 68], Scale -1
2024-01-05 04:37:10,498 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23961, 24040, 23844, 0, 0, 0, 0], Scale -2
2024-01-05 04:37:10,518 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-05 04:37:10,572 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9710, 9739, 9629], Scale -2
2024-01-05 04:37:10,614 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871307, 1797421, 2168990, 1456840, 7338288, 3035363, 2160755, 2694114], Scale 0
2024-01-05 04:37:10,615 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1631.0, 1444.0, 1582.0], voltages=[239.61, 240.4, 238.44], power_factors=[0.9710000000000001, 0.9739, 0.9629000000000001], imported=7338288.0, exported=4871307.0, power=4659.0, frequency=50.0)
2024-01-05 04:37:10,617 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:37:10,658 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-3733], Scale -2
2024-01-05 04:37:10,677 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7869605], Scale 0
2024-01-05 04:37:10,698 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [30, 31, 31], Scale -2
2024-01-05 04:37:10,717 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-3789], Scale -2
2024-01-05 04:37:10,718 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.3, 0.31, 0.31], power=37.33, exported=7869605.0, dc_power=37.89)
2024-01-05 04:37:10,720 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:37:10,827 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1704425821.3081408, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:37:10,828 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00264432, power1: 0, power2: 0
2024-01-05 04:37:10,829 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-05 04:37:10,829 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425830.827676, power=0.0, imported=154654.67883156077, exported=119765.69374722437)
2024-01-05 04:37:10,831 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:37:10,839 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-05 04:37:10,851 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=154654.67883156077, exported=119765.69374722437, power=0.0, soc=18.0)
2024-01-05 04:37:10,911 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-05 04:37:10,913 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-05 04:37:10,915 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=37.33, exported=7904493.99, dc_power=None)
2024-01-05 04:37:10,916 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-05 04:37:10,917 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=37.33, exported=7904493.99, dc_power=None)
2024-01-05 04:37:10,919 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:37:10,929 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=297597.9121162105, dc_power=None)
2024-01-05 04:37:11,010 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-05 04:37:11,011 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[7.0, 6.1000000000000005, 6.800000000000001], powers=[1631.0, 1444.0, 1582.0], voltages=[239.61, 240.4, 238.44], power_factors=[0.9710000000000001, 0.9739, 0.9629000000000001], imported=7338288.0, exported=4871307.0, power=4659.0, frequency=50.0)
2024-01-05 04:37:11,212 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-05 04:37:11,220 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-05 04:37:11,230 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [62.03, 62.96, 62.3]A
2024-01-05 04:37:11,231 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 42653.979999999996W
2024-01-05 04:37:11,234 - {control.ev:857} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-05 04:37:11,237 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-05 04:37:11,238 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-05 04:37:11,240 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-05 04:09:13.043478 end 2024-01-05 05:40:00 now 2024-01-05 04:37:11.240280
2024-01-05 04:37:11,242 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -1678.196802s, Dauer 1.5130434782608697h, Termin heute verpasst: False
2024-01-05 04:37:11,244 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:23:32.173913 start_time 2024-01-06 05:16:27.826087 end 2024-01-06 05:40:00 now 2024-01-05 04:37:11.243757
2024-01-05 04:37:11,245 - {control.ev:730} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 88756.58233s, Dauer 0.39227053140096624h, Termin heute verpasst: False
2024-01-05 04:37:11,246 - {control.ev:779} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-05 04:37:11,249 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.
2024-01-05 04:37:11,251 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 6.1
2024-01-05 04:37:11,261 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1704425821.8145967, power=308.84000000000015, imported=3360653.9072717996, exported=0)
2024-01-05 04:37:11,263 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00262399, power1: 308.84, power2: 308.69
2024-01-05 04:37:11,271 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.810196
2024-01-05 04:37:11,272 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.810196 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1704425831.2609587, power=308.6900000000005, imported=3360654.717467902, exported=0)
2024-01-05 04:37:11,275 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=18, daily_exported=0.0, daily_imported=0.0, imported=154654.68, exported=119765.69, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-05 04:37:11,277 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=18, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=154654.68, exported=119765.69, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-05 04:37:11,284 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=4471.19, daily_exported=0, power=4312.98, imported=7211381.84, exported=0))
2024-01-05 04:37: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', failed_phase_switches=1, imported_at_plan_start=7206743.16, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=6, required_currents=[6, 6, 6], state=4, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=68), currents=[6.06, 6.1, 6.03], daily_imported=4471.19, daily_exported=0, evse_current=600, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7211381.84, phases_in_use=3, plug_state=True, power=4312.98, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Die Einstellungen in dem Fahrzeug-Profil beschränken den Strom auf mindestens 6 A.', vehicle_id=None, voltages=[240.83, 238.87, 240.05]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=6, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.6965, imported_at_mode_switch=7206743.16, imported_at_plugtime=7206743.16, imported_since_mode_switch=4626.959999999963, imported_since_plugged=4626.959999999963, range_charged=23.134799999999814, time_charged='4:25', timestamp_start_charging=1704409901.355956, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1704400652.023546, required_power=4140, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x70b50f10>), 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))
2024-01-05 04:37:11,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=[])
2024-01-05 04:37:11,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'])
2024-01-05 04:37:11,292 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[63, 63, 63], max_total_power=43000), get=Get(powers=[1631.0, 1444.0, 1582.0], currents=[7.0, 6.1, 6.8], voltages=[239.61, 240.4, 238.44], power_factors=[0.97, 0.97, 0.96], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=10256.0, imported=7338288.0, exported=4871307.0, fault_state=0, fault_str='Kein Fehler.', power=4659.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=42653.979999999996, raw_currents_left=[62.03, 62.96, 62.3], surplus_power_left=0, state_str=''))
