2024-01-16 03:52:51,571 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:52:51,580 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=50.33))
2024-01-16 03:52:51,582 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=50.33))
2024-01-16 03:52:51,583 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373562, 'time': '03:52:42', 'grid': 0.317, 'house-power': 0.268, 'charging-all': 0.0, 'pv-all': -0.049, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:52:51,584 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:52:51,586 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:52:51,587 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:52:51,587 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:52:51,588 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:52:51,588 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:52:51,588 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:52:51,589 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:52:51,589 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:52:51,592 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:52:51,594 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:52:51,598 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:52:51,599 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -423.0W
2024-01-16 03:52:51,600 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -423.0W
2024-01-16 03:52:51,602 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:52:51,604 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:52:51,605 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:52:51,609 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:52:51,619 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:52:51,661 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:52:51,895 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:52:55,934 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:52:55,935 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:53:00,951 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:53:00,952 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:53:01,025 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:53:01,027 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:53:01,031 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:53:01,040 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:53:01,042 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:53:01,099 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-336, -201, -27, -106], Scale 0
2024-01-16 03:53:01,101 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:53:01,104 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373579},"temperature":{"tC":26.8, "tF":80.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:53","unixtime":1705373581,"uptime":4732959,"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":-71},"ws":{"connected":false}}

2024-01-16 03:53:01,109 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373570.5425982, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:53:01,110 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0029351, power1: 0, power2: 0
2024-01-16 03:53:01,111 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:53:01,112 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373581.1089559, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:53:01,113 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:53:01,119 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 4, 11], Scale -1
2024-01-16 03:53:01,141 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23786, 23966, 23854, 0, 0, 0, 0], Scale -2
2024-01-16 03:53:01,235 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 03:53:01,263 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7129, 2380, 3860], Scale -2
2024-01-16 03:53:01,292 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015791, 3302427, 2344293, 2924233], Scale 0
2024-01-16 03:53:01,293 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.4, 1.1], powers=[201.0, 27.0, 106.0], voltages=[237.86, 239.66, 238.54], power_factors=[0.7129000000000001, 0.23800000000000002, 0.386], imported=8015791.0, exported=4871567.0, power=336.0, frequency=50.0)
2024-01-16 03:53:01,294 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:53:01,333 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4845], Scale -2
2024-01-16 03:53:01,358 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:53:01,379 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 32, 30], Scale -2
2024-01-16 03:53:01,420 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4482], Scale -2
2024-01-16 03:53:01,420 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.32, 0.3], power=48.45, exported=7896155.0, dc_power=44.82)
2024-01-16 03:53:01,422 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:53:01,499 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373571.187603, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:53:01,500 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00286434, power1: 0, power2: 0
2024-01-16 03:53:01,500 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:53:01,500 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373581.4992151, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:53:01,502 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:53:01,512 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:53:01,521 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:53:01,574 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:53:01,575 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:53:01,577 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=48.45, exported=7934579.61, dc_power=None)
2024-01-16 03:53:01,578 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=48.45, exported=7934579.61, dc_power=None)
2024-01-16 03:53:01,582 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:53:01,592 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:53:01,597 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:53:01,666 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:53:01,667 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.4, 1.1], powers=[201.0, 27.0, 106.0], voltages=[237.86, 239.66, 238.54], power_factors=[0.7129000000000001, 0.23800000000000002, 0.386], imported=8015791.0, exported=4871567.0, power=336.0, frequency=50.0)
2024-01-16 03:53:01,858 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:53:01,860 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:53:01,862 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [34.0, 34.7, 33.9]A
2024-01-16 03:53:01,863 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23664.0W
2024-01-16 03:53:01,866 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:53:01,868 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:53:01,869 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:53:01,871 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:53:01.870802
2024-01-16 03:53:01,872 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1576.390068s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:53:01,874 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:53:01.874179
2024-01-16 03:53:01,880 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177402.473647s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:53:01,882 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:53:01.882230
2024-01-16 03:53:01,884 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8107.099621s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:53:01,885 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:53:01.885266
2024-01-16 03:53:01,890 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173771.158212s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:53:01,894 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:53:01,939 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:53:01,941 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:53:01,981 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373571.520915, power=272.67, imported=3844657.035349878, exported=0)
2024-01-16 03:53:01,982 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00290558, power1: 272.67, power2: 287.55
2024-01-16 03:53:01,987 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.813881
2024-01-16 03:53:01,988 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.813881 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373581.9809883, power=287.55, imported=3844657.849230743, exported=0)
2024-01-16 03:53:01,994 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:53:01,995 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:53:01,997 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:53:01,998 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.26, 239.06, 238.41]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1dccb8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:53:01,999 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:53:02,001 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:53:02,002 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[201.0, 27.0, 106.0], currents=[1.0, 0.4, 1.1], voltages=[237.86, 239.66, 238.54], power_factors=[0.71, 0.24, 0.39], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=5982.0, imported=8015791.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=336.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23664.0, raw_currents_left=[34.0, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:53:02,003 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=287.55, invalid_home_consumption=0, daily_yield_home_consumption=5724.188139548, imported_home_consumption=3844657.849230743, disengageable_smarthome_power=0))
2024-01-16 03:53:02,004 - {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-16 03:53:02,005 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:53:02,006 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:53:02,007 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:53:02,008 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:53:02,009 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:53:02,010 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:53:02,011 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:53:02,012 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:53:02,018 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-16 03:53:02,019 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:53:02,021 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-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-16 03:53:02,022 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:53:02,023 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:53:02,025 - {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 0x6c1ed568>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:53:02,027 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:53:02,028 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=48.45))
2024-01-16 03:53:02,028 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=48.45))
2024-01-16 03:53:02,029 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373571, 'time': '03:52:51', 'grid': 0.323, 'house-power': 0.273, 'charging-all': 0.0, 'pv-all': -0.05, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:53:02,029 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:53:02,029 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:53:02,030 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:53:02,031 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:53:02,033 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:53:02,035 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:53:02,036 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:53:02,039 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:53:02,043 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:53:02,048 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:53:02,060 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:53:02,063 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:53:02,063 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -436.0W
2024-01-16 03:53:02,065 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -436.0W
2024-01-16 03:53:02,066 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:53:02,067 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:53:02,069 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:53:02,073 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:53:02,076 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:53:02,109 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:53:02,371 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:53:02,373 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:53:05,381 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:53:05,382 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:53:10,395 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:53:10,396 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:53:10,474 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:53:10,478 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:53:10,486 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:53:10,490 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:53:10,500 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:53:10,526 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-333, -199, -27, -107], Scale 0
2024-01-16 03:53:10,536 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:53:10,538 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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.0, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373589},"temperature":{"tC":26.9, "tF":80.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:53","unixtime":1705373591,"uptime":4732968,"ram_size":248936,"ram_free":144388,"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-16 03:53:10,542 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373581.1089559, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:53:10,543 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00262031, power1: 0, power2: 0
2024-01-16 03:53:10,545 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:53:10,549 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373590.5420873, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:53:10,551 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:53:10,618 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 4, 11], Scale -1
2024-01-16 03:53:10,659 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23786, 23974, 23857, 0, 0, 0, 0], Scale -2
2024-01-16 03:53:10,687 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 03:53:10,707 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7459, 2319, 3819], Scale -2
2024-01-16 03:53:10,728 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015791, 3302427, 2344293, 2924233], Scale 0
2024-01-16 03:53:10,728 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.4, 1.1], powers=[199.0, 27.0, 107.0], voltages=[237.86, 239.74, 238.57], power_factors=[0.7459, 0.23190000000000002, 0.38189999999999996], imported=8015791.0, exported=4871567.0, power=333.0, frequency=50.0)
2024-01-16 03:53:10,730 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:53:10,787 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4637], Scale -2
2024-01-16 03:53:10,860 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:53:10,888 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 31], Scale -2
2024-01-16 03:53:10,910 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4676], Scale -2
2024-01-16 03:53:10,911 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.31], power=46.37, exported=7896155.0, dc_power=46.76)
2024-01-16 03:53:10,917 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:53:10,974 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373581.4992151, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:53:10,975 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00263206, power1: 0, power2: 0
2024-01-16 03:53:10,975 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:53:10,976 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373590.9746282, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:53:10,977 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:53:10,981 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:53:10,983 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:53:11,028 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:53:11,028 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:53:11,029 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:53:11,031 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.37, exported=7934579.61, dc_power=None)
2024-01-16 03:53:11,032 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:53:11,038 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.37, exported=7934579.61, dc_power=None)
2024-01-16 03:53:11,042 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:53:11,096 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:53:11,097 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.4, 1.1], powers=[199.0, 27.0, 107.0], voltages=[237.86, 239.74, 238.57], power_factors=[0.7459, 0.23190000000000002, 0.38189999999999996], imported=8015791.0, exported=4871567.0, power=333.0, frequency=50.0)
2024-01-16 03:53:11,256 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:53:11,261 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:53:11,273 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.9, 34.7, 33.9]A
2024-01-16 03:53:11,278 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23667.0W
2024-01-16 03:53:11,279 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:53:11,280 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:53:11,282 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:53:11,283 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:53:11.282886
2024-01-16 03:53:11,285 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1566.977984s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:53:11,286 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:53:11.285955
2024-01-16 03:53:11,289 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177393.061871s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:53:11,290 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:53:11.290532
2024-01-16 03:53:11,292 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8116.507923s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:53:11,293 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:53:11.293017
2024-01-16 03:53:11,294 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173761.750461s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:53:11,295 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:53:11,303 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:53:11,310 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:53:11,343 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373581.9809883, power=287.55, imported=3844657.849230743, exported=0)
2024-01-16 03:53:11,346 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00260061, power1: 287.55, power2: 286.63
2024-01-16 03:53:11,350 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.746608
2024-01-16 03:53:11,355 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.746608 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373591.3431733, power=286.63, imported=3844658.595838991, exported=0)
2024-01-16 03:53:11,359 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:53:11,360 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:53:11,362 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:53:11,364 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.1, 238.96, 238.28]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f791238>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:53:11,366 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:53:11,369 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:53:11,373 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[199.0, 27.0, 107.0], currents=[1.1, 0.4, 1.1], voltages=[237.86, 239.74, 238.57], power_factors=[0.75, 0.23, 0.38], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=5982.0, imported=8015791.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=333.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23667.0, raw_currents_left=[33.9, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:53:11,375 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=286.63, invalid_home_consumption=0, daily_yield_home_consumption=5724.188139548, imported_home_consumption=3844658.595838991, disengageable_smarthome_power=0))
2024-01-16 03:53:11,377 - {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-16 03:53:11,380 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:53:11,382 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:53:11,385 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:53:11,387 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:53:11,389 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:53:11,391 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:53:11,392 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:53:11,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-16 03:53:11,393 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-16 03:53:11,394 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:53:11,395 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-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-16 03:53:11,398 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:53:11,400 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:53:11,401 - {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 0x6c1c1400>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:53:11,403 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:53:11,404 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=46.37))
2024-01-16 03:53:11,412 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=46.37))
2024-01-16 03:53:11,414 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373582, 'time': '03:53:02', 'grid': 0.336, 'house-power': 0.288, 'charging-all': 0.0, 'pv-all': -0.048, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:53:11,416 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:53:11,416 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:53:11,417 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:53:11,418 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:53:11,422 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:53:11,422 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:53:11,424 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:53:11,425 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:53:11,425 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:53:11,427 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:53:11,429 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:53:11,430 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:53:11,431 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -433.0W
2024-01-16 03:53:11,431 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -433.0W
2024-01-16 03:53:11,431 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:53:11,432 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:53:11,432 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:53:11,434 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:53:11,435 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:53:11,459 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:53:11,696 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:53:15,734 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:53:15,735 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:53:20,748 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:53:20,749 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:53:20,788 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:53:20,789 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:53:20,792 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:53:20,801 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:53:20,808 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:53:20,838 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-330, -197, -27, -105], Scale 0
2024-01-16 03:53:20,845 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:53:20,852 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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.1, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373599},"temperature":{"tC":26.8, "tF":80.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:53","unixtime":1705373601,"uptime":4732979,"ram_size":248936,"ram_free":144400,"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-16 03:53:20,854 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373590.5420873, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:53:20,855 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00286459, power1: 0, power2: 0
2024-01-16 03:53:20,855 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:53:20,856 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373600.8545976, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:53:20,857 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:53:20,921 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 4, 11], Scale -1
2024-01-16 03:53:20,958 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23778, 23957, 23846, 0, 0, 0, 0], Scale -2
2024-01-16 03:53:20,988 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 03:53:21,009 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7450, 2360, 3810], Scale -2
2024-01-16 03:53:21,029 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015793, 3302428, 2344294, 2924233], Scale 0
2024-01-16 03:53:21,030 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.4, 1.1], powers=[197.0, 27.0, 105.0], voltages=[237.78, 239.57, 238.46], power_factors=[0.745, 0.23600000000000002, 0.381], imported=8015793.0, exported=4871567.0, power=330.0, frequency=50.0)
2024-01-16 03:53:21,042 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:53:21,057 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4599], Scale -2
2024-01-16 03:53:21,092 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:53:21,160 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 31], Scale -2
2024-01-16 03:53:21,177 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4695], Scale -2
2024-01-16 03:53:21,177 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.31], power=45.99, exported=7896155.0, dc_power=46.95)
2024-01-16 03:53:21,192 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:53:21,289 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373590.9746282, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:53:21,290 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00286533, power1: 0, power2: 0
2024-01-16 03:53:21,291 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:53:21,292 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373601.2897997, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:53:21,296 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:53:21,303 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:53:21,313 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:53:21,351 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:53:21,360 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:53:21,362 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:53:21,367 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=45.99, exported=7934579.61, dc_power=None)
2024-01-16 03:53:21,368 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:53:21,369 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=45.99, exported=7934579.61, dc_power=None)
2024-01-16 03:53:21,369 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:53:21,428 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:53:21,430 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.4, 1.1], powers=[197.0, 27.0, 105.0], voltages=[237.78, 239.57, 238.46], power_factors=[0.745, 0.23600000000000002, 0.381], imported=8015793.0, exported=4871567.0, power=330.0, frequency=50.0)
2024-01-16 03:53:21,610 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:53:21,611 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:53:21,614 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.9, 34.7, 33.9]A
2024-01-16 03:53:21,615 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23670.0W
2024-01-16 03:53:21,616 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:53:21,619 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:53:21,621 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:53:21,622 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:53:21.622102
2024-01-16 03:53:21,623 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1556.638768s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:53:21,625 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:53:21.624565
2024-01-16 03:53:21,626 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177382.723261s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:53:21,628 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:53:21.628581
2024-01-16 03:53:21,630 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8126.845972s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:53:21,631 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:53:21.631390
2024-01-16 03:53:21,633 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173751.412088s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:53:21,634 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:53:21,638 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:53:21,640 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:53:21,643 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373591.3431733, power=286.63, imported=3844658.595838991, exported=0)
2024-01-16 03:53:21,645 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00286128, power1: 286.63, power2: 284.01
2024-01-16 03:53:21,650 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.816379
2024-01-16 03:53:21,651 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.816379 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373601.6437683, power=284.01, imported=3844659.4122183737, exported=0)
2024-01-16 03:53:21,656 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:53:21,679 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:53:21,681 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:53:21,683 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.12, 239.08, 238.25]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1e39b8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:53:21,684 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:53:21,685 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:53:21,686 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[197.0, 27.0, 105.0], currents=[1.1, 0.4, 1.1], voltages=[237.78, 239.57, 238.46], power_factors=[0.74, 0.24, 0.38], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=5982.0, imported=8015793.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=330.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23670.0, raw_currents_left=[33.9, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:53:21,688 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': '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.01, invalid_home_consumption=0, daily_yield_home_consumption=5724.188139548, imported_home_consumption=3844659.4122183737, disengageable_smarthome_power=0))
2024-01-16 03:53:21,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-16 03:53:21,691 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:53:21,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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:53:21,695 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:53:21,696 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:53:21,697 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:53:21,698 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:53:21,702 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:53:21,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-16 03:53:21,705 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:53:21,706 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:53:21,707 - {control.data:245} - {INFO:MainThread} - general_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-16 03:53:21,708 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:53:21,710 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:53:21,711 - {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 0x6c1bf9e8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:53:21,712 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:53:21,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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=45.99))
2024-01-16 03:53:21,715 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=45.99))
2024-01-16 03:53:21,716 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373591, 'time': '03:53:11', 'grid': 0.333, 'house-power': 0.287, 'charging-all': 0.0, 'pv-all': -0.046, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:53:21,719 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:53:21,720 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:53:21,721 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:53:21,722 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:53:21,724 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:53:21,727 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:53:21,728 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:53:21,729 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:53:21,730 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:53:21,734 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:53:21,736 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:53:21,738 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:53:21,739 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -430.0W
2024-01-16 03:53:21,740 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -430.0W
2024-01-16 03:53:21,741 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:53:21,743 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:53:21,744 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:53:21,753 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:53:21,756 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:53:21,795 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:53:22,074 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:53:22,075 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:53:25,083 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:53:25,084 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:53:30,096 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:53:30,098 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:53:30,163 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:53:30,164 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:53:30,165 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:53:30,175 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:53:30,176 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:53:30,220 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-334, -197, -26, -110], Scale 0
2024-01-16 03:53:30,222 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:53:30,227 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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.1, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373608},"temperature":{"tC":26.8, "tF":80.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:53","unixtime":1705373610,"uptime":4732988,"ram_size":249000,"ram_free":145112,"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-16 03:53:30,233 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373600.8545976, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:53:30,234 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00260512, power1: 0, power2: 0
2024-01-16 03:53:30,236 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:53:30,238 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373610.2330368, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:53:30,241 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:53:30,248 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 4, 11], Scale -1
2024-01-16 03:53:30,280 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23813, 23991, 23882, 0, 0, 0, 0], Scale -2
2024-01-16 03:53:30,327 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 03:53:30,369 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7409, 2399, 3759], Scale -2
2024-01-16 03:53:30,391 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015794, 3302428, 2344294, 2924233], Scale 0
2024-01-16 03:53:30,392 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.4, 1.1], powers=[197.0, 26.0, 110.0], voltages=[238.13, 239.91, 238.82], power_factors=[0.7409, 0.23990000000000003, 0.3759], imported=8015794.0, exported=4871567.0, power=334.0, frequency=50.0)
2024-01-16 03:53:30,395 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:53:30,480 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4227], Scale -2
2024-01-16 03:53:30,498 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:53:30,543 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 30], Scale -2
2024-01-16 03:53:30,570 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4969], Scale -2
2024-01-16 03:53:30,570 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.3], power=42.27, exported=7896155.0, dc_power=49.69)
2024-01-16 03:53:30,572 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:53:30,627 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373601.2897997, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:53:30,628 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00259384, power1: 0, power2: 0
2024-01-16 03:53:30,628 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:53:30,629 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373610.6276217, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:53:30,630 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:53:30,633 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:53:30,635 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:53:30,680 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:53:30,681 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:53:30,682 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:53:30,683 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=42.27, exported=7934579.61, dc_power=None)
2024-01-16 03:53:30,684 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:53:30,685 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=42.27, exported=7934579.61, dc_power=None)
2024-01-16 03:53:30,688 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:53:30,743 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:53:30,744 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.4, 1.1], powers=[197.0, 26.0, 110.0], voltages=[238.13, 239.91, 238.82], power_factors=[0.7409, 0.23990000000000003, 0.3759], imported=8015794.0, exported=4871567.0, power=334.0, frequency=50.0)
2024-01-16 03:53:30,904 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:53:30,907 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:53:30,909 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.9, 34.7, 33.9]A
2024-01-16 03:53:30,910 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23666.0W
2024-01-16 03:53:30,912 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:53:30,929 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:53:30,930 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:53:30,931 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:53:30.931267
2024-01-16 03:53:30,932 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1547.329603s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:53:30,936 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:53:30.935673
2024-01-16 03:53:30,937 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177373.412153s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:53:30,939 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:53:30.938804
2024-01-16 03:53:30,942 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8136.156195s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:53:30,944 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:53:30.943854
2024-01-16 03:53:30,944 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173742.099624s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:53:30,945 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:53:30,949 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:53:30,952 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:53:30,975 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373601.6437683, power=284.01, imported=3844659.4122183737, exported=0)
2024-01-16 03:53:30,977 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00259216, power1: 284.01, power2: 291.73
2024-01-16 03:53:30,978 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.746205
2024-01-16 03:53:30,979 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.746205 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373610.9755485, power=291.73, imported=3844660.1584238084, exported=0)
2024-01-16 03:53:30,982 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:53:30,983 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:53:30,985 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:53:30,986 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.08, 239.2, 238.29]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1e3418>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:53:30,987 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:53:30,988 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:53:30,990 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[197.0, 26.0, 110.0], currents=[1.1, 0.4, 1.1], voltages=[238.13, 239.91, 238.82], power_factors=[0.74, 0.24, 0.38], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=5982.0, imported=8015794.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=334.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23666.0, raw_currents_left=[33.9, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:53:30,990 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=291.73, invalid_home_consumption=0, daily_yield_home_consumption=5724.188139548, imported_home_consumption=3844660.1584238084, disengageable_smarthome_power=0))
2024-01-16 03:53:30,992 - {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-16 03:53:30,993 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:53:30,994 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:53:30,995 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:53:30,997 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:53:30,998 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:53:30,999 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:53:31,000 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:53:31,002 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:53:31,004 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:53:31,006 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:53:31,007 - {control.data:245} - {INFO:MainThread} - general_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-16 03:53:31,008 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:53:31,009 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:53:31,010 - {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 0x6c1de0a0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:53:31,011 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:53:31,012 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=42.27))
2024-01-16 03:53:31,013 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=42.27))
2024-01-16 03:53:31,015 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373601, 'time': '03:53:21', 'grid': 0.33, 'house-power': 0.284, 'charging-all': 0.0, 'pv-all': -0.046, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:53:31,016 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:53:31,017 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:53:31,018 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:53:31,020 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:53:31,022 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:53:31,023 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:53:31,024 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:53:31,024 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:53:31,025 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:53:31,029 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:53:31,030 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:53:31,032 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:53:31,032 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -434.0W
2024-01-16 03:53:31,033 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -434.0W
2024-01-16 03:53:31,035 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:53:31,036 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:53:31,036 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:53:31,039 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:53:31,041 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:53:31,068 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:53:31,305 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:53:35,337 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:53:35,338 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:53:40,356 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:53:40,357 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:53:40,405 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:53:40,406 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:53:40,413 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:53:40,416 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:53:40,418 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:53:40,447 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-333, -196, -27, -109], Scale 0
2024-01-16 03:53:40,455 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:53:40,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.3, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373619},"temperature":{"tC":26.8, "tF":80.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:53","unixtime":1705373620,"uptime":4732998,"ram_size":249000,"ram_free":145112,"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-16 03:53:40,460 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373610.2330368, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:53:40,461 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00284104, power1: 0, power2: 0
2024-01-16 03:53:40,462 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:53:40,464 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373620.4607773, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:53:40,466 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:53:40,468 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 4, 11], Scale -1
2024-01-16 03:53:40,528 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23808, 23997, 23895, 0, 0, 0, 0], Scale -2
2024-01-16 03:53:40,587 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5002], Scale -2
2024-01-16 03:53:40,627 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7369, 2370, 3849], Scale -2
2024-01-16 03:53:40,738 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015794, 3302429, 2344294, 2924234], Scale 0
2024-01-16 03:53:40,739 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.4, 1.1], powers=[196.0, 27.0, 109.0], voltages=[238.08, 239.97, 238.95000000000002], power_factors=[0.7369, 0.237, 0.3849], imported=8015794.0, exported=4871567.0, power=333.0, frequency=50.02)
2024-01-16 03:53:40,741 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:53:40,786 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5005], Scale -2
2024-01-16 03:53:40,850 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:53:40,906 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 31], Scale -2
2024-01-16 03:53:40,983 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5081], Scale -2
2024-01-16 03:53:40,985 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.31], power=50.050000000000004, exported=7896155.0, dc_power=50.81)
2024-01-16 03:53:40,988 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:53:41,027 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373610.6276217, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:53:41,028 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00288878, power1: 0, power2: 0
2024-01-16 03:53:41,028 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:53:41,029 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373621.0272336, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:53:41,030 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:53:41,037 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:53:41,038 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:53:41,094 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:53:41,095 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:53:41,097 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=50.050000000000004, exported=7934579.61, dc_power=None)
2024-01-16 03:53:41,099 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=50.050000000000004, exported=7934579.61, dc_power=None)
2024-01-16 03:53:41,100 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:53:41,102 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:53:41,104 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:53:41,181 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:53:41,182 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.4, 1.1], powers=[196.0, 27.0, 109.0], voltages=[238.08, 239.97, 238.95000000000002], power_factors=[0.7369, 0.237, 0.3849], imported=8015794.0, exported=4871567.0, power=333.0, frequency=50.02)
2024-01-16 03:53:41,375 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:53:41,376 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:53:41,384 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.9, 34.7, 33.9]A
2024-01-16 03:53:41,386 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23667.0W
2024-01-16 03:53:41,388 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:53:41,390 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:53:41,392 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:53:41,394 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:53:41.394104
2024-01-16 03:53:41,396 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1536.866766s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:53:41,398 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:53:41.398446
2024-01-16 03:53:41,399 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177362.94938s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:53:41,401 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:53:41.401533
2024-01-16 03:53:41,405 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8146.618924s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:53:41,407 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:53:41.406835
2024-01-16 03:53:41,408 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173731.636643s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:53:41,409 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:53:41,415 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:53:41,416 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:53:41,427 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373610.9755485, power=291.73, imported=3844660.1584238084, exported=0)
2024-01-16 03:53:41,428 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00290321, power1: 291.73, power2: 282.95
2024-01-16 03:53:41,430 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.83421
2024-01-16 03:53:41,432 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.83421 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373621.4271197, power=282.95, imported=3844660.992633385, exported=0)
2024-01-16 03:53:41,434 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:53:41,435 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:53:41,438 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:53:41,440 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.34, 239.35, 238.48]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1ce9a0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:53:41,443 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-16 03:53:41,445 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:53:41,446 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[196.0, 27.0, 109.0], currents=[1.1, 0.4, 1.1], voltages=[238.08, 239.97, 238.95], power_factors=[0.74, 0.24, 0.38], unbalanced_load=0, frequency=50.02, daily_exported=0.0, daily_imported=5982.0, imported=8015794.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=333.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23667.0, raw_currents_left=[33.9, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:53:41,451 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=282.95, invalid_home_consumption=0, daily_yield_home_consumption=5724.188139548, imported_home_consumption=3844660.992633385, disengageable_smarthome_power=0))
2024-01-16 03:53:41,456 - {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-16 03:53:41,461 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:53:41,466 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:53:41,468 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:53:41,471 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:53:41,471 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:53:41,472 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:53:41,472 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:53:41,472 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:53:41,473 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:53:41,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=1, keep_charge_active_duration=40)
2024-01-16 03:53:41,474 - {control.data:245} - {INFO:MainThread} - general_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-16 03:53:41,474 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:53:41,474 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:53:41,475 - {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 0x6c1ed6d0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:53:41,475 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:53:41,476 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=50.05))
2024-01-16 03:53:41,477 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=50.05))
2024-01-16 03:53:41,478 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373611, 'time': '03:53:31', 'grid': 0.334, 'house-power': 0.292, 'charging-all': 0.0, 'pv-all': -0.042, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:53:41,480 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:53:41,485 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:53:41,486 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:53:41,487 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:53:41,490 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:53:41,492 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:53:41,493 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:53:41,494 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:53:41,495 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:53:41,500 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:53:41,506 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:53:41,512 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:53:41,528 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -433.0W
2024-01-16 03:53:41,528 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -433.0W
2024-01-16 03:53:41,529 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:53:41,529 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:53:41,530 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:53:41,534 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:53:41,539 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:53:41,581 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:53:41,848 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:53:41,856 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:53:45,866 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:53:50,879 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:53:50,880 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:53:50,920 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:53:50,923 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:53:50,928 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:53:50,933 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:53:50,944 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:53:50,990 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-335, -199, -28, -107], Scale 0
2024-01-16 03:53:51,004 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:53:51,006 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373629},"temperature":{"tC":26.8, "tF":80.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:53","unixtime":1705373631,"uptime":4733009,"ram_size":249000,"ram_free":145112,"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-16 03:53:51,010 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 4, 11], Scale -1
2024-01-16 03:53:51,013 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373620.4607773, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:53:51,014 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00293123, power1: 0, power2: 0
2024-01-16 03:53:51,014 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:53:51,015 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373631.0131881, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:53:51,016 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:53:51,029 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23814, 23992, 23901, 0, 0, 0, 0], Scale -2
2024-01-16 03:53:51,078 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 03:53:51,108 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7409, 2329, 3869], Scale -2
2024-01-16 03:53:51,129 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015796, 3302430, 2344294, 2924234], Scale 0
2024-01-16 03:53:51,129 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.4, 1.1], powers=[199.0, 28.0, 107.0], voltages=[238.14000000000001, 239.92000000000002, 239.01], power_factors=[0.7409, 0.2329, 0.38689999999999997], imported=8015796.0, exported=4871567.0, power=335.0, frequency=50.0)
2024-01-16 03:53:51,131 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:53:51,163 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4930], Scale -2
2024-01-16 03:53:51,251 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:53:51,278 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 30], Scale -2
2024-01-16 03:53:51,300 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5299], Scale -2
2024-01-16 03:53:51,301 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.3], power=49.300000000000004, exported=7896155.0, dc_power=52.99)
2024-01-16 03:53:51,303 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:53:51,358 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373621.0272336, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:53:51,359 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00286985, power1: 0, power2: 0
2024-01-16 03:53:51,360 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:53:51,361 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373631.3586853, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:53:51,363 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:53:51,383 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:53:51,386 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:53:51,438 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:53:51,439 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:53:51,440 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=49.300000000000004, exported=7934579.61, dc_power=None)
2024-01-16 03:53:51,442 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=49.300000000000004, exported=7934579.61, dc_power=None)
2024-01-16 03:53:51,443 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:53:51,451 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:53:51,452 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:53:51,519 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:53:51,519 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.4, 1.1], powers=[199.0, 28.0, 107.0], voltages=[238.14000000000001, 239.92000000000002, 239.01], power_factors=[0.7409, 0.2329, 0.38689999999999997], imported=8015796.0, exported=4871567.0, power=335.0, frequency=50.0)
2024-01-16 03:53:51,690 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:53:51,692 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:53:51,694 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.9, 34.7, 33.9]A
2024-01-16 03:53:51,696 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23665.0W
2024-01-16 03:53:51,698 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:53:51,699 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:53:51,700 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:53:51,702 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:53:51.701724
2024-01-16 03:53:51,703 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1526.559146s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:53:51,705 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:53:51.704570
2024-01-16 03:53:51,706 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177352.643256s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:53:51,708 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:53:51.707916
2024-01-16 03:53:51,710 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8156.925307s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:53:51,711 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:53:51.710876
2024-01-16 03:53:51,713 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173721.332602s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:53:51,715 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:53:51,719 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:53:51,721 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:53:51,731 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373621.4271197, power=282.95, imported=3844660.992633385, exported=0)
2024-01-16 03:53:51,733 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00286233, power1: 282.95, power2: 285.7
2024-01-16 03:53:51,734 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.813831
2024-01-16 03:53:51,736 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.813831 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373631.7314901, power=285.7, imported=3844661.8064639727, exported=0)
2024-01-16 03:53:51,738 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:53:51,739 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:53:51,740 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:53:51,741 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.35, 239.45, 238.56]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1beb50>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:53:51,742 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:53:51,743 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:53:51,744 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[199.0, 28.0, 107.0], currents=[1.1, 0.4, 1.1], voltages=[238.14, 239.92, 239.01], power_factors=[0.74, 0.23, 0.39], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=5982.0, imported=8015796.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=335.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23665.0, raw_currents_left=[33.9, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:53:51,746 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=285.7, invalid_home_consumption=0, daily_yield_home_consumption=5724.188139548, imported_home_consumption=3844661.8064639727, disengageable_smarthome_power=0))
2024-01-16 03:53:51,748 - {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-16 03:53:51,749 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:53:51,751 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:53:51,752 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:53:51,753 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:53:51,754 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:53:51,755 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:53:51,757 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:53:51,758 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:53:51,759 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:53:51,761 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:53:51,763 - {control.data:245} - {INFO:MainThread} - general_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-16 03:53:51,764 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:53:51,766 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:53:51,767 - {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 0x6c1bfc10>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:53:51,769 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:53:51,772 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=49.3))
2024-01-16 03:53:51,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=8233395.285, power=49.3))
2024-01-16 03:53:51,776 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373621, 'time': '03:53:41', 'grid': 0.333, 'house-power': 0.283, 'charging-all': 0.0, 'pv-all': -0.05, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:53:51,778 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:53:51,783 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:53:51,787 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:53:51,791 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:53:51,794 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:53:51,795 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:53:51,796 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:53:51,801 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:53:51,804 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:53:51,807 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:53:51,811 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:53:51,815 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:53:51,817 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -435.0W
2024-01-16 03:53:51,819 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -435.0W
2024-01-16 03:53:51,822 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:53:51,827 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:53:51,828 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:53:51,838 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:53:51,843 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:53:51,894 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:53:52,339 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:53:52,341 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:53:55,353 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:53:55,354 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:54:00,367 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:54:00,368 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:54:00,409 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:54:00,410 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:54:00,411 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:54:00,418 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:54:00,420 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:54:00,475 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-333, -197, -27, -107], Scale 0
2024-01-16 03:54:00,510 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:54:00,514 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373639},"temperature":{"tC":26.8, "tF":80.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:54","unixtime":1705373641,"uptime":4733018,"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":-71},"ws":{"connected":false}}

2024-01-16 03:54:00,517 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373631.0131881, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:54:00,518 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00263993, power1: 0, power2: 0
2024-01-16 03:54:00,518 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:54:00,520 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373640.5169477, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:54:00,523 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 5, 11], Scale -1
2024-01-16 03:54:00,524 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:54:00,546 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23802, 23978, 23885, 0, 0, 0, 0], Scale -2
2024-01-16 03:54:00,589 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 03:54:00,626 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7409, 2349, 3860], Scale -2
2024-01-16 03:54:00,658 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015797, 3302430, 2344294, 2924234], Scale 0
2024-01-16 03:54:00,659 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.5, 1.1], powers=[197.0, 27.0, 107.0], voltages=[238.02, 239.78, 238.85], power_factors=[0.7409, 0.23490000000000003, 0.386], imported=8015797.0, exported=4871567.0, power=333.0, frequency=50.0)
2024-01-16 03:54:00,661 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:54:00,727 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4851], Scale -2
2024-01-16 03:54:00,747 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:54:00,770 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 29], Scale -2
2024-01-16 03:54:00,798 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4924], Scale -2
2024-01-16 03:54:00,799 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.29], power=48.51, exported=7896155.0, dc_power=49.24)
2024-01-16 03:54:00,801 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:54:00,848 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373631.3586853, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:54:00,849 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.0026359, power1: 0, power2: 0
2024-01-16 03:54:00,849 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:54:00,850 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373640.847922, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:54:00,851 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:54:00,856 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:54:00,857 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:54:00,937 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:54:00,939 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:54:00,945 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:54:00,948 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=48.51, exported=7934579.61, dc_power=None)
2024-01-16 03:54:00,949 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:54:00,951 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=48.51, exported=7934579.61, dc_power=None)
2024-01-16 03:54:00,955 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:54:01,013 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:54:01,014 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.5, 1.1], powers=[197.0, 27.0, 107.0], voltages=[238.02, 239.78, 238.85], power_factors=[0.7409, 0.23490000000000003, 0.386], imported=8015797.0, exported=4871567.0, power=333.0, frequency=50.0)
2024-01-16 03:54:01,181 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:54:01,183 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:54:01,185 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.9, 34.6, 33.9]A
2024-01-16 03:54:01,186 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23667.0W
2024-01-16 03:54:01,187 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:54:01,190 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:54:01,191 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:54:01,193 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:54:01.192964
2024-01-16 03:54:01,194 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1517.067906s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:54:01,199 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:54:01.198789
2024-01-16 03:54:01,203 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177343.149037s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:54:01,204 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:54:01.204331
2024-01-16 03:54:01,205 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8166.421722s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:54:01,207 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:54:01.206985
2024-01-16 03:54:01,208 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173711.836493s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:54:01,209 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:54:01,212 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:54:01,213 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:54:01,219 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373631.7314901, power=285.7, imported=3844661.8064639727, exported=0)
2024-01-16 03:54:01,220 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00263555, power1: 285.7, power2: 284.49
2024-01-16 03:54:01,221 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.751383
2024-01-16 03:54:01,224 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.751383 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373641.2194784, power=284.49, imported=3844662.557846752, exported=0)
2024-01-16 03:54:01,229 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:54:01,232 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:54:01,233 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:54:01,237 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.19, 239.27, 238.44]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1d3268>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:54:01,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-16 03:54:01,245 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:54:01,248 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[197.0, 27.0, 107.0], currents=[1.1, 0.5, 1.1], voltages=[238.02, 239.78, 238.85], power_factors=[0.74, 0.23, 0.39], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=5982.0, imported=8015797.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=333.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23667.0, raw_currents_left=[33.9, 34.6, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:54:01,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=284.49, invalid_home_consumption=0, daily_yield_home_consumption=5724.188139548, imported_home_consumption=3844662.557846752, disengageable_smarthome_power=0))
2024-01-16 03:54:01,260 - {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-16 03:54:01,261 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:54:01,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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:54:01,264 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:54:01,266 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:54:01,267 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:54:01,268 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:54:01,269 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:54:01,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-16 03:54:01,271 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:54:01,276 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:54:01,277 - {control.data:245} - {INFO:MainThread} - general_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-16 03:54:01,281 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:54:01,283 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:54:01,284 - {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 0x6c1bf400>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:54:01,285 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:54:01,286 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=48.51))
2024-01-16 03:54:01,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=8233395.285, power=48.51))
2024-01-16 03:54:01,289 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373631, 'time': '03:53:51', 'grid': 0.335, 'house-power': 0.286, 'charging-all': 0.0, 'pv-all': -0.049, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:54:01,290 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:54:01,291 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:54:01,293 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:54:01,295 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:54:01,296 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:54:01,298 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:54:01,299 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:54:01,301 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:54:01,302 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:54:01,304 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:54:01,307 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:54:01,309 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:54:01,310 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -433.0W
2024-01-16 03:54:01,312 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -433.0W
2024-01-16 03:54:01,318 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:54:01,319 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:54:01,321 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:54:01,325 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:54:01,329 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:54:01,369 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:54:01,595 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:54:05,625 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:54:05,626 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:54:10,639 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:54:10,640 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:54:10,687 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:54:10,688 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:54:10,695 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:54:10,697 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:54:10,722 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:54:10,762 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:54:10,764 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373649},"temperature":{"tC":26.8, "tF":80.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:54","unixtime":1705373651,"uptime":4733029,"ram_size":248936,"ram_free":144388,"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-16 03:54:10,767 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373640.5169477, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:54:10,768 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00284734, power1: 0, power2: 0
2024-01-16 03:54:10,768 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:54:10,769 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373650.7673576, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:54:10,770 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:54:10,781 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-337, -197, -27, -112], Scale 0
2024-01-16 03:54:10,808 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 4, 11], Scale -1
2024-01-16 03:54:10,877 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23797, 23978, 23881, 0, 0, 0, 0], Scale -2
2024-01-16 03:54:10,908 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 03:54:10,937 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7400, 2380, 3819], Scale -2
2024-01-16 03:54:10,983 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015798, 3302431, 2344294, 2924234], Scale 0
2024-01-16 03:54:10,984 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.4, 1.1], powers=[197.0, 27.0, 112.0], voltages=[237.97, 239.78, 238.81], power_factors=[0.74, 0.23800000000000002, 0.38189999999999996], imported=8015798.0, exported=4871567.0, power=337.0, frequency=50.0)
2024-01-16 03:54:10,986 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:54:11,017 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4481], Scale -2
2024-01-16 03:54:11,036 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:54:11,055 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 30, 30], Scale -2
2024-01-16 03:54:11,098 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4550], Scale -2
2024-01-16 03:54:11,098 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.3, 0.3], power=44.81, exported=7896155.0, dc_power=45.5)
2024-01-16 03:54:11,100 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:54:11,151 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373640.847922, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:54:11,152 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00286202, power1: 0, power2: 0
2024-01-16 03:54:11,152 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:54:11,153 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373651.1511948, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:54:11,154 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:54:11,159 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:54:11,160 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:54:11,214 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:54:11,215 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:54:11,216 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:54:11,229 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:54:11,230 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:54:11,217 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=44.81, exported=7934579.61, dc_power=None)
2024-01-16 03:54:11,234 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=44.81, exported=7934579.61, dc_power=None)
2024-01-16 03:54:11,300 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:54:11,301 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.4, 1.1], powers=[197.0, 27.0, 112.0], voltages=[237.97, 239.78, 238.81], power_factors=[0.74, 0.23800000000000002, 0.38189999999999996], imported=8015798.0, exported=4871567.0, power=337.0, frequency=50.0)
2024-01-16 03:54:11,487 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:54:11,489 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:54:11,493 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.9, 34.7, 33.9]A
2024-01-16 03:54:11,495 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23663.0W
2024-01-16 03:54:11,497 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:54:11,499 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:54:11,501 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:54:11,503 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:54:11.502582
2024-01-16 03:54:11,504 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1506.758288s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:54:11,505 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:54:11.505080
2024-01-16 03:54:11,507 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177332.842746s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:54:11,508 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:54:11.508152
2024-01-16 03:54:11,510 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8176.725543s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:54:11,512 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:54:11.512076
2024-01-16 03:54:11,514 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173701.531402s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:54:11,515 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:54:11,519 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:54:11,520 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:54:11,530 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373641.2194784, power=284.49, imported=3844662.557846752, exported=0)
2024-01-16 03:54:11,533 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00286409, power1: 284.49, power2: 292.19
2024-01-16 03:54:11,535 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.825831
2024-01-16 03:54:11,538 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.825831 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373651.5301952, power=292.19, imported=3844663.3836778915, exported=0)
2024-01-16 03:54:11,548 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:54:11,551 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:54:11,552 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:54:11,554 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.23, 239.3, 238.41]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1df640>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:54:11,555 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-16 03:54:11,557 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:54:11,560 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[197.0, 27.0, 112.0], currents=[1.1, 0.4, 1.1], voltages=[237.97, 239.78, 238.81], power_factors=[0.74, 0.24, 0.38], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=5982.0, imported=8015798.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=337.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23663.0, raw_currents_left=[33.9, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:54: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=292.19, invalid_home_consumption=0, daily_yield_home_consumption=5724.188139548, imported_home_consumption=3844663.3836778915, disengageable_smarthome_power=0))
2024-01-16 03:54: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-16 03:54:11,568 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:54:11,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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:54:11,571 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:54:11,571 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:54:11,573 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:54:11,574 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:54:11,575 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:54: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-16 03:54:11,581 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:54:11,583 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:54:11,587 - {control.data:245} - {INFO:MainThread} - general_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-16 03:54:11,593 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:54:11,597 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:54:11,599 - {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 0x6c1e1358>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:54:11,601 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:54:11,602 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=44.81))
2024-01-16 03:54:11,604 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=44.81))
2024-01-16 03:54:11,607 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373641, 'time': '03:54:01', 'grid': 0.333, 'house-power': 0.284, 'charging-all': 0.0, 'pv-all': -0.049, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:54:11,608 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:54:11,612 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:54:11,616 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:54:11,617 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:54:11,620 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:54:11,621 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:54:11,624 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:54:11,626 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:54:11,629 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:54:11,636 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:54:11,638 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:54:11,642 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:54:11,646 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -437.0W
2024-01-16 03:54:11,651 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -437.0W
2024-01-16 03:54:11,652 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:54:11,653 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:54:11,654 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:54:11,665 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:54:11,703 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:54:11,723 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:54:12,123 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:54:12,125 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:54:15,133 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:54:15,134 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:54:20,147 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:54:20,148 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:54:20,188 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:54:20,189 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:54:20,191 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:54:20,196 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:54:20,237 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:54:20,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":240.2, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373658},"temperature":{"tC":26.8, "tF":80.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:54","unixtime":1705373660,"uptime":4733038,"ram_size":248936,"ram_free":144400,"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":-72},"ws":{"connected":false}}

2024-01-16 03:54:20,245 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373650.7673576, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:54:20,246 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00263287, power1: 0, power2: 0
2024-01-16 03:54:20,246 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:54:20,247 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373660.245672, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:54:20,249 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:54:20,251 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:54:20,295 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-331, -196, -27, -107], Scale 0
2024-01-16 03:54:20,315 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 4, 11], Scale -1
2024-01-16 03:54:20,335 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23804, 23986, 23891, 0, 0, 0, 0], Scale -2
2024-01-16 03:54:20,367 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 03:54:20,398 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7390, 2460, 3810], Scale -2
2024-01-16 03:54:20,417 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015798, 3302431, 2344294, 2924235], Scale 0
2024-01-16 03:54:20,418 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.4, 1.1], powers=[196.0, 27.0, 107.0], voltages=[238.04, 239.86, 238.91], power_factors=[0.7390000000000001, 0.24600000000000002, 0.381], imported=8015798.0, exported=4871567.0, power=331.0, frequency=50.0)
2024-01-16 03:54:20,420 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:54:20,436 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4611], Scale -2
2024-01-16 03:54:20,487 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:54:20,517 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 30], Scale -2
2024-01-16 03:54:20,561 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4681], Scale -2
2024-01-16 03:54:20,562 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.3], power=46.11, exported=7896155.0, dc_power=46.81)
2024-01-16 03:54:20,564 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:54:20,678 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373651.1511948, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:54:20,679 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00264647, power1: 0, power2: 0
2024-01-16 03:54:20,680 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:54:20,680 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373660.6785026, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:54:20,682 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:54:20,689 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:54:20,695 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:54:20,763 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:54:20,765 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:54:20,767 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.11, exported=7934579.61, dc_power=None)
2024-01-16 03:54:20,768 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:54:20,770 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.11, exported=7934579.61, dc_power=None)
2024-01-16 03:54:20,777 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:54:20,788 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:54:20,856 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:54:20,857 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.4, 1.1], powers=[196.0, 27.0, 107.0], voltages=[238.04, 239.86, 238.91], power_factors=[0.7390000000000001, 0.24600000000000002, 0.381], imported=8015798.0, exported=4871567.0, power=331.0, frequency=50.0)
2024-01-16 03:54:21,040 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:54:21,042 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:54:21,048 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.9, 34.7, 33.9]A
2024-01-16 03:54:21,049 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23669.0W
2024-01-16 03:54:21,052 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:54:21,060 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:54:21,062 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:54:21,063 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:54:21.063252
2024-01-16 03:54:21,065 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1497.197618s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:54:21,068 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:54:21.068390
2024-01-16 03:54:21,073 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177323.279436s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:54:21,074 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:54:21.074543
2024-01-16 03:54:21,075 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8186.291934s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:54:21,077 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:54:21.076948
2024-01-16 03:54:21,078 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173691.96653s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:54:21,080 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:54: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.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:54:21,099 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:54:21,124 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373651.5301952, power=292.19, imported=3844663.3836778915, exported=0)
2024-01-16 03:54:21,125 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00266511, power1: 292.19, power2: 284.89
2024-01-16 03:54:21,126 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.768991
2024-01-16 03:54:21,127 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.768991 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373661.124599, power=284.89, imported=3844664.1526693515, exported=0)
2024-01-16 03:54:21,130 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:54:21,132 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:54:21,133 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:54:21,135 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.29, 239.32, 238.38]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1f0490>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:54:21,136 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:54:21,136 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:54:21,137 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[196.0, 27.0, 107.0], currents=[1.1, 0.4, 1.1], voltages=[238.04, 239.86, 238.91], power_factors=[0.74, 0.25, 0.38], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=5982.0, imported=8015798.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=331.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23669.0, raw_currents_left=[33.9, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:54:21,140 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=284.89, invalid_home_consumption=0, daily_yield_home_consumption=5724.188139548, imported_home_consumption=3844664.1526693515, disengageable_smarthome_power=0))
2024-01-16 03:54:21,141 - {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-16 03:54:21,144 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:54:21,146 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:54:21,150 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:54:21,152 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:54:21,154 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:54:21,155 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:54:21,159 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:54:21,162 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:54:21,163 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:54:21,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=1, keep_charge_active_duration=40)
2024-01-16 03:54:21,166 - {control.data:245} - {INFO:MainThread} - general_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-16 03:54:21,167 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:54:21,168 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:54:21,169 - {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 0x6c1c1268>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:54:21,172 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:54:21,173 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=46.11))
2024-01-16 03:54:21,174 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=46.11))
2024-01-16 03:54:21,177 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373651, 'time': '03:54:11', 'grid': 0.337, 'house-power': 0.292, 'charging-all': 0.0, 'pv-all': -0.045, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:54:21,178 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:54:21,180 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:54:21,181 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:54:21,182 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:54:21,183 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:54:21,184 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:54:21,185 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:54:21,185 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:54:21,186 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:54:21,190 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:54:21,191 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:54:21,193 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:54:21,194 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -431.0W
2024-01-16 03:54:21,194 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -431.0W
2024-01-16 03:54:21,195 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:54:21,195 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:54:21,196 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:54:21,197 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:54:21,203 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:54:21,237 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:54:21,476 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:54:25,504 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:54:25,506 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:54:30,518 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:54:30,519 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:54:30,557 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:54:30,559 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:54:30,567 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:54:30,573 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:54:30,579 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:54:30,627 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-330, -195, -27, -107], Scale 0
2024-01-16 03:54:30,637 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:54:30,639 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373669},"temperature":{"tC":26.7, "tF":80.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:54","unixtime":1705373671,"uptime":4733049,"ram_size":249000,"ram_free":145112,"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-16 03:54:30,641 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373660.245672, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:54:30,642 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0028877, power1: 0, power2: 0
2024-01-16 03:54:30,642 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:54:30,643 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373670.6413844, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:54:30,644 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:54:30,647 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 4, 11], Scale -1
2024-01-16 03:54:30,717 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23801, 23989, 23887, 0, 0, 0, 0], Scale -2
2024-01-16 03:54:30,756 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 03:54:30,788 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7390, 2319, 3919], Scale -2
2024-01-16 03:54:30,810 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015799, 3302432, 2344294, 2924235], Scale 0
2024-01-16 03:54:30,811 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.4, 1.1], powers=[195.0, 27.0, 107.0], voltages=[238.01, 239.89000000000001, 238.87], power_factors=[0.7390000000000001, 0.23190000000000002, 0.39189999999999997], imported=8015799.0, exported=4871567.0, power=330.0, frequency=50.0)
2024-01-16 03:54:30,818 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:54:30,848 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4933], Scale -2
2024-01-16 03:54:30,870 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:54:30,897 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 30, 31], Scale -2
2024-01-16 03:54:30,939 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5008], Scale -2
2024-01-16 03:54:30,940 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.3, 0.31], power=49.33, exported=7896155.0, dc_power=50.08)
2024-01-16 03:54:30,948 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:54:31,008 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373660.6785026, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:54:31,009 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00286933, power1: 0, power2: 0
2024-01-16 03:54:31,009 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:54:31,010 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373671.0081024, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:54:31,013 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:54:31,025 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:54:31,031 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:54:31,080 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:54:31,081 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:54:31,084 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:54:31,088 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=49.33, exported=7934579.61, dc_power=None)
2024-01-16 03:54:31,088 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:54:31,092 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=49.33, exported=7934579.61, dc_power=None)
2024-01-16 03:54:31,095 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:54:31,168 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:54:31,169 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.4, 1.1], powers=[195.0, 27.0, 107.0], voltages=[238.01, 239.89000000000001, 238.87], power_factors=[0.7390000000000001, 0.23190000000000002, 0.39189999999999997], imported=8015799.0, exported=4871567.0, power=330.0, frequency=50.0)
2024-01-16 03:54:31,344 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:54:31,346 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:54:31,348 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.9, 34.7, 33.9]A
2024-01-16 03:54:31,349 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23670.0W
2024-01-16 03:54:31,351 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:54:31,353 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:54:31,354 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:54:31,356 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:54:31.356006
2024-01-16 03:54:31,358 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1486.904864s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:54:31,362 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:54:31.361678
2024-01-16 03:54:31,364 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177312.986148s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:54:31,365 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:54:31.365110
2024-01-16 03:54:31,366 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8196.582501s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:54:31,367 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:54:31.367198
2024-01-16 03:54:31,368 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173681.67628s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:54:31,369 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:54:31,372 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:54:31,386 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:54:31,393 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373661.124599, power=284.89, imported=3844664.1526693515, exported=0)
2024-01-16 03:54:31,397 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00285249, power1: 284.89, power2: 280.67
2024-01-16 03:54:31,406 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.806627
2024-01-16 03:54:31,407 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.806627 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373671.3935573, power=280.67, imported=3844664.9592960286, exported=0)
2024-01-16 03:54:31,410 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:54:31,412 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:54:31,414 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:54:31,416 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.28, 239.29, 238.37]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1e7b20>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:54:31,419 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:54:31,427 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:54:31,428 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[195.0, 27.0, 107.0], currents=[1.1, 0.4, 1.1], voltages=[238.01, 239.89, 238.87], power_factors=[0.74, 0.23, 0.39], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=5982.0, imported=8015799.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=330.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23670.0, raw_currents_left=[33.9, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:54:31,429 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=280.67, invalid_home_consumption=0, daily_yield_home_consumption=5724.188139548, imported_home_consumption=3844664.9592960286, disengageable_smarthome_power=0))
2024-01-16 03:54:31,430 - {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-16 03:54:31,431 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:54:31,433 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:54:31,434 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:54:31,436 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:54:31,437 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:54:31,438 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:54:31,438 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:54:31,439 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:54:31,447 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:54:31,451 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:54:31,453 - {control.data:245} - {INFO:MainThread} - general_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-16 03:54:31,457 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:54:31,461 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:54:31,462 - {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 0x6c1dcef8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:54:31,465 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:54:31,467 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=49.33))
2024-01-16 03:54:31,468 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=49.33))
2024-01-16 03:54:31,470 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373661, 'time': '03:54:21', 'grid': 0.331, 'house-power': 0.285, 'charging-all': 0.0, 'pv-all': -0.046, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:54:31,471 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:54:31,474 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:54:31,475 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:54:31,476 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:54:31,477 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:54:31,479 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:54:31,484 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:54:31,486 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:54:31,487 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:54:31,489 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:54:31,491 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:54:31,493 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:54:31,495 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -430.0W
2024-01-16 03:54:31,496 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -430.0W
2024-01-16 03:54:31,499 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:54:31,505 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:54:31,507 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:54:31,526 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:54:31,538 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:54:31,600 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:54:31,996 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:54:32,006 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:54:35,014 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:54:35,015 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:54:40,028 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:54:40,029 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:54:40,070 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:54:40,071 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:54:40,073 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:54:40,078 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:54:40,081 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:54:40,124 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:54:40,126 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373678},"temperature":{"tC":26.7, "tF":80.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:54","unixtime":1705373680,"uptime":4733058,"ram_size":249000,"ram_free":145112,"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-16 03:54:40,128 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-332, -195, -27, -109], Scale 0
2024-01-16 03:54:40,130 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373670.6413844, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:54:40,130 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0026357, power1: 0, power2: 0
2024-01-16 03:54:40,131 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:54:40,131 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373680.1299186, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:54:40,132 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:54:40,176 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 4, 11], Scale -1
2024-01-16 03:54:40,209 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23824, 24007, 23904, 0, 0, 0, 0], Scale -2
2024-01-16 03:54:40,235 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 03:54:40,255 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7350, 2269, 3860], Scale -2
2024-01-16 03:54:40,327 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015801, 3302432, 2344294, 2924235], Scale 0
2024-01-16 03:54:40,328 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.4, 1.1], powers=[195.0, 27.0, 109.0], voltages=[238.24, 240.07, 239.04], power_factors=[0.735, 0.22690000000000002, 0.386], imported=8015801.0, exported=4871567.0, power=332.0, frequency=50.0)
2024-01-16 03:54:40,330 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:54:40,372 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4573], Scale -2
2024-01-16 03:54:40,407 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:54:40,437 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 31], Scale -2
2024-01-16 03:54:40,456 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4607], Scale -2
2024-01-16 03:54:40,457 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.31], power=45.730000000000004, exported=7896155.0, dc_power=46.07)
2024-01-16 03:54:40,461 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:54:40,537 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373671.0081024, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:54:40,538 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00264702, power1: 0, power2: 0
2024-01-16 03:54:40,539 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:54:40,539 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373680.537392, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:54:40,541 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:54:40,548 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:54:40,550 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:54:40,615 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:54:40,617 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:54:40,618 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:54:40,621 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=45.730000000000004, exported=7934579.61, dc_power=None)
2024-01-16 03:54:40,635 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:54:40,637 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=45.730000000000004, exported=7934579.61, dc_power=None)
2024-01-16 03:54:40,638 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:54:40,701 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:54:40,702 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.4, 1.1], powers=[195.0, 27.0, 109.0], voltages=[238.24, 240.07, 239.04], power_factors=[0.735, 0.22690000000000002, 0.386], imported=8015801.0, exported=4871567.0, power=332.0, frequency=50.0)
2024-01-16 03:54:40,865 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:54:40,866 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:54:40,868 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.9, 34.7, 33.9]A
2024-01-16 03:54:40,869 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23668.0W
2024-01-16 03:54:40,870 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:54:40,871 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:54:40,873 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:54:40,875 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:54:40.874572
2024-01-16 03:54:40,876 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1477.386298s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:54:40,877 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:54:40.877105
2024-01-16 03:54:40,879 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177303.470721s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:54:40,881 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:54:40.881204
2024-01-16 03:54:40,883 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8206.098595s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:54:40,884 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:54:40.884408
2024-01-16 03:54:40,886 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173672.15907s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:54:40,888 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:54:40,896 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:54:40,900 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:54:40,908 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373671.3935573, power=280.67, imported=3844664.9592960286, exported=0)
2024-01-16 03:54:40,909 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00264289, power1: 280.67, power2: 286.27
2024-01-16 03:54:40,910 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.749179
2024-01-16 03:54:40,911 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.749179 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373680.9079518, power=286.27, imported=3844665.7084753104, exported=0)
2024-01-16 03:54:40,914 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:54:40,916 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:54:40,917 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:54:40,919 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.4, 239.48, 238.61]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d0808>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:54:40,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-16 03:54:40,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=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:54:40,925 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[195.0, 27.0, 109.0], currents=[1.1, 0.4, 1.1], voltages=[238.24, 240.07, 239.04], power_factors=[0.73, 0.23, 0.39], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=5982.0, imported=8015801.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=332.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23668.0, raw_currents_left=[33.9, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:54:40,927 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=286.27, invalid_home_consumption=0, daily_yield_home_consumption=5724.188139548, imported_home_consumption=3844665.7084753104, disengageable_smarthome_power=0))
2024-01-16 03:54:40,929 - {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-16 03:54:40,931 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:54:40,933 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:54:40,934 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:54:40,939 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:54:40,941 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:54:40,942 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:54:40,944 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:54:40,945 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:54:40,947 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:54:40,949 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:54:40,950 - {control.data:245} - {INFO:MainThread} - general_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-16 03:54:40,951 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:54:40,952 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:54:40,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 0x6c1ed8f8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:54:40,957 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:54:40,958 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=45.73))
2024-01-16 03:54:40,967 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=45.73))
2024-01-16 03:54:40,968 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373671, 'time': '03:54:31', 'grid': 0.33, 'house-power': 0.281, 'charging-all': 0.0, 'pv-all': -0.049, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:54:40,972 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:54:40,973 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:54:40,975 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:54:40,976 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:54:40,977 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:54:40,978 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:54:40,979 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:54:40,980 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:54:40,982 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:54:40,985 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:54:40,987 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:54:40,990 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:54:40,991 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -432.0W
2024-01-16 03:54:40,992 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -432.0W
2024-01-16 03:54:40,993 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:54:40,996 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:54:40,997 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:54:41,005 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:54:41,010 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:54:41,042 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:54:41,292 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:54:45,311 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:54:45,312 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:54:50,324 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:54:50,325 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:54:50,371 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:54:50,372 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:54:50,379 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:54:50,382 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:54:50,389 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:54:50,424 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:54:50,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.4, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373689},"temperature":{"tC":26.7, "tF":80.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:54","unixtime":1705373690,"uptime":4733068,"ram_size":249000,"ram_free":145112,"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-16 03:54:50,430 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-333, -196, -28, -108], Scale 0
2024-01-16 03:54:50,432 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373680.1299186, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:54:50,434 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00286186, power1: 0, power2: 0
2024-01-16 03:54:50,436 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:54:50,439 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373690.4326215, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:54:50,442 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:54:50,449 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 4, 11], Scale -1
2024-01-16 03:54:50,468 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23818, 24009, 23905, 0, 0, 0, 0], Scale -2
2024-01-16 03:54:50,501 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 03:54:50,548 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7379, 2370, 3869], Scale -2
2024-01-16 03:54:50,577 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015801, 3302433, 2344294, 2924236], Scale 0
2024-01-16 03:54:50,578 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.4, 1.1], powers=[196.0, 28.0, 108.0], voltages=[238.18, 240.09, 239.05], power_factors=[0.7379000000000001, 0.237, 0.38689999999999997], imported=8015801.0, exported=4871567.0, power=333.0, frequency=50.0)
2024-01-16 03:54:50,579 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:54:50,636 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4813], Scale -2
2024-01-16 03:54:50,655 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:54:50,675 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [26, 30, 28], Scale -2
2024-01-16 03:54:50,725 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4887], Scale -2
2024-01-16 03:54:50,726 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.26, 0.3, 0.28], power=48.13, exported=7896155.0, dc_power=48.870000000000005)
2024-01-16 03:54:50,727 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:54:50,786 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373680.537392, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:54:50,787 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00284699, power1: 0, power2: 0
2024-01-16 03:54:50,787 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:54:50,788 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373690.786558, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:54:50,789 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:54:50,804 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:54:50,806 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:54:50,848 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:54:50,850 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:54:50,852 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:54:50,868 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=48.13, exported=7934579.61, dc_power=None)
2024-01-16 03:54:50,869 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:54:50,869 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=48.13, exported=7934579.61, dc_power=None)
2024-01-16 03:54:50,870 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:54:50,941 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:54:50,942 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.4, 1.1], powers=[196.0, 28.0, 108.0], voltages=[238.18, 240.09, 239.05], power_factors=[0.7379000000000001, 0.237, 0.38689999999999997], imported=8015801.0, exported=4871567.0, power=333.0, frequency=50.0)
2024-01-16 03:54:51,139 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:54:51,142 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:54:51,146 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.9, 34.7, 33.9]A
2024-01-16 03:54:51,147 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23667.0W
2024-01-16 03:54:51,148 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:54:51,152 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:54:51,153 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:54:51,163 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:54:51.162116
2024-01-16 03:54:51,172 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1467.098754s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:54:51,174 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:54:51.173671
2024-01-16 03:54:51,176 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177293.174155s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:54:51,178 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:54:51.177727
2024-01-16 03:54:51,179 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8216.395118s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:54:51,180 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:54:51.180422
2024-01-16 03:54:51,181 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173661.863056s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:54:51,183 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:54:51,187 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:54:51,201 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:54:51,210 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373680.9079518, power=286.27, imported=3844665.7084753104, exported=0)
2024-01-16 03:54:51,211 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00286169, power1: 286.27, power2: 284.87
2024-01-16 03:54:51,212 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.817214
2024-01-16 03:54:51,213 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.817214 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373691.2100523, power=284.87, imported=3844666.5256894263, exported=0)
2024-01-16 03:54:51,215 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:54:51,217 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:54:51,220 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:54:51,223 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.46, 239.49, 238.65]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1d30b8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:54:51,228 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:54:51,229 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:54:51,232 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[196.0, 28.0, 108.0], currents=[1.1, 0.4, 1.1], voltages=[238.18, 240.09, 239.05], power_factors=[0.74, 0.24, 0.39], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=5982.0, imported=8015801.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=333.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23667.0, raw_currents_left=[33.9, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:54:51,234 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': '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.87, invalid_home_consumption=0, daily_yield_home_consumption=5724.188139548, imported_home_consumption=3844666.5256894263, disengageable_smarthome_power=0))
2024-01-16 03:54:51,236 - {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-16 03:54:51,237 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:54:51,241 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:54:51,243 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:54:51,246 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:54:51,249 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:54:51,251 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:54:51,253 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:54:51,257 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:54:51,259 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:54:51,262 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:54: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-16 03:54:51,266 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:54:51,268 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:54:51,270 - {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 0x6c1c1580>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:54:51,271 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:54:51,274 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=48.13))
2024-01-16 03:54:51,278 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=48.13))
2024-01-16 03:54:51,279 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373681, 'time': '03:54:41', 'grid': 0.332, 'house-power': 0.286, 'charging-all': 0.0, 'pv-all': -0.046, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:54:51,281 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:54:51,284 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:54:51,285 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:54:51,289 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:54:51,290 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:54:51,292 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:54:51,294 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:54:51,296 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:54:51,300 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:54:51,305 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:54:51,307 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:54:51,310 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:54:51,314 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -433.0W
2024-01-16 03:54:51,316 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -433.0W
2024-01-16 03:54:51,319 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:54:51,321 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:54:51,322 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:54:51,328 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:54:51,332 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:54:51,377 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:54:51,666 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:54:51,676 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:54:55,692 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:55:00,709 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:55:00,710 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:55:00,761 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:55:00,762 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:55:00,770 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:55:00,772 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:55:00,773 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:55:00,816 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-327, -195, -27, -104], Scale 0
2024-01-16 03:55:00,818 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:55:00,822 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373699},"temperature":{"tC":26.7, "tF":80.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:55","unixtime":1705373701,"uptime":4733079,"ram_size":248948,"ram_free":144528,"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-16 03:55:00,826 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373690.4326215, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:55:00,828 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00288716, power1: 0, power2: 0
2024-01-16 03:55:00,831 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:55:00,832 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373700.8263836, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:55:00,834 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:55:00,874 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 4, 11], Scale -1
2024-01-16 03:55:00,899 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23807, 23995, 23891, 0, 0, 0, 0], Scale -2
2024-01-16 03:55:00,941 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 03:55:01,027 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7369, 2280, 3860], Scale -2
2024-01-16 03:55:01,049 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015802, 3302433, 2344294, 2924236], Scale 0
2024-01-16 03:55:01,049 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.4, 1.1], powers=[195.0, 27.0, 104.0], voltages=[238.07, 239.95000000000002, 238.91], power_factors=[0.7369, 0.228, 0.386], imported=8015802.0, exported=4871567.0, power=327.0, frequency=50.0)
2024-01-16 03:55:01,051 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:55:01,077 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4196], Scale -2
2024-01-16 03:55:01,107 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:55:01,137 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 30, 30], Scale -2
2024-01-16 03:55:01,157 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4259], Scale -2
2024-01-16 03:55:01,157 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.3, 0.3], power=41.96, exported=7896155.0, dc_power=42.59)
2024-01-16 03:55:01,161 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:55:01,198 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373690.786558, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:55:01,199 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00289213, power1: 0, power2: 0
2024-01-16 03:55:01,199 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:55:01,199 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373701.1982374, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:55:01,207 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:55:01,210 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:55:01,211 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:55:01,255 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:55:01,257 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:55:01,259 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=41.96, exported=7934579.61, dc_power=None)
2024-01-16 03:55:01,260 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=41.96, exported=7934579.61, dc_power=None)
2024-01-16 03:55:01,265 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:55:01,268 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:55:01,275 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:55:01,337 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:55:01,338 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.4, 1.1], powers=[195.0, 27.0, 104.0], voltages=[238.07, 239.95000000000002, 238.91], power_factors=[0.7369, 0.228, 0.386], imported=8015802.0, exported=4871567.0, power=327.0, frequency=50.0)
2024-01-16 03:55:01,537 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:55:01,539 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:55:01,541 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.9, 34.7, 33.9]A
2024-01-16 03:55:01,542 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23673.0W
2024-01-16 03:55:01,550 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:55:01,551 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:55:01,552 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:55:01,554 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:55:01.553851
2024-01-16 03:55:01,555 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1456.707019s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:55:01,557 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:55:01.556618
2024-01-16 03:55:01,566 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177282.791208s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:55:01,567 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:55:01.566844
2024-01-16 03:55:01,568 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8226.784235s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:55:01,569 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:55:01.569092
2024-01-16 03:55:01,570 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173651.474386s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:55:01,571 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:55:01,577 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:55:01,578 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:55:01,586 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373691.2100523, power=284.87, imported=3844666.5256894263, exported=0)
2024-01-16 03:55:01,591 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00288243, power1: 284.87, power2: 285.04
2024-01-16 03:55:01,593 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.821362
2024-01-16 03:55:01,596 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.821362 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373701.586784, power=285.04, imported=3844667.3470509714, exported=0)
2024-01-16 03:55:01,598 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:55:01,600 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:55:01,603 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:55:01,604 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.47, 239.42, 238.51]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1d76e8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:55:01,606 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:55:01,607 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:55:01,609 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[195.0, 27.0, 104.0], currents=[1.1, 0.4, 1.1], voltages=[238.07, 239.95, 238.91], power_factors=[0.74, 0.23, 0.39], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=5982.0, imported=8015802.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=327.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23673.0, raw_currents_left=[33.9, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:55:01,611 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=285.04, invalid_home_consumption=0, daily_yield_home_consumption=5724.188139548, imported_home_consumption=3844667.3470509714, disengageable_smarthome_power=0))
2024-01-16 03:55:01,612 - {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-16 03:55:01,615 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:55:01,619 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:55:01,623 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:55:01,626 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:55:01,632 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:55:01,634 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:55:01,659 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:55:01,662 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:55:01,664 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:55:01,667 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:55:01,670 - {control.data:245} - {INFO:MainThread} - general_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-16 03:55:01,675 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:55:01,682 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:55:01,683 - {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 0x6c1bf6b8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:55:01,685 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:55:01,689 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=41.96))
2024-01-16 03:55:01,691 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=41.96))
2024-01-16 03:55:01,694 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373691, 'time': '03:54:51', 'grid': 0.333, 'house-power': 0.285, 'charging-all': 0.0, 'pv-all': -0.048, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:55:01,699 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:55:01,708 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:55:01,710 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:55:01,713 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:55:01,713 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:55:01,714 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:55:01,716 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:55:01,717 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:55:01,719 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:55:01,728 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:55:01,735 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:55:01,739 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:55:01,745 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -427.0W
2024-01-16 03:55:01,750 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -427.0W
2024-01-16 03:55:01,751 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:55:01,758 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:55:01,759 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:55:01,763 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:55:01,769 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:55:01,833 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:55:02,187 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:55:02,189 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:55:02,190 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2024-01-16 03:55:02,196 - {root:107} - {DEBUG:MainThread} - 5 Minuten Handler ausführen.
2024-01-16 03:55:02,306 - {helpermodules.system:74} - {INFO:MainThread} - my IP: 192.168.1.31
2024-01-16 03:55:02,307 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2024-01-16 03:55:05,782 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:55:05,783 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:55:10,798 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:55:10,799 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:55:10,866 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:55:10,867 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:55:10,868 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:55:10,873 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:55:10,877 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:55:10,919 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:55:10,920 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-329, -191, -27, -110], Scale 0
2024-01-16 03:55:10,924 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373709},"temperature":{"tC":26.7, "tF":80.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:55","unixtime":1705373711,"uptime":4733089,"ram_size":248936,"ram_free":144388,"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-16 03:55:10,932 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373700.8263836, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:55:10,932 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00280714, power1: 0, power2: 0
2024-01-16 03:55:10,933 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:55:10,933 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373710.9320798, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:55:10,934 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:55:10,978 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [11, 4, 11], Scale -1
2024-01-16 03:55:10,997 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23808, 24001, 23896, 0, 0, 0, 0], Scale -2
2024-01-16 03:55:11,017 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 03:55:11,086 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7369, 2409, 3810], Scale -2
2024-01-16 03:55:11,127 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015803, 3302434, 2344294, 2924236], Scale 0
2024-01-16 03:55:11,128 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.1, 0.4, 1.1], powers=[191.0, 27.0, 110.0], voltages=[238.08, 240.01, 238.96], power_factors=[0.7369, 0.2409, 0.381], imported=8015803.0, exported=4871567.0, power=329.0, frequency=50.0)
2024-01-16 03:55:11,129 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:55:11,181 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4427], Scale -2
2024-01-16 03:55:11,206 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:55:11,225 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 30], Scale -2
2024-01-16 03:55:11,245 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5772], Scale -2
2024-01-16 03:55:11,246 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.3], power=44.27, exported=7896155.0, dc_power=57.72)
2024-01-16 03:55:11,247 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:55:11,355 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373701.1982374, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:55:11,356 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00282154, power1: 0, power2: 0
2024-01-16 03:55:11,357 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:55:11,357 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373711.3557818, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:55:11,358 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:55:11,361 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:55:11,363 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:55:11,411 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:55:11,412 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:55:11,413 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=44.27, exported=7934579.61, dc_power=None)
2024-01-16 03:55:11,414 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:55:11,419 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=44.27, exported=7934579.61, dc_power=None)
2024-01-16 03:55:11,420 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:55:11,423 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:55:11,476 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:55:11,477 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.1, 0.4, 1.1], powers=[191.0, 27.0, 110.0], voltages=[238.08, 240.01, 238.96], power_factors=[0.7369, 0.2409, 0.381], imported=8015803.0, exported=4871567.0, power=329.0, frequency=50.0)
2024-01-16 03:55:11,676 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:55:11,677 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:55:11,679 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.9, 34.7, 33.9]A
2024-01-16 03:55:11,680 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23671.0W
2024-01-16 03:55:11,681 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:55:11,683 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:55:11,684 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:55:11,686 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:55:11.685553
2024-01-16 03:55:11,687 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1446.575317s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:55:11,688 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:55:11.687855
2024-01-16 03:55:11,689 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177272.659971s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:55:11,690 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:55:11.689771
2024-01-16 03:55:11,691 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8236.907162s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:55:11,692 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:55:11.692135
2024-01-16 03:55:11,694 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173641.351343s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:55:11,695 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:55:11,698 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:55:11,699 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:55:11,708 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373701.586784, power=285.04, imported=3844667.3470509714, exported=0)
2024-01-16 03:55:11,709 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00281158, power1: 285.04, power2: 284.73
2024-01-16 03:55:11,710 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.800977
2024-01-16 03:55:11,713 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.800977 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373711.7084703, power=284.73, imported=3844668.1480278177, exported=0)
2024-01-16 03:55:11,719 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:55:11,720 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:55:11,725 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:55:11,729 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.35, 239.41, 238.56]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1e0148>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:55:11,730 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:55:11,733 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:55:11,750 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[191.0, 27.0, 110.0], currents=[1.1, 0.4, 1.1], voltages=[238.08, 240.01, 238.96], power_factors=[0.74, 0.24, 0.38], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6009.0, imported=8015803.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=329.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23671.0, raw_currents_left=[33.9, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:55:11,755 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': '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.73, invalid_home_consumption=0, daily_yield_home_consumption=5747.2188353894, imported_home_consumption=3844668.1480278177, disengageable_smarthome_power=0))
2024-01-16 03:55:11,756 - {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-16 03:55:11,757 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:55:11,762 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:55:11,763 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:55:11,767 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:55:11,768 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:55:11,770 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:55:11,771 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:55:11,772 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:55:11,781 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:55:11,781 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:55:11,783 - {control.data:245} - {INFO:MainThread} - general_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-16 03:55:11,784 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:55:11,785 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:55:11,790 - {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 0x6f7dc058>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:55:11,791 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:55:11,793 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=44.27))
2024-01-16 03:55:11,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=8233395.285, power=44.27))
2024-01-16 03:55:11,796 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373701, 'time': '03:55:01', 'grid': 0.327, 'house-power': 0.285, 'charging-all': 0.0, 'pv-all': -0.042, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:55:11,797 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:55:11,798 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:55:11,811 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:55:11,812 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:55:11,812 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:55:11,813 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:55:11,813 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:55:11,813 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:55:11,814 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:55:11,816 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:55:11,817 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:55:11,819 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:55:11,820 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -429.0W
2024-01-16 03:55:11,821 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -429.0W
2024-01-16 03:55:11,822 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:55:11,823 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:55:11,828 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:55:11,838 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:55:11,842 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:55:11,870 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:55:12,197 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:55:15,249 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:55:15,250 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:55:20,262 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:55:20,263 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:55:20,310 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:55:20,312 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:55:20,320 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:55:20,322 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:55:20,323 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:55:20,345 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-327, -190, -28, -108], Scale 0
2024-01-16 03:55:20,365 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:55:20,368 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373718},"temperature":{"tC":26.6, "tF":80.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:55","unixtime":1705373720,"uptime":4733098,"ram_size":248936,"ram_free":144400,"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-16 03:55:20,378 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373710.9320798, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:55:20,379 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00262388, power1: 0, power2: 0
2024-01-16 03:55:20,380 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:55:20,382 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373720.3780434, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:55:20,384 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:55:20,397 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 4, 11], Scale -1
2024-01-16 03:55:20,417 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23804, 23993, 23900, 0, 0, 0, 0], Scale -2
2024-01-16 03:55:20,436 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 03:55:20,557 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7319, 2450, 3829], Scale -2
2024-01-16 03:55:20,587 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015804, 3302434, 2344294, 2924236], Scale 0
2024-01-16 03:55:20,588 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.4, 1.1], powers=[190.0, 28.0, 108.0], voltages=[238.04, 239.93, 239.0], power_factors=[0.7319, 0.245, 0.3829], imported=8015804.0, exported=4871567.0, power=327.0, frequency=50.0)
2024-01-16 03:55:20,595 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:55:20,631 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4455], Scale -2
2024-01-16 03:55:20,677 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:55:20,697 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 29], Scale -2
2024-01-16 03:55:20,717 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5161], Scale -2
2024-01-16 03:55:20,718 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.29], power=44.550000000000004, exported=7896155.0, dc_power=51.61)
2024-01-16 03:55:20,723 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:55:20,797 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373711.3557818, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:55:20,798 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00262266, power1: 0, power2: 0
2024-01-16 03:55:20,798 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:55:20,799 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373720.79734, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:55:20,800 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:55:20,818 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:55:20,819 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:55:20,859 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:55:20,860 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:55:20,866 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=44.550000000000004, exported=7934579.61, dc_power=None)
2024-01-16 03:55:20,865 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:55:20,867 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=44.550000000000004, exported=7934579.61, dc_power=None)
2024-01-16 03:55:20,875 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:55:20,885 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:55:20,939 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:55:20,939 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.4, 1.1], powers=[190.0, 28.0, 108.0], voltages=[238.04, 239.93, 239.0], power_factors=[0.7319, 0.245, 0.3829], imported=8015804.0, exported=4871567.0, power=327.0, frequency=50.0)
2024-01-16 03:55:21,132 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:55:21,134 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:55:21,136 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [34.0, 34.7, 33.9]A
2024-01-16 03:55:21,137 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23673.0W
2024-01-16 03:55:21,138 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:55:21,140 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:55:21,141 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:55:21,143 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:55:21.143195
2024-01-16 03:55:21,145 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1437.117675s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:55:21,146 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:55:21.146142
2024-01-16 03:55:21,147 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177263.201684s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:55:21,150 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:55:21.150052
2024-01-16 03:55:21,151 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8246.367443s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:55:21,152 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:55:21.152501
2024-01-16 03:55:21,154 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173631.890977s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:55:21,155 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:55:21,175 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:55:21,185 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:55:21,194 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373711.7084703, power=284.73, imported=3844668.1480278177, exported=0)
2024-01-16 03:55:21,196 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00263508, power1: 284.73, power2: 282.45
2024-01-16 03:55:21,197 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.747281
2024-01-16 03:55:21,199 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.747281 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373721.1947463, power=282.45, imported=3844668.895309203, exported=0)
2024-01-16 03:55:21,202 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:55:21,203 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:55:21,205 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:55:21,207 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.4, 239.39, 238.44]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1c4a48>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:55:21,208 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:55:21,210 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:55:21,211 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[190.0, 28.0, 108.0], currents=[1.0, 0.4, 1.1], voltages=[238.04, 239.93, 239.0], power_factors=[0.73, 0.24, 0.38], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6009.0, imported=8015804.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=327.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23673.0, raw_currents_left=[34.0, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:55:21,212 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=282.45, invalid_home_consumption=0, daily_yield_home_consumption=5747.2188353894, imported_home_consumption=3844668.895309203, disengageable_smarthome_power=0))
2024-01-16 03:55:21,214 - {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-16 03:55:21,215 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:55:21,217 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:55:21,218 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:55:21,219 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:55:21,220 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:55:21,221 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:55:21,222 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:55:21,223 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:55:21,224 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:55:21,225 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:55:21,227 - {control.data:245} - {INFO:MainThread} - general_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-16 03:55:21,228 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:55:21,228 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:55:21,230 - {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 0x6c1dc448>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:55:21,231 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:55:21,232 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=44.55))
2024-01-16 03:55:21,235 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=44.55))
2024-01-16 03:55:21,236 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373711, 'time': '03:55:11', 'grid': 0.329, 'house-power': 0.285, 'charging-all': 0.0, 'pv-all': -0.044, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:55:21,236 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:55:21,237 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:55:21,239 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:55:21,240 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:55:21,241 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:55:21,242 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:55:21,243 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:55:21,245 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:55:21,246 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:55:21,249 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:55:21,251 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:55:21,254 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:55:21,255 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -427.0W
2024-01-16 03:55:21,256 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -427.0W
2024-01-16 03:55:21,257 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:55:21,260 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:55:21,261 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:55:21,264 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:55:21,267 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:55:21,293 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:55:21,619 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:55:21,621 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:55:25,647 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:55:25,648 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:55:30,662 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:55:30,663 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:55:30,738 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:55:30,740 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:55:30,742 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:55:30,752 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:55:30,757 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:55:30,788 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-327, -191, -27, -108], Scale 0
2024-01-16 03:55:30,797 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:55:30,799 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373729},"temperature":{"tC":26.6, "tF":79.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:55","unixtime":1705373731,"uptime":4733109,"ram_size":249000,"ram_free":145112,"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-16 03:55:30,804 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373720.3780434, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:55:30,805 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0028961, power1: 0, power2: 0
2024-01-16 03:55:30,805 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:55:30,805 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373730.8040035, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:55:30,810 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 4, 11], Scale -1
2024-01-16 03:55:30,814 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:55:31,007 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23805, 23983, 23878, 0, 0, 0, 0], Scale -2
2024-01-16 03:55:31,048 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 03:55:31,077 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7300, 2269, 3869], Scale -2
2024-01-16 03:55:31,116 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015805, 3302435, 2344295, 2924237], Scale 0
2024-01-16 03:55:31,117 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.4, 1.1], powers=[191.0, 27.0, 108.0], voltages=[238.05, 239.83, 238.78], power_factors=[0.73, 0.22690000000000002, 0.38689999999999997], imported=8015805.0, exported=4871567.0, power=327.0, frequency=50.0)
2024-01-16 03:55:31,120 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:55:31,166 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4880], Scale -2
2024-01-16 03:55:31,206 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:55:31,226 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 30], Scale -2
2024-01-16 03:55:31,345 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4955], Scale -2
2024-01-16 03:55:31,346 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.3], power=48.800000000000004, exported=7896155.0, dc_power=49.550000000000004)
2024-01-16 03:55:31,351 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:55:31,387 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373720.79734, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:55:31,388 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00294165, power1: 0, power2: 0
2024-01-16 03:55:31,388 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:55:31,388 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373731.3872828, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:55:31,389 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:55:31,394 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:55:31,396 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:55:31,442 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:55:31,443 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:55:31,445 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=48.800000000000004, exported=7934579.61, dc_power=None)
2024-01-16 03:55:31,446 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:55:31,446 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=48.800000000000004, exported=7934579.61, dc_power=None)
2024-01-16 03:55:31,450 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:55:31,459 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:55:31,531 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:55:31,532 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.4, 1.1], powers=[191.0, 27.0, 108.0], voltages=[238.05, 239.83, 238.78], power_factors=[0.73, 0.22690000000000002, 0.38689999999999997], imported=8015805.0, exported=4871567.0, power=327.0, frequency=50.0)
2024-01-16 03:55:31,700 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:55:31,702 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:55:31,706 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [34.0, 34.7, 33.9]A
2024-01-16 03:55:31,707 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23673.0W
2024-01-16 03:55:31,709 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:55:31,712 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:55:31,713 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:55:31,715 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:55:31.714728
2024-01-16 03:55:31,716 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1426.546142s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:55:31,718 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:55:31.718449
2024-01-16 03:55:31,720 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177252.629377s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:55:31,720 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:55:31.720582
2024-01-16 03:55:31,722 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8256.937973s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:55:31,725 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:55:31.725086
2024-01-16 03:55:31,728 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173621.318392s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:55:31,729 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:55:31,733 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:55:31,735 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:55:31,761 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373721.1947463, power=282.45, imported=3844668.895309203, exported=0)
2024-01-16 03:55:31,762 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00293517, power1: 282.45, power2: 278.2
2024-01-16 03:55:31,764 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.822801
2024-01-16 03:55:31,765 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.822801 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373731.7613528, power=278.2, imported=3844669.7181103067, exported=0)
2024-01-16 03:55:31,769 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:55:31,771 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:55:31,777 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:55:31,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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.32, 239.22, 238.44]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1c2808>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:55:31,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-16 03:55:31,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=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:55:31,785 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[191.0, 27.0, 108.0], currents=[1.0, 0.4, 1.1], voltages=[238.05, 239.83, 238.78], power_factors=[0.73, 0.23, 0.39], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6009.0, imported=8015805.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=327.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23673.0, raw_currents_left=[34.0, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:55:31,787 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=278.2, invalid_home_consumption=0, daily_yield_home_consumption=5747.2188353894, imported_home_consumption=3844669.7181103067, disengageable_smarthome_power=0))
2024-01-16 03:55:31,788 - {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-16 03:55:31,789 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:55:31,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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:55:31,796 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:55:31,798 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:55:31,800 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:55:31,801 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:55:31,805 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:55:31,807 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-16 03:55:31,809 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-16 03:55:31,811 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:55:31,812 - {control.data:245} - {INFO:MainThread} - general_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-16 03:55:31,815 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:55:31,818 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:55:31,819 - {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 0x6c1d1148>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:55:31,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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:55:31,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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=48.8))
2024-01-16 03:55:31,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=8233395.285, power=48.8))
2024-01-16 03:55:31,823 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373721, 'time': '03:55:21', 'grid': 0.327, 'house-power': 0.282, 'charging-all': 0.0, 'pv-all': -0.045, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:55:31,824 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:55:31,825 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:55:31,827 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:55:31,829 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:55:31,831 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:55:31,832 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:55:31,833 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:55:31,835 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:55:31,836 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:55:31,840 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:55:31,842 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:55:31,844 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:55:31,860 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -427.0W
2024-01-16 03:55:31,861 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -427.0W
2024-01-16 03:55:31,863 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:55:31,865 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:55:31,867 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:55:31,871 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:55:31,875 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:55:31,905 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:55:32,226 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:55:35,307 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:55:35,308 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:55:40,319 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:55:40,320 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:55:40,364 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:55:40,366 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:55:40,368 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:55:40,376 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:55:40,377 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:55:40,425 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-329, -189, -29, -110], Scale 0
2024-01-16 03:55:40,441 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:55:40,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.3, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373739},"temperature":{"tC":26.6, "tF":79.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:55","unixtime":1705373740,"uptime":4733118,"ram_size":249000,"ram_free":145112,"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-16 03:55:40,450 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 4, 11], Scale -1
2024-01-16 03:55:40,454 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373730.8040035, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:55:40,455 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00268053, power1: 0, power2: 0
2024-01-16 03:55:40,457 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:55:40,457 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373740.4539068, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:55:40,459 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:55:40,529 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23821, 23997, 23904, 0, 0, 0, 0], Scale -2
2024-01-16 03:55:40,557 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5002], Scale -2
2024-01-16 03:55:40,587 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7260, 2380, 3880], Scale -2
2024-01-16 03:55:40,607 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015806, 3302436, 2344295, 2924237], Scale 0
2024-01-16 03:55:40,607 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.4, 1.1], powers=[189.0, 29.0, 110.0], voltages=[238.21, 239.97, 239.04], power_factors=[0.7260000000000001, 0.23800000000000002, 0.38800000000000007], imported=8015806.0, exported=4871567.0, power=329.0, frequency=50.02)
2024-01-16 03:55:40,609 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:55:40,645 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4718], Scale -2
2024-01-16 03:55:40,665 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:55:40,698 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 31], Scale -2
2024-01-16 03:55:40,746 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4821], Scale -2
2024-01-16 03:55:40,747 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.31], power=47.18, exported=7896155.0, dc_power=48.21)
2024-01-16 03:55:40,748 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:55:40,806 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373731.3872828, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:55:40,807 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00261648, power1: 0, power2: 0
2024-01-16 03:55:40,807 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:55:40,808 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373740.8065994, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:55:40,809 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:55:40,815 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:55:40,817 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:55:40,869 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:55:40,870 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:55:40,870 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:55:40,872 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.18, exported=7934579.61, dc_power=None)
2024-01-16 03:55:40,875 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:55:40,881 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.18, exported=7934579.61, dc_power=None)
2024-01-16 03:55:40,885 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:55:40,954 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:55:40,955 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.4, 1.1], powers=[189.0, 29.0, 110.0], voltages=[238.21, 239.97, 239.04], power_factors=[0.7260000000000001, 0.23800000000000002, 0.38800000000000007], imported=8015806.0, exported=4871567.0, power=329.0, frequency=50.02)
2024-01-16 03:55:41,136 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:55:41,138 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:55:41,140 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [34.0, 34.7, 33.9]A
2024-01-16 03:55:41,141 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23671.0W
2024-01-16 03:55:41,142 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:55:41,146 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:55:41,147 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:55:41,148 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:55:41.148079
2024-01-16 03:55:41,149 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1417.112791s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:55:41,152 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:55:41.152345
2024-01-16 03:55:41,155 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177243.195481s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:55:41,157 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:55:41.156629
2024-01-16 03:55:41,158 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8266.37402s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:55:41,160 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:55:41.159801
2024-01-16 03:55:41,161 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173611.883677s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:55:41,164 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:55:41,169 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:55:41,171 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:55:41,190 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373731.7613528, power=278.2, imported=3844669.7181103067, exported=0)
2024-01-16 03:55:41,197 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00261916, power1: 278.2, power2: 281.82
2024-01-16 03:55:41,198 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.733392
2024-01-16 03:55:41,201 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.733392 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373741.1903372, power=281.82, imported=3844670.451501952, exported=0)
2024-01-16 03:55:41,204 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:55:41,205 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:55:41,207 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:55:41,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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.51, 239.48, 238.64]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1e3400>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:55:41,210 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:55:41,211 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:55:41,214 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[189.0, 29.0, 110.0], currents=[1.0, 0.4, 1.1], voltages=[238.21, 239.97, 239.04], power_factors=[0.73, 0.24, 0.39], unbalanced_load=0, frequency=50.02, daily_exported=0.0, daily_imported=6009.0, imported=8015806.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=329.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23671.0, raw_currents_left=[34.0, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:55:41,215 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': '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.82, invalid_home_consumption=0, daily_yield_home_consumption=5747.2188353894, imported_home_consumption=3844670.451501952, disengageable_smarthome_power=0))
2024-01-16 03:55:41,217 - {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-16 03:55:41,219 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:55:41,220 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:55:41,225 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:55:41,226 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:55:41,227 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:55:41,231 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:55:41,232 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:55:41,233 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:55:41,235 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-16 03:55:41,235 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:55:41,239 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-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-16 03:55:41,240 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:55:41,243 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:55:41,245 - {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 0x6c1edd48>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:55:41,246 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:55:41,250 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=47.18))
2024-01-16 03:55:41,251 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=47.18))
2024-01-16 03:55:41,252 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373731, 'time': '03:55:31', 'grid': 0.327, 'house-power': 0.278, 'charging-all': 0.0, 'pv-all': -0.049, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:55:41,252 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:55:41,254 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:55:41,255 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:55:41,257 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:55:41,258 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:55:41,261 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:55:41,262 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:55:41,264 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:55:41,266 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:55:41,269 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:55:41,274 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:55:41,277 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:55:41,278 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -429.0W
2024-01-16 03:55:41,279 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -429.0W
2024-01-16 03:55:41,281 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:55:41,283 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:55:41,284 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:55:41,291 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:55:41,293 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:55:41,315 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:55:41,615 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:55:41,625 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:55:45,638 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:55:45,640 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:55:50,655 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:55:50,656 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:55:50,731 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:55:50,733 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:55:50,734 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:55:50,747 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:55:50,750 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:55:50,786 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-327, -188, -27, -111], Scale 0
2024-01-16 03:55:50,795 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:55:50,797 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373749},"temperature":{"tC":26.5, "tF":79.7}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:55","unixtime":1705373751,"uptime":4733129,"ram_size":249000,"ram_free":145112,"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-16 03:55:50,799 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373740.4539068, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:55:50,800 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00287382, power1: 0, power2: 0
2024-01-16 03:55:50,800 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:55:50,801 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373750.799664, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:55:50,803 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:55:50,877 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 4, 11], Scale -1
2024-01-16 03:55:50,899 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23821, 23999, 23903, 0, 0, 0, 0], Scale -2
2024-01-16 03:55:50,927 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 03:55:50,947 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7269, 2349, 3849], Scale -2
2024-01-16 03:55:50,978 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015807, 3302436, 2344295, 2924237], Scale 0
2024-01-16 03:55:50,978 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.4, 1.1], powers=[188.0, 27.0, 111.0], voltages=[238.21, 239.99, 239.03], power_factors=[0.7269, 0.23490000000000003, 0.3849], imported=8015807.0, exported=4871567.0, power=327.0, frequency=50.0)
2024-01-16 03:55:50,980 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:55:51,021 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4765], Scale -2
2024-01-16 03:55:51,055 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:55:51,107 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [26, 30, 30], Scale -2
2024-01-16 03:55:51,127 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4465], Scale -2
2024-01-16 03:55:51,127 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.26, 0.3, 0.3], power=47.65, exported=7896155.0, dc_power=44.65)
2024-01-16 03:55:51,129 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:55:51,177 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373740.8065994, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:55:51,178 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00288074, power1: 0, power2: 0
2024-01-16 03:55:51,178 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:55:51,178 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373751.1772473, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:55:51,179 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:55:51,183 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:55:51,184 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:55:51,276 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:55:51,277 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:55:51,278 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:55:51,280 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.65, exported=7934579.61, dc_power=None)
2024-01-16 03:55:51,284 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:55:51,291 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.65, exported=7934579.61, dc_power=None)
2024-01-16 03:55:51,292 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:55:51,347 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:55:51,347 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.4, 1.1], powers=[188.0, 27.0, 111.0], voltages=[238.21, 239.99, 239.03], power_factors=[0.7269, 0.23490000000000003, 0.3849], imported=8015807.0, exported=4871567.0, power=327.0, frequency=50.0)
2024-01-16 03:55:51,517 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:55:51,523 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:55:51,528 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [34.0, 34.7, 33.9]A
2024-01-16 03:55:51,529 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23673.0W
2024-01-16 03:55:51,534 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:55:51,537 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:55:51,538 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:55:51,540 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:55:51.539506
2024-01-16 03:55:51,543 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1406.721364s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:55:51,546 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:55:51.545426
2024-01-16 03:55:51,547 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177232.8024s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:55:51,550 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:55:51.550231
2024-01-16 03:55:51,552 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8276.767622s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:55:51,554 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:55:51.554015
2024-01-16 03:55:51,560 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173601.489463s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:55:51,561 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:55:51,570 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:55:51,572 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:55:51,591 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373741.1903372, power=281.82, imported=3844670.451501952, exported=0)
2024-01-16 03:55:51,593 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00288909, power1: 281.82, power2: 279.35
2024-01-16 03:55:51,594 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.810635
2024-01-16 03:55:51,598 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.810635 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373751.5910568, power=279.35, imported=3844671.26213693, exported=0)
2024-01-16 03:55:51,601 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:55:51,602 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:55:51,603 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:55:51,605 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.43, 239.44, 238.58]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1dc550>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:55:51,606 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:55:51,607 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:55:51,609 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[188.0, 27.0, 111.0], currents=[1.0, 0.4, 1.1], voltages=[238.21, 239.99, 239.03], power_factors=[0.73, 0.23, 0.38], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6009.0, imported=8015807.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=327.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23673.0, raw_currents_left=[34.0, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:55:51,610 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=279.35, invalid_home_consumption=0, daily_yield_home_consumption=5747.2188353894, imported_home_consumption=3844671.26213693, disengageable_smarthome_power=0))
2024-01-16 03:55:51,611 - {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-16 03:55:51,613 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:55:51,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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:55:51,615 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:55:51,617 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:55:51,618 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:55:51,620 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:55:51,621 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:55:51,623 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-16 03:55:51,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-16 03:55:51,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=1, keep_charge_active_duration=40)
2024-01-16 03:55:51,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-16 03:55:51,628 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:55:51,629 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:55:51,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 0x6c1c2e80>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:55:51,635 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:55:51,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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=47.65))
2024-01-16 03:55:51,640 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=47.65))
2024-01-16 03:55:51,642 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373741, 'time': '03:55:41', 'grid': 0.329, 'house-power': 0.282, 'charging-all': 0.0, 'pv-all': -0.047, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:55:51,643 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:55:51,649 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:55:51,659 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:55:51,661 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:55:51,662 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:55:51,663 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:55:51,664 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:55:51,669 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:55:51,673 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:55:51,675 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:55:51,676 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:55:51,678 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:55:51,682 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -427.0W
2024-01-16 03:55:51,683 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -427.0W
2024-01-16 03:55:51,684 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:55:51,686 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:55:51,688 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:55:51,706 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:55:51,708 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:55:51,730 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:55:52,054 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:55:55,097 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:55:55,098 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:56:00,109 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:56:00,110 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:56:00,156 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:56:00,157 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:56:00,158 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:56:00,165 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:56:00,168 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:56:00,215 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:56:00,218 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373758},"temperature":{"tC":26.6, "tF":80.0}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:56","unixtime":1705373760,"uptime":4733138,"ram_size":249000,"ram_free":145112,"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":-73},"ws":{"connected":false}}

2024-01-16 03:56:00,221 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373750.799664, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:56:00,223 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0026172, power1: 0, power2: 0
2024-01-16 03:56:00,226 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:56:00,228 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-327, -190, -29, -107], Scale 0
2024-01-16 03:56:00,229 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373760.221588, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:56:00,233 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:56:00,276 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 4, 11], Scale -1
2024-01-16 03:56:00,308 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23817, 23994, 23895, 0, 0, 0, 0], Scale -2
2024-01-16 03:56:00,344 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 03:56:00,365 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7260, 2500, 3899], Scale -2
2024-01-16 03:56:00,477 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015808, 3302436, 2344295, 2924238], Scale 0
2024-01-16 03:56:00,478 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.4, 1.1], powers=[190.0, 29.0, 107.0], voltages=[238.17000000000002, 239.94, 238.95000000000002], power_factors=[0.7260000000000001, 0.25, 0.3899], imported=8015808.0, exported=4871567.0, power=327.0, frequency=50.0)
2024-01-16 03:56:00,483 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:56:00,507 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4501], Scale -2
2024-01-16 03:56:00,527 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:56:00,558 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 29], Scale -2
2024-01-16 03:56:00,597 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4723], Scale -2
2024-01-16 03:56:00,598 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.29], power=45.01, exported=7896155.0, dc_power=47.230000000000004)
2024-01-16 03:56:00,603 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:56:00,677 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373751.1772473, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:56:00,678 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00263892, power1: 0, power2: 0
2024-01-16 03:56:00,678 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:56:00,678 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373760.6773536, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:56:00,680 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:56:00,689 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:56:00,697 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:56:00,740 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:56:00,742 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:56:00,743 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:56:00,745 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=45.01, exported=7934579.61, dc_power=None)
2024-01-16 03:56:00,748 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:56:00,749 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=45.01, exported=7934579.61, dc_power=None)
2024-01-16 03:56:00,751 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:56:00,821 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:56:00,823 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.4, 1.1], powers=[190.0, 29.0, 107.0], voltages=[238.17000000000002, 239.94, 238.95000000000002], power_factors=[0.7260000000000001, 0.25, 0.3899], imported=8015808.0, exported=4871567.0, power=327.0, frequency=50.0)
2024-01-16 03:56:01,008 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:56:01,011 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:56:01,013 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [34.0, 34.7, 33.9]A
2024-01-16 03:56:01,014 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23673.0W
2024-01-16 03:56:01,015 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:56:01,019 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:56:01,020 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:56:01,023 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:56:01.022792
2024-01-16 03:56:01,025 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1397.238078s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:56:01,028 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:56:01.028289
2024-01-16 03:56:01,029 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177223.319537s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:56:01,031 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:56:01.030596
2024-01-16 03:56:01,032 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8286.247987s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:56:01,034 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:56:01.033671
2024-01-16 03:56:01,036 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173592.009807s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:56:01,037 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:56:01,041 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:56:01,041 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:56:01,059 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373751.5910568, power=279.35, imported=3844671.26213693, exported=0)
2024-01-16 03:56:01,069 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0026299, power1: 279.35, power2: 281.99
2024-01-16 03:56:01,074 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.738133
2024-01-16 03:56:01,081 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.738133 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373761.0586882, power=281.99, imported=3844672.000270288, exported=0)
2024-01-16 03:56:01,083 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:56:01,085 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:56:01,087 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:56:01,089 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.45, 239.47, 238.58]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1c5e08>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:56:01,092 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:56:01,094 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:56:01,095 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[190.0, 29.0, 107.0], currents=[1.0, 0.4, 1.1], voltages=[238.17, 239.94, 238.95], power_factors=[0.73, 0.25, 0.39], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6009.0, imported=8015808.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=327.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23673.0, raw_currents_left=[34.0, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:56:01,098 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': '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.99, invalid_home_consumption=0, daily_yield_home_consumption=5747.2188353894, imported_home_consumption=3844672.000270288, disengageable_smarthome_power=0))
2024-01-16 03:56:01,101 - {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-16 03:56:01,102 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:56:01,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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:56:01,108 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:56:01,110 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:56:01,113 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:56:01,116 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:56:01,119 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:56:01,121 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:56:01,123 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:56:01,124 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:56:01,126 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-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-16 03:56:01,128 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:56:01,130 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:56:01,133 - {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 0x6c1cfce8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:56:01,134 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:56:01,135 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=45.01))
2024-01-16 03:56:01,136 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=45.01))
2024-01-16 03:56:01,137 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373751, 'time': '03:55:51', 'grid': 0.327, 'house-power': 0.279, 'charging-all': 0.0, 'pv-all': -0.048, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:56:01,139 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:56:01,140 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:56:01,141 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:56:01,142 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:56:01,143 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:56:01,147 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:56:01,148 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:56:01,150 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:56:01,153 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:56:01,156 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:56:01,158 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:56:01,160 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:56:01,162 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -427.0W
2024-01-16 03:56:01,164 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -427.0W
2024-01-16 03:56:01,166 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:56:01,167 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:56:01,171 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:56:01,175 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:56:01,180 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:56:01,221 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:56:01,488 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:56:01,496 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:56:05,506 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:56:05,508 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:56:10,523 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:56:10,524 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:56:10,591 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:56:10,593 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:56:10,594 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:56:10,605 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:56:10,615 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:56:10,648 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-323, -189, -27, -106], Scale 0
2024-01-16 03:56:10,654 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:56:10,656 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373769},"temperature":{"tC":26.6, "tF":79.9}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:56","unixtime":1705373771,"uptime":4733149,"ram_size":248948,"ram_free":144528,"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-16 03:56:10,660 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373760.221588, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:56:10,663 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00289978, power1: 0, power2: 0
2024-01-16 03:56:10,664 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:56:10,665 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373770.6607914, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:56:10,666 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:56:10,684 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 4, 11], Scale -1
2024-01-16 03:56:10,722 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23857, 24033, 23935, 0, 0, 0, 0], Scale -2
2024-01-16 03:56:10,806 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 03:56:10,826 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7260, 2240, 3819], Scale -2
2024-01-16 03:56:10,847 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015809, 3302437, 2344295, 2924238], Scale 0
2024-01-16 03:56:10,847 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.4, 1.1], powers=[189.0, 27.0, 106.0], voltages=[238.57, 240.33, 239.35], power_factors=[0.7260000000000001, 0.22400000000000003, 0.38189999999999996], imported=8015809.0, exported=4871567.0, power=323.0, frequency=50.0)
2024-01-16 03:56:10,853 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:56:10,877 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4132], Scale -2
2024-01-16 03:56:10,917 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:56:10,946 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 30], Scale -2
2024-01-16 03:56:10,972 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4195], Scale -2
2024-01-16 03:56:10,972 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.3], power=41.32, exported=7896155.0, dc_power=41.95)
2024-01-16 03:56:10,974 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:56:11,046 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373760.6773536, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:56:11,046 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00288018, power1: 0, power2: 0
2024-01-16 03:56:11,047 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:56:11,047 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373771.0460067, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:56:11,048 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:56:11,052 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:56:11,056 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:56:11,098 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:56:11,099 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:56:11,101 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:56:11,102 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=41.32, exported=7934579.61, dc_power=None)
2024-01-16 03:56:11,105 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:56:11,106 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=41.32, exported=7934579.61, dc_power=None)
2024-01-16 03:56:11,109 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:56:11,169 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:56:11,169 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.4, 1.1], powers=[189.0, 27.0, 106.0], voltages=[238.57, 240.33, 239.35], power_factors=[0.7260000000000001, 0.22400000000000003, 0.38189999999999996], imported=8015809.0, exported=4871567.0, power=323.0, frequency=50.0)
2024-01-16 03:56:11,333 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:56:11,338 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:56:11,342 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [34.0, 34.7, 33.9]A
2024-01-16 03:56:11,344 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23677.0W
2024-01-16 03:56:11,346 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:56:11,349 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:56:11,351 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:56:11,354 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:56:11.353758
2024-01-16 03:56:11,356 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1386.907112s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:56:11,358 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:56:11.357415
2024-01-16 03:56:11,361 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177212.990411s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:56:11,364 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:56:11.363555
2024-01-16 03:56:11,366 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8296.580946s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:56:11,369 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:56:11.368740
2024-01-16 03:56:11,370 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173581.674738s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:56:11,371 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:56:11,379 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:56:11,384 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:56:11,398 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373761.0586882, power=281.99, imported=3844672.000270288, exported=0)
2024-01-16 03:56:11,399 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00287209, power1: 281.99, power2: 281.68
2024-01-16 03:56:11,400 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.809454
2024-01-16 03:56:11,402 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.809454 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373771.3981984, power=281.68, imported=3844672.8097246927, exported=0)
2024-01-16 03:56:11,409 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:56:11,414 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:56:11,418 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:56:11,419 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.7, 239.76, 238.99]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1c8130>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:56:11,422 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:56:11,424 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:56:11,432 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[189.0, 27.0, 106.0], currents=[1.0, 0.4, 1.1], voltages=[238.57, 240.33, 239.35], power_factors=[0.73, 0.22, 0.38], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6009.0, imported=8015809.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=323.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23677.0, raw_currents_left=[34.0, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:56:11,435 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': '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.68, invalid_home_consumption=0, daily_yield_home_consumption=5747.2188353894, imported_home_consumption=3844672.8097246927, disengageable_smarthome_power=0))
2024-01-16 03:56:11,437 - {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-16 03:56:11,439 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:56:11,441 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:56:11,443 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:56:11,448 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:56:11,449 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:56:11,455 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:56:11,457 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:56:11,458 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:56:11,459 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:56:11,460 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:56:11,463 - {control.data:245} - {INFO:MainThread} - general_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-16 03:56:11,465 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:56:11,466 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:56:11,469 - {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 0x6c1cff28>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:56:11,470 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:56:11,471 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=41.32))
2024-01-16 03:56:11,472 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=41.32))
2024-01-16 03:56:11,473 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373761, 'time': '03:56:01', 'grid': 0.327, 'house-power': 0.282, 'charging-all': 0.0, 'pv-all': -0.045, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:56:11,475 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:56:11,475 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:56:11,477 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:56:11,478 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:56:11,479 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:56:11,480 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:56:11,482 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:56:11,484 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:56:11,485 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:56:11,489 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:56:11,491 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:56:11,494 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:56:11,495 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -423.0W
2024-01-16 03:56:11,496 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -423.0W
2024-01-16 03:56:11,497 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:56:11,498 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:56:11,501 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:56:11,505 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:56:11,507 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:56:11,531 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:56:11,800 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:56:15,904 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:56:15,905 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:56:20,916 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:56:20,918 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:56:20,964 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:56:20,974 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:56:20,979 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:56:20,985 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:56:20,985 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:56:21,018 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-322, -189, -27, -105], Scale 0
2024-01-16 03:56:21,038 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:56:21,039 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 4, 11], Scale -1
2024-01-16 03:56:21,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":240.5, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373779},"temperature":{"tC":26.5, "tF":79.7}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:56","unixtime":1705373781,"uptime":4733159,"ram_size":248948,"ram_free":144528,"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-16 03:56:21,051 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373770.6607914, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:56:21,052 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00288639, power1: 0, power2: 0
2024-01-16 03:56:21,053 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:56:21,054 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373781.0517862, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:56:21,057 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:56:21,091 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23841, 24023, 23922, 0, 0, 0, 0], Scale -2
2024-01-16 03:56:21,117 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 03:56:21,136 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7250, 2380, 3750], Scale -2
2024-01-16 03:56:21,157 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015810, 3302438, 2344295, 2924238], Scale 0
2024-01-16 03:56:21,157 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.4, 1.1], powers=[189.0, 27.0, 105.0], voltages=[238.41, 240.23000000000002, 239.22], power_factors=[0.725, 0.23800000000000002, 0.375], imported=8015810.0, exported=4871567.0, power=322.0, frequency=50.0)
2024-01-16 03:56:21,159 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:56:21,246 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4983], Scale -2
2024-01-16 03:56:21,277 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:56:21,299 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 30], Scale -2
2024-01-16 03:56:21,352 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4584], Scale -2
2024-01-16 03:56:21,353 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.3], power=49.83, exported=7896155.0, dc_power=45.84)
2024-01-16 03:56:21,355 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:56:21,398 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373771.0460067, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:56:21,399 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.0028756, power1: 0, power2: 0
2024-01-16 03:56:21,399 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:56:21,400 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373781.398169, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:56:21,401 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:56:21,411 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:56:21,417 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:56:21,465 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:56:21,466 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:56:21,468 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:56:21,469 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=49.83, exported=7934579.61, dc_power=None)
2024-01-16 03:56:21,470 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:56:21,477 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=49.83, exported=7934579.61, dc_power=None)
2024-01-16 03:56:21,479 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:56:21,545 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:56:21,546 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.4, 1.1], powers=[189.0, 27.0, 105.0], voltages=[238.41, 240.23000000000002, 239.22], power_factors=[0.725, 0.23800000000000002, 0.375], imported=8015810.0, exported=4871567.0, power=322.0, frequency=50.0)
2024-01-16 03:56:21,708 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:56:21,710 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:56:21,714 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [34.0, 34.7, 33.9]A
2024-01-16 03:56:21,715 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23678.0W
2024-01-16 03:56:21,716 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:56:21,720 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:56:21,722 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:56:21,724 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:56:21.724098
2024-01-16 03:56:21,725 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1376.536772s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:56:21,727 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:56:21.727233
2024-01-16 03:56:21,729 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177202.620593s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:56:21,730 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:56:21.730543
2024-01-16 03:56:21,732 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8306.947934s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:56:21,736 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:56:21.736474
2024-01-16 03:56:21,738 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173571.307004s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:56:21,738 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:56:21,741 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:56:21,750 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:56:21,763 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373771.3981984, power=281.68, imported=3844672.8097246927, exported=0)
2024-01-16 03:56:21,767 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00287912, power1: 281.68, power2: 272.17
2024-01-16 03:56:21,770 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.797299
2024-01-16 03:56:21,772 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.797299 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373781.7630174, power=272.17, imported=3844673.6070240024, exported=0)
2024-01-16 03:56:21,777 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:56:21,786 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:56:21,789 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:56:21,796 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.52, 239.53, 238.71]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1d64a8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:56:21,798 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:56:21,800 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:56:21,801 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[189.0, 27.0, 105.0], currents=[1.0, 0.4, 1.1], voltages=[238.41, 240.23, 239.22], power_factors=[0.72, 0.24, 0.38], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6009.0, imported=8015810.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=322.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23678.0, raw_currents_left=[34.0, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:56:21,803 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=272.17, invalid_home_consumption=0, daily_yield_home_consumption=5747.2188353894, imported_home_consumption=3844673.6070240024, disengageable_smarthome_power=0))
2024-01-16 03:56:21,809 - {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-16 03:56:21,811 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:56:21,812 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:56:21,814 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:56:21,816 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:56:21,817 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:56:21,818 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:56:21,819 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:56:21,820 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:56:21,821 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:56:21,824 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:56:21,825 - {control.data:245} - {INFO:MainThread} - general_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-16 03:56:21,826 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:56:21,827 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:56:21,827 - {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 0x6c1c2328>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:56:21,829 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:56:21,831 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=49.83))
2024-01-16 03:56:21,832 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=49.83))
2024-01-16 03:56:21,833 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373771, 'time': '03:56:11', 'grid': 0.323, 'house-power': 0.282, 'charging-all': 0.0, 'pv-all': -0.041, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:56:21,834 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:56:21,835 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:56:21,836 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:56:21,838 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:56:21,839 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:56:21,840 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:56:21,840 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:56:21,841 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:56:21,842 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:56:21,845 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:56:21,847 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:56:21,850 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:56:21,852 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -422.0W
2024-01-16 03:56:21,853 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -422.0W
2024-01-16 03:56:21,855 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:56:21,856 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:56:21,857 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:56:21,864 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:56:21,869 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:56:21,895 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:56:22,309 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:56:22,312 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:56:25,321 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:56:25,324 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:56:30,337 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:56:30,338 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:56:30,407 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:56:30,408 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:56:30,409 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:56:30,419 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:56:30,422 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:56:30,468 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:56:30,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.5, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373789},"temperature":{"tC":26.5, "tF":79.7}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:56","unixtime":1705373790,"uptime":4733168,"ram_size":249000,"ram_free":145112,"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-16 03:56:30,478 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-325, -188, -28, -108], Scale 0
2024-01-16 03:56:30,480 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373781.0517862, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:56:30,483 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00261916, power1: 0, power2: 0
2024-01-16 03:56:30,484 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:56:30,486 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373790.4807537, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:56:30,490 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:56:30,565 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 4, 11], Scale -1
2024-01-16 03:56:30,585 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23839, 24022, 23913, 0, 0, 0, 0], Scale -2
2024-01-16 03:56:30,614 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 03:56:30,634 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7260, 2310, 3819], Scale -2
2024-01-16 03:56:30,665 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015810, 3302438, 2344295, 2924239], Scale 0
2024-01-16 03:56:30,666 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.4, 1.1], powers=[188.0, 28.0, 108.0], voltages=[238.39000000000001, 240.22, 239.13], power_factors=[0.7260000000000001, 0.231, 0.38189999999999996], imported=8015810.0, exported=4871567.0, power=325.0, frequency=50.0)
2024-01-16 03:56:30,667 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:56:30,687 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4586], Scale -2
2024-01-16 03:56:30,736 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:56:30,801 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 29], Scale -2
2024-01-16 03:56:30,836 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4940], Scale -2
2024-01-16 03:56:30,837 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.29], power=45.86, exported=7896155.0, dc_power=49.4)
2024-01-16 03:56:30,838 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:56:30,976 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373781.398169, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:56:30,977 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00266066, power1: 0, power2: 0
2024-01-16 03:56:30,977 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:56:30,977 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373790.976537, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:56:30,978 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:56:30,987 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:56:30,989 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:56:31,035 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:56:31,035 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:56:31,039 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:56:31,041 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=45.86, exported=7934579.61, dc_power=None)
2024-01-16 03:56:31,050 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:56:31,050 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=45.86, exported=7934579.61, dc_power=None)
2024-01-16 03:56:31,051 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:56:31,107 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:56:31,108 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.4, 1.1], powers=[188.0, 28.0, 108.0], voltages=[238.39000000000001, 240.22, 239.13], power_factors=[0.7260000000000001, 0.231, 0.38189999999999996], imported=8015810.0, exported=4871567.0, power=325.0, frequency=50.0)
2024-01-16 03:56:31,309 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:56:31,315 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:56:31,323 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [34.0, 34.7, 33.9]A
2024-01-16 03:56:31,326 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23675.0W
2024-01-16 03:56:31,328 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:56:31,333 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:56:31,334 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:56:31,342 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:56:31.341975
2024-01-16 03:56:31,344 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1366.918895s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:56:31,346 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:56:31.345811
2024-01-16 03:56:31,347 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177193.002015s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:56:31,351 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:56:31.350701
2024-01-16 03:56:31,352 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8316.568092s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:56:31,353 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:56:31.353282
2024-01-16 03:56:31,354 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173561.690196s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:56:31,355 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:56:31,360 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:56:31,361 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:56:31,369 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373781.7630174, power=272.17, imported=3844673.6070240024, exported=0)
2024-01-16 03:56:31,370 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00266831, power1: 272.17, power2: 279.14
2024-01-16 03:56:31,371 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.735532
2024-01-16 03:56:31,372 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.735532 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373791.368918, power=279.14, imported=3844674.3425558107, exported=0)
2024-01-16 03:56:31,378 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:56:31,384 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:56:31,386 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:56:31,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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.61, 239.54, 238.8]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x701b98b0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:56:31,390 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:56:31,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=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:56:31,394 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[188.0, 28.0, 108.0], currents=[1.0, 0.4, 1.1], voltages=[238.39, 240.22, 239.13], power_factors=[0.73, 0.23, 0.38], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6009.0, imported=8015810.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=325.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23675.0, raw_currents_left=[34.0, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:56:31,395 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=279.14, invalid_home_consumption=0, daily_yield_home_consumption=5747.2188353894, imported_home_consumption=3844674.3425558107, disengageable_smarthome_power=0))
2024-01-16 03:56:31,396 - {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-16 03:56:31,397 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:56:31,400 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:56:31,401 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:56:31,408 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:56:31,412 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:56:31,412 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:56:31,412 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:56:31,413 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:56:31,413 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:56:31,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=1, keep_charge_active_duration=40)
2024-01-16 03:56:31,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-16 03:56:31,414 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:56:31,415 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:56:31,415 - {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 0x6c1dbfb8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:56:31,416 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:56:31,416 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=45.86))
2024-01-16 03:56:31,417 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=45.86))
2024-01-16 03:56:31,418 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373781, 'time': '03:56:21', 'grid': 0.322, 'house-power': 0.272, 'charging-all': 0.0, 'pv-all': -0.05, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:56:31,419 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:56:31,423 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:56:31,424 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:56:31,426 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:56:31,427 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:56:31,428 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:56:31,429 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:56:31,430 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:56:31,431 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:56:31,434 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:56:31,436 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:56:31,439 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:56:31,440 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -425.0W
2024-01-16 03:56:31,443 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -425.0W
2024-01-16 03:56:31,445 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:56:31,446 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:56:31,450 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:56:31,457 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:56:31,464 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:56:31,489 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:56:31,726 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:56:35,761 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:56:35,762 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:56:40,774 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:56:40,775 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:56:40,819 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:56:40,820 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:56:40,822 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:56:40,829 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:56:40,832 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:56:40,868 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-325, -187, -29, -108], Scale 0
2024-01-16 03:56:40,873 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:56:40,875 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":240.5, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373799},"temperature":{"tC":26.5, "tF":79.7}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:56","unixtime":1705373801,"uptime":4733179,"ram_size":249000,"ram_free":145112,"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":-72},"ws":{"connected":false}}

2024-01-16 03:56:40,877 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373790.4807537, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:56:40,878 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0028879, power1: 0, power2: 0
2024-01-16 03:56:40,878 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:56:40,878 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373800.877201, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:56:40,880 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:56:40,922 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 4, 11], Scale -1
2024-01-16 03:56:40,956 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23840, 24017, 23911, 0, 0, 0, 0], Scale -2
2024-01-16 03:56:40,985 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5002], Scale -2
2024-01-16 03:56:41,005 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7239, 2329, 3810], Scale -2
2024-01-16 03:56:41,026 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015811, 3302439, 2344295, 2924239], Scale 0
2024-01-16 03:56:41,027 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.4, 1.1], powers=[187.0, 29.0, 108.0], voltages=[238.4, 240.17000000000002, 239.11], power_factors=[0.7239, 0.2329, 0.381], imported=8015811.0, exported=4871567.0, power=325.0, frequency=50.02)
2024-01-16 03:56:41,029 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:56:41,067 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4635], Scale -2
2024-01-16 03:56:41,110 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:56:41,154 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 29], Scale -2
2024-01-16 03:56:41,175 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4900], Scale -2
2024-01-16 03:56:41,176 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.29], power=46.35, exported=7896155.0, dc_power=49.0)
2024-01-16 03:56:41,177 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:56:41,215 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373790.976537, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:56:41,216 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00284417, power1: 0, power2: 0
2024-01-16 03:56:41,216 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:56:41,217 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373801.2155395, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:56:41,218 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:56:41,231 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:56:41,231 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:56:41,281 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:56:41,283 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:56:41,284 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:56:41,288 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.35, exported=7934579.61, dc_power=None)
2024-01-16 03:56:41,290 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:56:41,302 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.35, exported=7934579.61, dc_power=None)
2024-01-16 03:56:41,303 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:56:41,370 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:56:41,371 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.4, 1.1], powers=[187.0, 29.0, 108.0], voltages=[238.4, 240.17000000000002, 239.11], power_factors=[0.7239, 0.2329, 0.381], imported=8015811.0, exported=4871567.0, power=325.0, frequency=50.02)
2024-01-16 03:56:41,567 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:56:41,575 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:56:41,602 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [34.0, 34.7, 33.9]A
2024-01-16 03:56:41,603 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23675.0W
2024-01-16 03:56:41,606 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:56:41,615 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:56:41,619 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:56:41,622 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:56:41.621953
2024-01-16 03:56:41,624 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1356.638917s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:56:41,626 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:56:41.625953
2024-01-16 03:56:41,632 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177182.721873s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:56:41,643 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:56:41.643235
2024-01-16 03:56:41,644 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8326.860626s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:56:41,647 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:56:41.646546
2024-01-16 03:56:41,648 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173551.396932s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:56:41,649 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:56:41,671 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:56:41,673 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:56:41,687 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373791.368918, power=279.14, imported=3844674.3425558107, exported=0)
2024-01-16 03:56:41,689 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0028663, power1: 279.14, power2: 278.65
2024-01-16 03:56:41,691 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.799396
2024-01-16 03:56:41,692 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.799396 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373801.6875937, power=278.65, imported=3844675.1419522204, exported=0)
2024-01-16 03:56:41,700 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:56:41,702 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:56:41,706 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:56:41,708 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.53, 239.45, 238.65]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1eb460>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:56:41,709 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:56:41,711 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:56:41,713 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[187.0, 29.0, 108.0], currents=[1.0, 0.4, 1.1], voltages=[238.4, 240.17, 239.11], power_factors=[0.72, 0.23, 0.38], unbalanced_load=0, frequency=50.02, daily_exported=0.0, daily_imported=6009.0, imported=8015811.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=325.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23675.0, raw_currents_left=[34.0, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:56:41,714 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=278.65, invalid_home_consumption=0, daily_yield_home_consumption=5747.2188353894, imported_home_consumption=3844675.1419522204, disengageable_smarthome_power=0))
2024-01-16 03:56:41,715 - {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-16 03:56:41,716 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:56:41,719 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:56:41,721 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:56:41,723 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:56:41,725 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:56:41,728 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:56:41,729 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:56:41,730 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:56:41,731 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:56:41,732 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:56:41,734 - {control.data:245} - {INFO:MainThread} - general_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-16 03:56:41,735 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:56:41,738 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:56:41,739 - {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 0x6c1bf7a8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:56:41,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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:56:41,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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=46.35))
2024-01-16 03:56:41,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=8233395.285, power=46.35))
2024-01-16 03:56:41,745 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373791, 'time': '03:56:31', 'grid': 0.325, 'house-power': 0.279, 'charging-all': 0.0, 'pv-all': -0.046, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:56:41,747 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:56:41,748 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:56:41,750 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:56:41,752 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:56:41,755 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:56:41,757 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:56:41,759 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:56:41,759 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:56:41,761 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:56:41,764 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:56:41,767 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:56:41,772 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:56:41,774 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -425.0W
2024-01-16 03:56:41,775 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -425.0W
2024-01-16 03:56:41,776 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:56:41,778 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:56:41,779 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:56:41,783 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:56:41,788 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:56:41,838 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:56:42,123 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:56:42,124 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:56:45,152 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:56:45,153 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:56:50,168 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:56:50,170 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:56:50,213 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:56:50,214 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:56:50,216 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:56:50,227 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:56:50,231 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:56:50,265 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-322, -187, -28, -106], Scale 0
2024-01-16 03:56:50,283 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:56:50,284 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":240.6, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373808},"temperature":{"tC":26.5, "tF":79.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:56","unixtime":1705373810,"uptime":4733188,"ram_size":249000,"ram_free":145112,"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-16 03:56:50,287 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 4, 11], Scale -1
2024-01-16 03:56:50,287 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373800.877201, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:56:50,289 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00261406, power1: 0, power2: 0
2024-01-16 03:56:50,289 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:56:50,290 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373810.2877996, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:56:50,291 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:56:50,305 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23847, 24026, 23919, 0, 0, 0, 0], Scale -2
2024-01-16 03:56:50,356 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5002], Scale -2
2024-01-16 03:56:50,388 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7189, 2280, 3869], Scale -2
2024-01-16 03:56:50,416 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015812, 3302439, 2344295, 2924239], Scale 0
2024-01-16 03:56:50,417 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.4, 1.1], powers=[187.0, 28.0, 106.0], voltages=[238.47, 240.26, 239.19], power_factors=[0.7189, 0.228, 0.38689999999999997], imported=8015812.0, exported=4871567.0, power=322.0, frequency=50.02)
2024-01-16 03:56:50,418 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:56:50,435 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4448], Scale -2
2024-01-16 03:56:50,574 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:56:50,618 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 31], Scale -2
2024-01-16 03:56:50,647 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4516], Scale -2
2024-01-16 03:56:50,648 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.31], power=44.480000000000004, exported=7896155.0, dc_power=45.160000000000004)
2024-01-16 03:56:50,649 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:56:50,715 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373801.2155395, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:56:50,716 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00263899, power1: 0, power2: 0
2024-01-16 03:56:50,717 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:56:50,717 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373810.7159164, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:56:50,718 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:56:50,722 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:56:50,723 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:56:50,778 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:56:50,780 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:56:50,781 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=44.480000000000004, exported=7934579.61, dc_power=None)
2024-01-16 03:56:50,785 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=44.480000000000004, exported=7934579.61, dc_power=None)
2024-01-16 03:56:50,788 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:56:50,803 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:56:50,811 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:56:50,877 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:56:50,878 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.4, 1.1], powers=[187.0, 28.0, 106.0], voltages=[238.47, 240.26, 239.19], power_factors=[0.7189, 0.228, 0.38689999999999997], imported=8015812.0, exported=4871567.0, power=322.0, frequency=50.02)
2024-01-16 03:56:51,082 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:56:51,089 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:56:51,091 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [34.0, 34.7, 33.9]A
2024-01-16 03:56:51,093 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23678.0W
2024-01-16 03:56:51,094 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:56:51,096 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:56:51,097 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:56:51,099 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:56:51.098892
2024-01-16 03:56:51,100 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1347.161978s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:56:51,102 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:56:51.102009
2024-01-16 03:56:51,103 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177173.245817s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:56:51,105 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:56:51.104903
2024-01-16 03:56:51,106 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8336.322294s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:56:51,107 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:56:51.106966
2024-01-16 03:56:51,109 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173541.936512s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:56:51,110 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:56:51,118 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:56:51,121 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:56:51,130 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373801.6875937, power=278.65, imported=3844675.1419522204, exported=0)
2024-01-16 03:56:51,132 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00262293, power1: 278.65, power2: 277.52
2024-01-16 03:56:51,134 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.729397
2024-01-16 03:56:51,135 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.729397 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373811.1301305, power=277.52, imported=3844675.8713488467, exported=0)
2024-01-16 03:56:51,139 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:56:51,140 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:56:51,142 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:56:51,143 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.64, 239.59, 238.81]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1d1658>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:56:51,152 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-16 03:56:51,153 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:56:51,155 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[187.0, 28.0, 106.0], currents=[1.0, 0.4, 1.1], voltages=[238.47, 240.26, 239.19], power_factors=[0.72, 0.23, 0.39], unbalanced_load=0, frequency=50.02, daily_exported=0.0, daily_imported=6009.0, imported=8015812.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=322.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23678.0, raw_currents_left=[34.0, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:56:51,157 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=277.52, invalid_home_consumption=0, daily_yield_home_consumption=5747.2188353894, imported_home_consumption=3844675.8713488467, disengageable_smarthome_power=0))
2024-01-16 03:56:51,159 - {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-16 03:56:51,161 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:56:51,162 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:56:51,163 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:56:51,164 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:56:51,165 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:56:51,166 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:56:51,168 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:56:51,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-16 03:56:51,169 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:56:51,170 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:56:51,172 - {control.data:245} - {INFO:MainThread} - general_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-16 03:56:51,173 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:56:51,174 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:56:51,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 0x6c1ecc28>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:56:51,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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:56:51,179 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=44.48))
2024-01-16 03:56:51,180 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=44.48))
2024-01-16 03:56:51,181 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373801, 'time': '03:56:41', 'grid': 0.325, 'house-power': 0.279, 'charging-all': 0.0, 'pv-all': -0.046, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:56:51,182 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:56:51,183 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:56:51,184 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:56:51,185 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:56:51,186 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:56:51,187 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:56:51,188 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:56:51,188 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:56:51,189 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:56:51,192 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:56:51,193 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:56:51,196 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:56:51,197 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -422.0W
2024-01-16 03:56:51,198 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -422.0W
2024-01-16 03:56:51,199 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:56:51,200 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:56:51,200 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:56:51,203 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:56:51,205 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:56:51,235 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:56:51,480 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:56:55,515 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:56:55,517 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:57:00,530 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:57:00,531 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:57:00,576 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:57:00,577 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:57:00,584 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:57:00,587 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:57:00,587 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:57:00,635 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:57:00,637 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":240.7, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373819},"temperature":{"tC":26.5, "tF":79.8}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:57","unixtime":1705373821,"uptime":4733198,"ram_size":248948,"ram_free":144536,"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":-72},"ws":{"connected":false}}

2024-01-16 03:57:00,642 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373810.2877996, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:57:00,645 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00287616, power1: 0, power2: 0
2024-01-16 03:57:00,647 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:57:00,648 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-324, -188, -28, -108], Scale 0
2024-01-16 03:57:00,649 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373820.641975, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:57:00,659 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:57:00,677 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 4, 11], Scale -1
2024-01-16 03:57:00,696 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23840, 24020, 23911, 0, 0, 0, 0], Scale -2
2024-01-16 03:57:00,715 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5002], Scale -2
2024-01-16 03:57:00,735 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7200, 2290, 3880], Scale -2
2024-01-16 03:57:00,782 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015813, 3302440, 2344295, 2924240], Scale 0
2024-01-16 03:57:00,782 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.4, 1.1], powers=[188.0, 28.0, 108.0], voltages=[238.4, 240.20000000000002, 239.11], power_factors=[0.72, 0.229, 0.38800000000000007], imported=8015813.0, exported=4871567.0, power=324.0, frequency=50.02)
2024-01-16 03:57:00,784 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:57:00,826 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4916], Scale -2
2024-01-16 03:57:00,846 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:57:00,866 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 29, 30], Scale -2
2024-01-16 03:57:00,886 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4991], Scale -2
2024-01-16 03:57:00,887 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.29, 0.3], power=49.160000000000004, exported=7896155.0, dc_power=49.910000000000004)
2024-01-16 03:57:00,888 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:57:01,050 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373810.7159164, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:57:01,051 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00287071, power1: 0, power2: 0
2024-01-16 03:57:01,051 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:57:01,052 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373821.0504556, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:57:01,053 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:57:01,061 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:57:01,069 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:57:01,119 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:57:01,120 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:57:01,123 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=49.160000000000004, exported=7934579.61, dc_power=None)
2024-01-16 03:57:01,125 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=49.160000000000004, exported=7934579.61, dc_power=None)
2024-01-16 03:57:01,126 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:57:01,147 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:57:01,149 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:57:01,223 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:57:01,224 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.4, 1.1], powers=[188.0, 28.0, 108.0], voltages=[238.4, 240.20000000000002, 239.11], power_factors=[0.72, 0.229, 0.38800000000000007], imported=8015813.0, exported=4871567.0, power=324.0, frequency=50.02)
2024-01-16 03:57:01,417 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:57:01,423 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:57:01,433 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [34.0, 34.7, 33.9]A
2024-01-16 03:57:01,437 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23676.0W
2024-01-16 03:57:01,439 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:57:01,449 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:57:01,455 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:57:01,457 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:57:01.456758
2024-01-16 03:57:01,458 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1336.804112s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:57:01,460 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:57:01.460007
2024-01-16 03:57:01,461 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177162.887819s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:57:01,463 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:57:01.463149
2024-01-16 03:57:01,466 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8346.68054s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:57:01,469 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:57:01.468561
2024-01-16 03:57:01,470 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173531.574917s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:57:01,472 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:57:01,479 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:57:01,497 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:57:01,534 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373811.1301305, power=277.52, imported=3844675.8713488467, exported=0)
2024-01-16 03:57:01,541 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00288996, power1: 277.52, power2: 274.84
2024-01-16 03:57:01,545 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.79815
2024-01-16 03:57:01,547 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.79815 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373821.5339983, power=274.84000000000003, imported=3844676.6694988986, exported=0)
2024-01-16 03:57:01,553 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:57:01,558 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:57:01,559 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:57:01,562 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.66, 239.6, 238.85]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1e30a0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:57:01,563 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:57:01,564 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:57:01,566 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[188.0, 28.0, 108.0], currents=[1.0, 0.4, 1.1], voltages=[238.4, 240.2, 239.11], power_factors=[0.72, 0.23, 0.39], unbalanced_load=0, frequency=50.02, daily_exported=0.0, daily_imported=6009.0, imported=8015813.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=324.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23676.0, raw_currents_left=[34.0, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:57:01,567 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=274.84000000000003, invalid_home_consumption=0, daily_yield_home_consumption=5747.2188353894, imported_home_consumption=3844676.6694988986, disengageable_smarthome_power=0))
2024-01-16 03:57: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-16 03:57:01,571 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:57:01,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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:57:01,574 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:57:01,575 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:57:01,576 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:57:01,579 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:57:01,582 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:57:01,585 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:57:01,586 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:57:01,587 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:57:01,588 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-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-16 03:57:01,589 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:57:01,590 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:57:01,590 - {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 0x6c1de5c8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:57:01,591 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:57:01,591 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=49.16))
2024-01-16 03:57:01,592 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=49.16))
2024-01-16 03:57:01,592 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373811, 'time': '03:56:51', 'grid': 0.322, 'house-power': 0.278, 'charging-all': 0.0, 'pv-all': -0.044, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:57:01,593 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:57:01,593 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:57:01,593 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:57:01,594 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:57:01,594 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:57:01,594 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:57:01,595 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:57:01,595 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:57:01,596 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:57:01,599 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:57:01,601 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:57:01,603 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:57:01,604 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -424.0W
2024-01-16 03:57:01,604 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -424.0W
2024-01-16 03:57:01,604 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:57:01,605 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:57:01,605 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:57:01,610 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:57:01,624 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:57:01,649 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:57:01,901 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:57:01,906 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:57:05,917 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:57:10,932 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:57:10,933 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:57:10,983 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:57:10,986 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:57:10,992 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:57:10,993 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:57:11,005 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:57:11,041 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:57:11,044 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":240.8, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373829},"temperature":{"tC":26.4, "tF":79.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:57","unixtime":1705373831,"uptime":4733209,"ram_size":248948,"ram_free":144536,"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-16 03:57:11,046 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373820.641975, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:57:11,050 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00289008, power1: 0, power2: 0
2024-01-16 03:57:11,051 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:57:11,052 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373831.0462675, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:57:11,054 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:57:11,066 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-325, -187, -28, -109], Scale 0
2024-01-16 03:57:11,092 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 4, 11], Scale -1
2024-01-16 03:57:11,116 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23827, 24017, 23902, 0, 0, 0, 0], Scale -2
2024-01-16 03:57:11,136 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5002], Scale -2
2024-01-16 03:57:11,156 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7229, 2360, 4020], Scale -2
2024-01-16 03:57:11,226 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015814, 3302440, 2344295, 2924240], Scale 0
2024-01-16 03:57:11,227 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.4, 1.1], powers=[187.0, 28.0, 109.0], voltages=[238.27, 240.17000000000002, 239.02], power_factors=[0.7229000000000001, 0.23600000000000002, 0.402], imported=8015814.0, exported=4871567.0, power=325.0, frequency=50.02)
2024-01-16 03:57:11,228 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:57:11,265 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5079], Scale -2
2024-01-16 03:57:11,284 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:57:11,306 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 30], Scale -2
2024-01-16 03:57:11,327 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5157], Scale -2
2024-01-16 03:57:11,328 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.3], power=50.79, exported=7896155.0, dc_power=51.57)
2024-01-16 03:57:11,330 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:57:11,406 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373821.0504556, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:57:11,407 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00287654, power1: 0, power2: 0
2024-01-16 03:57:11,407 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:57:11,407 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373831.40601, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:57:11,408 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:57:11,414 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:57:11,416 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:57:11,461 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:57:11,462 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:57:11,464 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=50.79, exported=7934579.61, dc_power=None)
2024-01-16 03:57:11,465 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=50.79, exported=7934579.61, dc_power=None)
2024-01-16 03:57:11,466 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:57:11,473 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:57:11,476 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:57:11,531 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:57:11,532 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.4, 1.1], powers=[187.0, 28.0, 109.0], voltages=[238.27, 240.17000000000002, 239.02], power_factors=[0.7229000000000001, 0.23600000000000002, 0.402], imported=8015814.0, exported=4871567.0, power=325.0, frequency=50.02)
2024-01-16 03:57:11,710 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:57:11,712 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:57:11,716 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [34.0, 34.7, 33.9]A
2024-01-16 03:57:11,718 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23675.0W
2024-01-16 03:57:11,719 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:57:11,721 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:57:11,722 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:57:11,724 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:57:11.724069
2024-01-16 03:57:11,726 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1326.536801s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:57:11,727 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:57:11.727124
2024-01-16 03:57:11,729 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177152.620702s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:57:11,730 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:57:11.730144
2024-01-16 03:57:11,731 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8356.947535s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:57:11,733 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:57:11.732835
2024-01-16 03:57:11,734 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173521.310643s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:57:11,735 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:57:11,739 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:57:11,741 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:57:11,757 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373821.5339983, power=274.84000000000003, imported=3844676.6694988986, exported=0)
2024-01-16 03:57:11,759 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0028398, power1: 274.84, power2: 274.21
2024-01-16 03:57:11,760 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.779595
2024-01-16 03:57:11,761 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.779595 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373831.7572668, power=274.21, imported=3844677.449094117, exported=0)
2024-01-16 03:57:11,762 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:57:11,764 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:57:11,771 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:57:11,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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.81, 239.73, 239.03]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1d3088>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:57:11,773 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:57:11,775 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:57:11,776 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[187.0, 28.0, 109.0], currents=[1.0, 0.4, 1.1], voltages=[238.27, 240.17, 239.02], power_factors=[0.72, 0.24, 0.4], unbalanced_load=0, frequency=50.02, daily_exported=0.0, daily_imported=6009.0, imported=8015814.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=325.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23675.0, raw_currents_left=[34.0, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:57:11,778 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=274.21, invalid_home_consumption=0, daily_yield_home_consumption=5747.2188353894, imported_home_consumption=3844677.449094117, disengageable_smarthome_power=0))
2024-01-16 03:57:11,780 - {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-16 03:57:11,782 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:57:11,786 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:57:11,788 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:57:11,789 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:57:11,789 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:57:11,791 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:57:11,795 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:57:11,796 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:57:11,797 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:57:11,799 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:57:11,800 - {control.data:245} - {INFO:MainThread} - general_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-16 03:57:11,801 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:57:11,802 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:57:11,803 - {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 0x6c1dc400>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:57:11,805 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:57:11,805 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=50.79))
2024-01-16 03:57:11,806 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=50.79))
2024-01-16 03:57:11,809 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373821, 'time': '03:57:01', 'grid': 0.324, 'house-power': 0.275, 'charging-all': 0.0, 'pv-all': -0.049, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:57:11,811 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:57:11,812 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:57:11,813 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:57:11,814 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:57:11,815 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:57:11,817 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:57:11,819 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:57:11,820 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:57:11,822 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:57:11,825 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:57:11,827 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:57:11,830 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:57:11,831 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -425.0W
2024-01-16 03:57:11,834 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -425.0W
2024-01-16 03:57:11,835 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:57:11,836 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:57:11,838 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:57:11,843 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:57:11,849 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:57:11,879 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:57:12,199 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:57:12,230 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:57:15,240 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:57:15,241 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:57:20,254 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:57:20,256 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:57:20,301 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:57:20,303 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:57:20,306 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:57:20,312 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:57:20,325 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:57:20,348 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-328, -188, -28, -111], Scale 0
2024-01-16 03:57:20,365 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:57:20,368 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 4, 11], Scale -1
2024-01-16 03:57:20,373 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373838},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:57","unixtime":1705373840,"uptime":4733218,"ram_size":248948,"ram_free":144532,"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-16 03:57:20,383 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373831.0462675, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:57:20,384 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00259377, power1: 0, power2: 0
2024-01-16 03:57:20,384 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:57:20,385 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373840.3838382, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:57:20,386 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:57:20,459 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23852, 24027, 23923, 0, 0, 0, 0], Scale -2
2024-01-16 03:57:20,485 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5004], Scale -2
2024-01-16 03:57:20,506 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7220, 2469, 3799], Scale -2
2024-01-16 03:57:20,527 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015815, 3302441, 2344295, 2924240], Scale 0
2024-01-16 03:57:20,527 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.4, 1.1], powers=[188.0, 28.0, 111.0], voltages=[238.52, 240.27, 239.23000000000002], power_factors=[0.722, 0.2469, 0.3799], imported=8015815.0, exported=4871567.0, power=328.0, frequency=50.04)
2024-01-16 03:57:20,529 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:57:20,546 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4265], Scale -2
2024-01-16 03:57:20,575 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:57:20,606 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 31], Scale -2
2024-01-16 03:57:20,632 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4330], Scale -2
2024-01-16 03:57:20,633 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.31], power=42.65, exported=7896155.0, dc_power=43.300000000000004)
2024-01-16 03:57:20,634 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:57:20,705 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373831.40601, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:57:20,706 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00258327, power1: 0, power2: 0
2024-01-16 03:57:20,706 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:57:20,707 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373840.7057695, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:57:20,708 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:57:20,723 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:57:20,725 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:57:20,780 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:57:20,781 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:57:20,782 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=42.65, exported=7934579.61, dc_power=None)
2024-01-16 03:57:20,784 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=42.65, exported=7934579.61, dc_power=None)
2024-01-16 03:57:20,785 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:57:20,795 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:57:20,797 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:57:20,859 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:57:20,859 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.4, 1.1], powers=[188.0, 28.0, 111.0], voltages=[238.52, 240.27, 239.23000000000002], power_factors=[0.722, 0.2469, 0.3799], imported=8015815.0, exported=4871567.0, power=328.0, frequency=50.04)
2024-01-16 03:57:21,024 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:57:21,030 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:57:21,037 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [34.0, 34.7, 33.9]A
2024-01-16 03:57:21,040 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23672.0W
2024-01-16 03:57:21,041 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:57:21,046 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:57:21,046 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:57:21,050 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:57:21.050375
2024-01-16 03:57:21,051 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1317.210495s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:57:21,053 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:57:21.052940
2024-01-16 03:57:21,056 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177143.294886s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:57:21,057 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:57:21.057343
2024-01-16 03:57:21,061 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8366.274734s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:57:21,063 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:57:21.062848
2024-01-16 03:57:21,066 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173511.98063s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:57:21,066 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:57:21,076 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:57:21,083 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:57:21,090 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373831.7572668, power=274.21, imported=3844677.449094117, exported=0)
2024-01-16 03:57:21,093 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0025926, power1: 274.21, power2: 285.35
2024-01-16 03:57:21,094 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.725358
2024-01-16 03:57:21,095 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.725358 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373841.0906334, power=285.35, imported=3844678.1744522606, exported=0)
2024-01-16 03:57:21,097 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:57:21,098 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:57:21,100 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:57:21,101 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.83, 239.71, 238.93]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1c8340>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:57:21,103 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:57:21,104 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:57:21,105 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[188.0, 28.0, 111.0], currents=[1.0, 0.4, 1.1], voltages=[238.52, 240.27, 239.23], power_factors=[0.72, 0.25, 0.38], unbalanced_load=0, frequency=50.04, daily_exported=0.0, daily_imported=6009.0, imported=8015815.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=328.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23672.0, raw_currents_left=[34.0, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:57:21,107 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=285.35, invalid_home_consumption=0, daily_yield_home_consumption=5747.2188353894, imported_home_consumption=3844678.1744522606, disengageable_smarthome_power=0))
2024-01-16 03:57:21,108 - {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-16 03:57:21,109 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:57:21,110 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:57:21,111 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:57:21,112 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:57:21,113 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:57:21,113 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:57:21,114 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:57:21,119 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:57:21,120 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:57:21,121 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:57:21,122 - {control.data:245} - {INFO:MainThread} - general_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-16 03:57:21,123 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:57:21,124 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:57:21,125 - {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 0x6c1f0958>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:57:21,125 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:57:21,126 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=42.65))
2024-01-16 03:57:21,128 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=42.65))
2024-01-16 03:57:21,129 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373831, 'time': '03:57:11', 'grid': 0.325, 'house-power': 0.274, 'charging-all': 0.0, 'pv-all': -0.051, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:57:21,130 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:57:21,131 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:57:21,132 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:57:21,133 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:57:21,134 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:57:21,135 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:57:21,136 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:57:21,137 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:57:21,138 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:57:21,141 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:57:21,142 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:57:21,145 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:57:21,147 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -428.0W
2024-01-16 03:57:21,147 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -428.0W
2024-01-16 03:57:21,149 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:57:21,150 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:57:21,152 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:57:21,154 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:57:21,156 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:57:21,181 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:57:21,424 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:57:25,451 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:57:25,452 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:57:30,464 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:57:30,465 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:57:30,510 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:57:30,511 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:57:30,512 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:57:30,519 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:57:30,523 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:57:30,544 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-322, -185, -29, -107], Scale 0
2024-01-16 03:57:30,568 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:57:30,570 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373849},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:57","unixtime":1705373851,"uptime":4733228,"ram_size":249000,"ram_free":145112,"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-16 03:57:30,576 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373840.3838382, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:57:30,578 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00283134, power1: 0, power2: 0
2024-01-16 03:57:30,580 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:57:30,581 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373850.5766602, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:57:30,584 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:57:30,615 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 4, 11], Scale -1
2024-01-16 03:57:30,635 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23850, 24042, 23920, 0, 0, 0, 0], Scale -2
2024-01-16 03:57:30,679 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5004], Scale -2
2024-01-16 03:57:30,705 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7189, 2419, 3869], Scale -2
2024-01-16 03:57:30,727 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015816, 3302441, 2344296, 2924241], Scale 0
2024-01-16 03:57:30,728 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.4, 1.1], powers=[185.0, 29.0, 107.0], voltages=[238.5, 240.42000000000002, 239.20000000000002], power_factors=[0.7189, 0.2419, 0.38689999999999997], imported=8015816.0, exported=4871567.0, power=322.0, frequency=50.04)
2024-01-16 03:57:30,730 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:57:30,754 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4409], Scale -2
2024-01-16 03:57:30,774 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:57:30,794 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 30], Scale -2
2024-01-16 03:57:30,846 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4477], Scale -2
2024-01-16 03:57:30,847 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.3], power=44.09, exported=7896155.0, dc_power=44.77)
2024-01-16 03:57:30,850 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:57:30,905 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373840.7057695, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:57:30,906 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00283319, power1: 0, power2: 0
2024-01-16 03:57:30,906 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:57:30,906 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373850.9052396, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:57:30,908 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:57:30,927 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:57:30,928 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:57:30,989 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:57:30,990 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:57:30,991 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:57:30,995 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=44.09, exported=7934579.61, dc_power=None)
2024-01-16 03:57:30,996 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:57:31,001 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=44.09, exported=7934579.61, dc_power=None)
2024-01-16 03:57:31,003 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:57:31,068 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:57:31,069 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.4, 1.1], powers=[185.0, 29.0, 107.0], voltages=[238.5, 240.42000000000002, 239.20000000000002], power_factors=[0.7189, 0.2419, 0.38689999999999997], imported=8015816.0, exported=4871567.0, power=322.0, frequency=50.04)
2024-01-16 03:57:31,248 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:57:31,249 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:57:31,261 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [34.0, 34.7, 33.9]A
2024-01-16 03:57:31,262 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23678.0W
2024-01-16 03:57:31,263 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:57:31,272 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:57:31,272 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:57:31,275 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:57:31.275274
2024-01-16 03:57:31,279 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1306.985596s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:57:31,297 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:57:31.295421
2024-01-16 03:57:31,299 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177133.052405s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:57:31,300 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:57:31.300195
2024-01-16 03:57:31,302 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8376.517586s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:57:31,305 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:57:31.304826
2024-01-16 03:57:31,306 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173501.738652s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:57:31,308 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:57:31,314 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:57:31,316 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:57:31,347 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373841.0906334, power=285.35, imported=3844678.1744522606, exported=0)
2024-01-16 03:57:31,348 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00284907, power1: 285.35, power2: 277.91
2024-01-16 03:57:31,349 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.802383
2024-01-16 03:57:31,351 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.802383 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373851.347275, power=277.90999999999997, imported=3844678.9768350334, exported=0)
2024-01-16 03:57:31,357 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:57:31,358 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:57:31,359 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:57:31,361 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.71, 239.67, 238.83]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1dc118>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:57:31,362 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:57:31,364 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:57:31,365 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[185.0, 29.0, 107.0], currents=[1.0, 0.4, 1.1], voltages=[238.5, 240.42, 239.2], power_factors=[0.72, 0.24, 0.39], unbalanced_load=0, frequency=50.04, daily_exported=0.0, daily_imported=6009.0, imported=8015816.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=322.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23678.0, raw_currents_left=[34.0, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:57:31,367 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=277.90999999999997, invalid_home_consumption=0, daily_yield_home_consumption=5747.2188353894, imported_home_consumption=3844678.9768350334, disengageable_smarthome_power=0))
2024-01-16 03:57:31,368 - {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-16 03:57:31,370 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:57:31,372 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:57:31,374 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:57:31,375 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:57:31,378 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:57:31,380 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:57:31,381 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:57:31,383 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:57:31,383 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:57:31,385 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:57:31,387 - {control.data:245} - {INFO:MainThread} - general_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-16 03:57:31,388 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:57:31,390 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:57:31,391 - {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 0x6c1e1ef8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:57:31,393 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:57:31,394 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=44.09))
2024-01-16 03:57:31,396 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=44.09))
2024-01-16 03:57:31,397 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373841, 'time': '03:57:21', 'grid': 0.328, 'house-power': 0.285, 'charging-all': 0.0, 'pv-all': -0.043, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:57:31,399 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:57:31,400 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:57:31,402 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:57:31,403 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:57:31,405 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:57:31,406 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:57:31,408 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:57:31,409 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:57:31,410 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:57:31,413 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:57:31,415 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:57:31,418 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:57:31,419 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -422.0W
2024-01-16 03:57:31,421 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -422.0W
2024-01-16 03:57:31,423 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:57:31,424 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:57:31,426 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:57:31,429 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:57:31,432 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:57:31,456 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:57:31,743 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:57:31,745 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:57:35,755 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:57:40,767 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:57:40,768 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:57:40,813 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:57:40,814 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:57:40,822 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:57:40,826 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:57:40,827 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:57:40,870 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:57:40,873 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373859},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:57","unixtime":1705373861,"uptime":4733239,"ram_size":249000,"ram_free":145112,"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-16 03:57:40,877 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373850.5766602, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:57:40,886 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00286122, power1: 0, power2: 0
2024-01-16 03:57:40,889 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:57:40,890 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373860.8770669, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:57:40,891 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-314, -177, -27, -109], Scale 0
2024-01-16 03:57:40,893 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:57:40,916 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 4, 11], Scale -1
2024-01-16 03:57:40,937 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23860, 24044, 23937, 0, 0, 0, 0], Scale -2
2024-01-16 03:57:40,955 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5004], Scale -2
2024-01-16 03:57:40,976 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7170, 2349, 3840], Scale -2
2024-01-16 03:57:41,024 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015816, 3302442, 2344296, 2924241], Scale 0
2024-01-16 03:57:41,025 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.4, 1.1], powers=[177.0, 27.0, 109.0], voltages=[238.6, 240.44, 239.37], power_factors=[0.7170000000000001, 0.23490000000000003, 0.384], imported=8015816.0, exported=4871567.0, power=314.0, frequency=50.04)
2024-01-16 03:57:41,033 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:57:41,076 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4604], Scale -2
2024-01-16 03:57:41,096 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:57:41,116 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 30], Scale -2
2024-01-16 03:57:41,195 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4674], Scale -2
2024-01-16 03:57:41,196 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.3], power=46.04, exported=7896155.0, dc_power=46.74)
2024-01-16 03:57:41,202 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:57:41,247 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373850.9052396, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:57:41,248 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00287277, power1: 0, power2: 0
2024-01-16 03:57:41,248 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:57:41,248 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373861.2472196, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:57:41,249 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:57:41,258 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:57:41,259 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:57:41,310 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:57:41,311 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:57:41,315 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.04, exported=7934579.61, dc_power=None)
2024-01-16 03:57:41,317 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.04, exported=7934579.61, dc_power=None)
2024-01-16 03:57:41,329 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:57:41,336 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:57:41,336 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:57:41,384 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:57:41,385 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.4, 1.1], powers=[177.0, 27.0, 109.0], voltages=[238.6, 240.44, 239.37], power_factors=[0.7170000000000001, 0.23490000000000003, 0.384], imported=8015816.0, exported=4871567.0, power=314.0, frequency=50.04)
2024-01-16 03:57:41,571 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:57:41,574 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:57:41,578 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [34.0, 34.7, 33.9]A
2024-01-16 03:57:41,580 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23686.0W
2024-01-16 03:57:41,581 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:57:41,583 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:57:41,583 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:57:41,585 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:57:41.584990
2024-01-16 03:57:41,586 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1296.67588s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:57:41,590 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:57:41.589906
2024-01-16 03:57:41,591 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177122.75792s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:57:41,592 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:57:41.592214
2024-01-16 03:57:41,594 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8386.809605s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:57:41,595 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:57:41.595346
2024-01-16 03:57:41,596 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173491.448132s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:57:41,597 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:57:41,605 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:57:41,606 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:57:41,629 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373851.347275, power=277.90999999999997, imported=3844678.9768350334, exported=0)
2024-01-16 03:57:41,630 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00285602, power1: 277.91, power2: 267.96
2024-01-16 03:57:41,634 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.779509
2024-01-16 03:57:41,635 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.779509 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373861.6289647, power=267.96, imported=3844679.75634419, exported=0)
2024-01-16 03:57:41,640 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:57:41,641 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:57:41,642 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:57:41,644 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.55, 239.66, 238.58]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x7017a8b0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:57:41,645 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-16 03:57:41,647 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:57:41,648 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[177.0, 27.0, 109.0], currents=[1.0, 0.4, 1.1], voltages=[238.6, 240.44, 239.37], power_factors=[0.72, 0.23, 0.38], unbalanced_load=0, frequency=50.04, daily_exported=0.0, daily_imported=6009.0, imported=8015816.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=314.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23686.0, raw_currents_left=[34.0, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:57:41,655 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=267.96, invalid_home_consumption=0, daily_yield_home_consumption=5747.2188353894, imported_home_consumption=3844679.75634419, disengageable_smarthome_power=0))
2024-01-16 03:57:41,658 - {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-16 03:57:41,659 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:57:41,661 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:57:41,662 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:57:41,663 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:57:41,664 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:57:41,665 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:57:41,667 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:57:41,669 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:57:41,671 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:57:41,672 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:57:41,673 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-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-16 03:57:41,676 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:57:41,678 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:57:41,678 - {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 0x6c1f8358>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:57:41,679 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:57:41,680 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=46.04))
2024-01-16 03:57:41,681 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=46.04))
2024-01-16 03:57:41,682 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373851, 'time': '03:57:31', 'grid': 0.322, 'house-power': 0.278, 'charging-all': 0.0, 'pv-all': -0.044, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:57:41,683 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:57:41,686 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:57:41,688 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:57:41,689 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:57:41,691 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:57:41,692 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:57:41,693 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:57:41,696 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:57:41,697 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:57:41,700 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:57:41,702 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:57:41,704 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:57:41,707 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -414.0W
2024-01-16 03:57:41,708 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -414.0W
2024-01-16 03:57:41,709 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:57:41,710 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:57:41,711 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:57:41,714 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:57:41,717 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:57:41,743 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:57:42,095 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:57:42,100 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:57:45,146 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:57:45,147 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:57:50,170 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:57:50,171 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:57:50,247 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:57:50,254 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:57:50,268 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:57:50,271 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:57:50,280 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:57:50,309 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-312, -177, -28, -107], Scale 0
2024-01-16 03:57:50,331 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:57:50,333 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373868},"temperature":{"tC":26.4, "tF":79.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:57","unixtime":1705373870,"uptime":4733248,"ram_size":249000,"ram_free":145112,"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-16 03:57:50,341 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373860.8770669, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:57:50,341 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00262885, power1: 0, power2: 0
2024-01-16 03:57:50,343 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:57:50,345 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373870.3409126, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:57:50,347 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:57:50,348 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 4, 11], Scale -1
2024-01-16 03:57:50,379 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23818, 24006, 23913, 0, 0, 0, 0], Scale -2
2024-01-16 03:57:50,433 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5004], Scale -2
2024-01-16 03:57:50,516 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7020, 2460, 3840], Scale -2
2024-01-16 03:57:50,534 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015817, 3302442, 2344296, 2924241], Scale 0
2024-01-16 03:57:50,535 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.4, 1.1], powers=[177.0, 28.0, 107.0], voltages=[238.18, 240.06, 239.13], power_factors=[0.7020000000000001, 0.24600000000000002, 0.384], imported=8015817.0, exported=4871567.0, power=312.0, frequency=50.04)
2024-01-16 03:57:50,536 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:57:50,553 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4596], Scale -2
2024-01-16 03:57:50,676 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:57:50,705 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 31], Scale -2
2024-01-16 03:57:50,735 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4666], Scale -2
2024-01-16 03:57:50,735 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.31], power=45.96, exported=7896155.0, dc_power=46.660000000000004)
2024-01-16 03:57:50,737 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:57:50,775 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373861.2472196, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:57:50,775 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00264661, power1: 0, power2: 0
2024-01-16 03:57:50,776 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:57:50,776 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373870.7750309, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:57:50,777 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:57:50,782 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:57:50,783 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:57:50,826 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:57:50,826 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:57:50,828 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:57:50,830 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=45.96, exported=7934579.61, dc_power=None)
2024-01-16 03:57:50,833 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:57:50,836 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=45.96, exported=7934579.61, dc_power=None)
2024-01-16 03:57:50,838 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:57:50,895 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:57:50,896 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.4, 1.1], powers=[177.0, 28.0, 107.0], voltages=[238.18, 240.06, 239.13], power_factors=[0.7020000000000001, 0.24600000000000002, 0.384], imported=8015817.0, exported=4871567.0, power=312.0, frequency=50.04)
2024-01-16 03:57:51,065 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:57:51,067 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:57:51,071 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [34.0, 34.7, 33.9]A
2024-01-16 03:57:51,072 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23688.0W
2024-01-16 03:57:51,073 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:57:51,075 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:57:51,076 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:57:51,078 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:57:51.078114
2024-01-16 03:57:51,079 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1287.182756s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:57:51,081 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:57:51.081024
2024-01-16 03:57:51,082 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177113.266802s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:57:51,084 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:57:51.083741
2024-01-16 03:57:51,085 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8396.301132s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:57:51,088 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:57:51.087948
2024-01-16 03:57:51,090 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173481.95553s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:57:51,091 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:57:51,094 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:57:51,096 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:57:51,101 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373861.6289647, power=267.96, imported=3844679.75634419, exported=0)
2024-01-16 03:57:51,102 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00263122, power1: 267.96, power2: 266.04
2024-01-16 03:57:51,102 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.702536
2024-01-16 03:57:51,103 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.702536 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373871.1013603, power=266.04, imported=3844680.458880201, exported=0)
2024-01-16 03:57:51,111 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:57:51,112 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:57:51,116 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:57:51,120 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.95, 239.76, 238.91]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1fa8c8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:57:51,122 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:57:51,124 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:57:51,126 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[177.0, 28.0, 107.0], currents=[1.0, 0.4, 1.1], voltages=[238.18, 240.06, 239.13], power_factors=[0.7, 0.25, 0.38], unbalanced_load=0, frequency=50.04, daily_exported=0.0, daily_imported=6009.0, imported=8015817.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=312.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23688.0, raw_currents_left=[34.0, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:57:51,129 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=266.04, invalid_home_consumption=0, daily_yield_home_consumption=5747.2188353894, imported_home_consumption=3844680.458880201, disengageable_smarthome_power=0))
2024-01-16 03:57:51,130 - {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-16 03:57:51,132 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:57:51,134 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:57:51,135 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:57:51,136 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:57:51,138 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:57:51,139 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:57:51,139 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:57:51,140 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:57:51,141 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:57:51,142 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:57:51,145 - {control.data:245} - {INFO:MainThread} - general_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-16 03:57:51,154 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:57:51,156 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:57:51,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 0x6c1c5160>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:57:51,158 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:57:51,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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=45.96))
2024-01-16 03:57:51,162 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=45.96))
2024-01-16 03:57:51,163 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373861, 'time': '03:57:41', 'grid': 0.314, 'house-power': 0.268, 'charging-all': 0.0, 'pv-all': -0.046, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:57:51,164 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:57:51,165 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:57:51,166 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:57:51,171 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:57:51,173 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:57:51,175 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:57:51,177 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:57:51,180 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:57:51,183 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:57:51,187 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:57:51,189 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:57:51,191 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:57:51,192 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -412.0W
2024-01-16 03:57:51,193 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -412.0W
2024-01-16 03:57:51,194 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:57:51,194 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:57:51,195 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:57:51,198 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:57:51,200 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:57:51,226 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:57:51,483 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:57:55,511 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:57:55,512 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:58:00,524 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:58:00,525 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:58:00,578 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:58:00,579 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:58:00,586 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:58:00,588 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:58:00,589 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:58:00,632 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:58:00,634 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373879},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:58","unixtime":1705373881,"uptime":4733258,"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-16 03:58:00,638 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373870.3409126, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:58:00,639 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00286034, power1: 0, power2: 0
2024-01-16 03:58:00,640 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:58:00,641 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373880.638123, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:58:00,642 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:58:00,650 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-351, -210, -28, -112], Scale 0
2024-01-16 03:58:00,695 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 5, 11], Scale -1
2024-01-16 03:58:00,725 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23846, 24037, 23919, 0, 0, 0, 0], Scale -2
2024-01-16 03:58:00,754 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5004], Scale -2
2024-01-16 03:58:00,774 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [6999, 2319, 3759], Scale -2
2024-01-16 03:58:00,896 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015819, 3302443, 2344296, 2924242], Scale 0
2024-01-16 03:58:00,897 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.5, 1.1], powers=[210.0, 28.0, 112.0], voltages=[238.46, 240.37, 239.19], power_factors=[0.6999, 0.23190000000000002, 0.3759], imported=8015819.0, exported=4871567.0, power=351.0, frequency=50.04)
2024-01-16 03:58:00,908 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:58:00,926 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4881], Scale -2
2024-01-16 03:58:00,961 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:58:00,988 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [26, 30, 29], Scale -2
2024-01-16 03:58:01,015 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4845], Scale -2
2024-01-16 03:58:01,016 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.26, 0.3, 0.29], power=48.81, exported=7896155.0, dc_power=48.45)
2024-01-16 03:58:01,019 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:58:01,066 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373870.7750309, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:58:01,067 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00285869, power1: 0, power2: 0
2024-01-16 03:58:01,067 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:58:01,068 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373881.0663276, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:58:01,069 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:58:01,079 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:58:01,087 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:58:01,130 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:58:01,132 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:58:01,133 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=48.81, exported=7934579.61, dc_power=None)
2024-01-16 03:58:01,135 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=48.81, exported=7934579.61, dc_power=None)
2024-01-16 03:58:01,136 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:58:01,141 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:58:01,143 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:58:01,212 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:58:01,213 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.5, 1.1], powers=[210.0, 28.0, 112.0], voltages=[238.46, 240.37, 239.19], power_factors=[0.6999, 0.23190000000000002, 0.3759], imported=8015819.0, exported=4871567.0, power=351.0, frequency=50.04)
2024-01-16 03:58:01,398 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:58:01,400 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:58:01,402 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [34.0, 34.6, 33.9]A
2024-01-16 03:58:01,403 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23649.0W
2024-01-16 03:58:01,406 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:58:01,408 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:58:01,409 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:58:01,411 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:58:01.410556
2024-01-16 03:58:01,412 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1276.850314s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:58:01,414 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:58:01.413555
2024-01-16 03:58:01,416 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177102.934271s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:58:01,418 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:58:01.417546
2024-01-16 03:58:01,420 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8406.634937s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:58:01,423 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:58:01.422967
2024-01-16 03:58:01,425 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173471.620511s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:58:01,427 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:58:01,430 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:58:01,431 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:58:01,444 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373871.1013603, power=266.04, imported=3844680.458880201, exported=0)
2024-01-16 03:58:01,447 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00287315, power1: 266.04, power2: 302.19
2024-01-16 03:58:01,450 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.816304
2024-01-16 03:58:01,452 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.816304 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373881.444692, power=302.19, imported=3844681.2751845485, exported=0)
2024-01-16 03:58:01,456 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:58:01,458 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:58:01,461 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:58:01,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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.78, 239.68, 238.86]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1e08f8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:58:01,464 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:58:01,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=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:58:01,469 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[210.0, 28.0, 112.0], currents=[1.0, 0.5, 1.1], voltages=[238.46, 240.37, 239.19], power_factors=[0.7, 0.23, 0.38], unbalanced_load=0, frequency=50.04, daily_exported=0.0, daily_imported=6009.0, imported=8015819.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=351.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23649.0, raw_currents_left=[34.0, 34.6, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:58:01,470 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=302.19, invalid_home_consumption=0, daily_yield_home_consumption=5747.2188353894, imported_home_consumption=3844681.2751845485, disengageable_smarthome_power=0))
2024-01-16 03:58:01,471 - {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-16 03:58:01,473 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:58:01,475 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:58:01,477 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:58:01,479 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:58:01,480 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:58:01,482 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:58:01,482 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:58:01,484 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:58:01,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-16 03:58:01,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=1, keep_charge_active_duration=40)
2024-01-16 03:58:01,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-16 03:58:01,490 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:58:01,491 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:58:01,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 0x6c1d19b8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:58:01,493 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:58:01,496 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=48.81))
2024-01-16 03:58:01,497 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=48.81))
2024-01-16 03:58:01,499 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373871, 'time': '03:57:51', 'grid': 0.312, 'house-power': 0.266, 'charging-all': 0.0, 'pv-all': -0.046, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:58:01,500 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:58:01,500 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:58:01,501 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:58:01,501 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:58:01,502 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:58:01,502 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:58:01,502 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:58:01,503 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:58:01,503 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:58:01,505 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:58:01,506 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:58:01,508 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:58:01,510 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -451.0W
2024-01-16 03:58:01,511 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -451.0W
2024-01-16 03:58:01,515 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:58:01,519 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:58:01,519 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:58:01,525 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:58:01,528 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:58:01,550 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:58:01,837 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:58:01,841 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:58:05,851 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:58:10,864 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:58:10,865 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:58:10,907 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:58:10,908 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:58:10,917 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:58:10,928 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:58:10,932 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:58:10,970 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-345, -209, -27, -108], Scale 0
2024-01-16 03:58:10,981 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:58:10,984 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373889},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:58","unixtime":1705373891,"uptime":4733269,"ram_size":248936,"ram_free":144388,"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-16 03:58:10,988 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373880.638123, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:58:10,989 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.002875, power1: 0, power2: 0
2024-01-16 03:58:10,990 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:58:10,991 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373890.9881403, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:58:10,996 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 4, 12], Scale -1
2024-01-16 03:58:10,997 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:58:11,015 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23849, 24036, 23923, 0, 0, 0, 0], Scale -2
2024-01-16 03:58:11,065 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5004], Scale -2
2024-01-16 03:58:11,086 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7070, 2389, 4020], Scale -2
2024-01-16 03:58:11,106 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015819, 3302443, 2344296, 2924242], Scale 0
2024-01-16 03:58:11,107 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.4, 1.2000000000000002], powers=[209.0, 27.0, 108.0], voltages=[238.49, 240.36, 239.23000000000002], power_factors=[0.7070000000000001, 0.2389, 0.402], imported=8015819.0, exported=4871567.0, power=345.0, frequency=50.04)
2024-01-16 03:58:11,108 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:58:11,125 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4933], Scale -2
2024-01-16 03:58:11,165 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:58:11,187 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 29], Scale -2
2024-01-16 03:58:11,227 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5008], Scale -2
2024-01-16 03:58:11,227 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.29], power=49.33, exported=7896155.0, dc_power=50.08)
2024-01-16 03:58:11,228 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:58:11,285 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373881.0663276, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:58:11,285 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00283855, power1: 0, power2: 0
2024-01-16 03:58:11,286 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:58:11,286 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373891.28511, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:58:11,287 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:58:11,292 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:58:11,293 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:58:11,352 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:58:11,361 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:58:11,363 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:58:11,364 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=49.33, exported=7934579.61, dc_power=None)
2024-01-16 03:58:11,375 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:58:11,376 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=49.33, exported=7934579.61, dc_power=None)
2024-01-16 03:58:11,376 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:58:11,438 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:58:11,439 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.4, 1.2000000000000002], powers=[209.0, 27.0, 108.0], voltages=[238.49, 240.36, 239.23000000000002], power_factors=[0.7070000000000001, 0.2389, 0.402], imported=8015819.0, exported=4871567.0, power=345.0, frequency=50.04)
2024-01-16 03:58:11,617 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:58:11,621 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:58:11,632 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.8, 34.7, 33.8]A
2024-01-16 03:58:11,639 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23655.0W
2024-01-16 03:58:11,640 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:58:11,646 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:58:11,651 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:58:11,653 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:58:11.652611
2024-01-16 03:58:11,654 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1266.608259s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:58:11,656 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:58:11.655688
2024-01-16 03:58:11,661 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177092.692138s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:58:11,664 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:58:11.664202
2024-01-16 03:58:11,670 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8416.881593s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:58:11,672 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:58:11.672124
2024-01-16 03:58:11,673 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173461.371354s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:58:11,673 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:58:11,684 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:58:11,685 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:58:11,705 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373881.444692, power=302.19, imported=3844681.2751845485, exported=0)
2024-01-16 03:58:11,706 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00285026, power1: 302.19, power2: 295.67
2024-01-16 03:58:11,707 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.852029
2024-01-16 03:58:11,708 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.852029 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373891.7056427, power=295.67, imported=3844682.1272139996, exported=0)
2024-01-16 03:58:11,713 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:58:11,721 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:58:11,722 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:58:11,725 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.78, 239.76, 239.03]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7e3430>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:58:11,731 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-16 03:58:11,732 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:58:11,734 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[209.0, 27.0, 108.0], currents=[1.2, 0.4, 1.2], voltages=[238.49, 240.36, 239.23], power_factors=[0.71, 0.24, 0.4], unbalanced_load=0, frequency=50.04, daily_exported=0.0, daily_imported=6009.0, imported=8015819.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=345.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23655.0, raw_currents_left=[33.8, 34.7, 33.8], surplus_power_left=0, state_str=''))
2024-01-16 03:58:11,743 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=295.67, invalid_home_consumption=0, daily_yield_home_consumption=5747.2188353894, imported_home_consumption=3844682.1272139996, disengageable_smarthome_power=0))
2024-01-16 03:58:11,744 - {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-16 03:58:11,746 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:58:11,748 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:58:11,750 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:58:11,766 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:58:11,774 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:58:11,778 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:58:11,784 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:58:11,785 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:58:11,786 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:58:11,786 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:58:11,787 - {control.data:245} - {INFO:MainThread} - general_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-16 03:58:11,788 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:58:11,788 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:58:11,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 0x6c1c6bc8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:58:11,790 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:58:11,790 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=49.33))
2024-01-16 03:58:11,790 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=49.33))
2024-01-16 03:58:11,791 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373881, 'time': '03:58:01', 'grid': 0.351, 'house-power': 0.302, 'charging-all': 0.0, 'pv-all': -0.049, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:58:11,792 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:58:11,792 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:58:11,792 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:58:11,793 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:58:11,793 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:58:11,794 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:58:11,794 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:58:11,794 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:58:11,795 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:58:11,797 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:58:11,799 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:58:11,801 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:58:11,801 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -445.0W
2024-01-16 03:58:11,802 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -445.0W
2024-01-16 03:58:11,803 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:58:11,803 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:58:11,803 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:58:11,814 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:58:11,838 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:58:11,866 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:58:12,142 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:58:12,144 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:58:15,152 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:58:15,153 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:58:20,167 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:58:20,168 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:58:20,210 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:58:20,212 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:58:20,216 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:58:20,226 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:58:20,236 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:58:20,277 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-345, -209, -28, -107], Scale 0
2024-01-16 03:58:20,280 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:58: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.8, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373898},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:58","unixtime":1705373900,"uptime":4733278,"ram_size":248936,"ram_free":144400,"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-16 03:58:20,287 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373890.9881403, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:58:20,289 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00258305, power1: 0, power2: 0
2024-01-16 03:58:20,292 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:58:20,295 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 4, 11], Scale -1
2024-01-16 03:58:20,297 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373900.2871273, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:58:20,313 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:58:20,326 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23853, 24033, 23924, 0, 0, 0, 0], Scale -2
2024-01-16 03:58:20,369 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5004], Scale -2
2024-01-16 03:58:20,407 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7099, 2360, 3790], Scale -2
2024-01-16 03:58:20,455 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015820, 3302444, 2344296, 2924242], Scale 0
2024-01-16 03:58:20,457 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.4, 1.1], powers=[209.0, 28.0, 107.0], voltages=[238.53, 240.33, 239.24], power_factors=[0.7099, 0.23600000000000002, 0.379], imported=8015820.0, exported=4871567.0, power=345.0, frequency=50.04)
2024-01-16 03:58:20,459 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:58:20,495 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4862], Scale -2
2024-01-16 03:58:20,525 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:58:20,595 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 30], Scale -2
2024-01-16 03:58:20,614 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4936], Scale -2
2024-01-16 03:58:20,615 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.3], power=48.620000000000005, exported=7896155.0, dc_power=49.36)
2024-01-16 03:58:20,616 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:58:20,665 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373891.28511, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:58:20,666 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00260575, power1: 0, power2: 0
2024-01-16 03:58:20,667 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:58:20,667 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373900.6657946, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:58:20,668 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:58:20,672 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:58:20,673 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:58:20,722 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:58:20,723 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:58:20,725 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=48.620000000000005, exported=7934579.61, dc_power=None)
2024-01-16 03:58:20,726 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=48.620000000000005, exported=7934579.61, dc_power=None)
2024-01-16 03:58:20,727 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:58:20,730 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:58:20,733 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:58:20,809 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:58:20,810 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.4, 1.1], powers=[209.0, 28.0, 107.0], voltages=[238.53, 240.33, 239.24], power_factors=[0.7099, 0.23600000000000002, 0.379], imported=8015820.0, exported=4871567.0, power=345.0, frequency=50.04)
2024-01-16 03:58:20,973 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:58:20,977 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:58:20,981 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.8, 34.7, 33.9]A
2024-01-16 03:58:20,983 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23655.0W
2024-01-16 03:58:20,985 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:58:20,987 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:58:20,988 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:58:20,989 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:58:20.989341
2024-01-16 03:58:20,990 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1257.271529s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:58:20,992 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:58:20.991632
2024-01-16 03:58:20,993 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177083.356194s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:58:20,994 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:58:20.994302
2024-01-16 03:58:20,996 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8426.211693s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:58:20,998 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:58:20.997875
2024-01-16 03:58:20,999 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173452.045603s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:58:21,000 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:58:21,002 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:58:21,004 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:58:21,012 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373891.7056427, power=295.67, imported=3844682.1272139996, exported=0)
2024-01-16 03:58:21,013 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00258523, power1: 295.67, power2: 296.38
2024-01-16 03:58:21,014 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.765292
2024-01-16 03:58:21,016 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.765292 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373901.012465, power=296.38, imported=3844682.892506242, exported=0)
2024-01-16 03:58:21,020 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:58:21,022 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:58:21,024 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:58:21,026 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.79, 239.85, 239.02]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1f1e50>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:58:21,027 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:58:21,029 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:58:21,030 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[209.0, 28.0, 107.0], currents=[1.2, 0.4, 1.1], voltages=[238.53, 240.33, 239.24], power_factors=[0.71, 0.24, 0.38], unbalanced_load=0, frequency=50.04, daily_exported=0.0, daily_imported=6009.0, imported=8015820.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=345.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23655.0, raw_currents_left=[33.8, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:58:21,033 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': '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.38, invalid_home_consumption=0, daily_yield_home_consumption=5747.2188353894, imported_home_consumption=3844682.892506242, disengageable_smarthome_power=0))
2024-01-16 03:58:21,036 - {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-16 03:58:21,037 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:58:21,039 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:58:21,040 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:58:21,042 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:58:21,043 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:58:21,045 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:58:21,047 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:58:21,048 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:58:21,049 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-16 03:58:21,050 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:58:21,052 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-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-16 03:58:21,053 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:58:21,054 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:58:21,056 - {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 0x6c1db808>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:58:21,058 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:58:21,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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=48.62))
2024-01-16 03:58:21,061 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=48.62))
2024-01-16 03:58:21,062 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373891, 'time': '03:58:11', 'grid': 0.345, 'house-power': 0.296, 'charging-all': 0.0, 'pv-all': -0.049, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:58:21,064 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:58:21,065 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:58:21,066 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:58:21,068 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:58:21,073 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:58:21,074 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:58:21,075 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:58:21,077 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:58:21,079 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:58:21,081 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:58:21,083 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:58:21,086 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:58:21,087 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -445.0W
2024-01-16 03:58:21,088 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -445.0W
2024-01-16 03:58:21,090 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:58:21,091 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:58:21,091 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:58:21,093 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:58:21,095 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:58:21,110 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:58:21,356 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:58:25,389 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:58:25,390 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:58:30,404 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:58:30,405 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:58:30,449 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:58:30,450 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:58:30,452 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:58:30,458 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:58:30,461 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:58:30,503 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:58:30,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":240.6, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373909},"temperature":{"tC":26.5, "tF":79.7}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:58","unixtime":1705373911,"uptime":4733288,"ram_size":249000,"ram_free":145116,"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-16 03:58:30,516 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373900.2871273, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:58:30,517 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00284153, power1: 0, power2: 0
2024-01-16 03:58:30,518 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:58:30,518 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373910.5166438, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:58:30,527 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:58:30,596 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-346, -211, -28, -107], Scale 0
2024-01-16 03:58:30,616 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 4, 11], Scale -1
2024-01-16 03:58:30,636 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23867, 24039, 23935, 0, 0, 0, 0], Scale -2
2024-01-16 03:58:30,655 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5002], Scale -2
2024-01-16 03:58:30,686 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7139, 2370, 3860], Scale -2
2024-01-16 03:58:30,725 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015821, 3302444, 2344296, 2924242], Scale 0
2024-01-16 03:58:30,726 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.4, 1.1], powers=[211.0, 28.0, 107.0], voltages=[238.67000000000002, 240.39000000000001, 239.35], power_factors=[0.7139, 0.237, 0.386], imported=8015821.0, exported=4871567.0, power=346.0, frequency=50.02)
2024-01-16 03:58:30,728 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:58:30,764 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4759], Scale -2
2024-01-16 03:58:30,814 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:58:30,834 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 32, 30], Scale -2
2024-01-16 03:58:30,854 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4832], Scale -2
2024-01-16 03:58:30,854 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.32, 0.3], power=47.59, exported=7896155.0, dc_power=48.32)
2024-01-16 03:58:30,856 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:58:30,896 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373900.6657946, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:58:30,897 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00284184, power1: 0, power2: 0
2024-01-16 03:58:30,897 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:58:30,897 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373910.8964276, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:58:30,898 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:58:30,908 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:58:30,928 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:58:30,977 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:58:30,978 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:58:30,980 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.59, exported=7934579.61, dc_power=None)
2024-01-16 03:58:30,981 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.59, exported=7934579.61, dc_power=None)
2024-01-16 03:58:30,983 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:58:30,985 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:58:30,988 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:58:31,049 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:58:31,050 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.4, 1.1], powers=[211.0, 28.0, 107.0], voltages=[238.67000000000002, 240.39000000000001, 239.35], power_factors=[0.7139, 0.237, 0.386], imported=8015821.0, exported=4871567.0, power=346.0, frequency=50.02)
2024-01-16 03:58:31,243 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:58:31,246 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:58:31,249 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.8, 34.7, 33.9]A
2024-01-16 03:58:31,251 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23654.0W
2024-01-16 03:58:31,252 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:58:31,256 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:58:31,257 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:58:31,259 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:58:31.259434
2024-01-16 03:58:31,261 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1247.001436s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:58:31,263 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:58:31.262770
2024-01-16 03:58:31,264 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177073.085056s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:58:31,265 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:58:31.265468
2024-01-16 03:58:31,267 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8436.482859s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:58:31,269 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:58:31.268555
2024-01-16 03:58:31,269 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173441.774923s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:58:31,271 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:58:31,287 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:58:31,289 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:58:31,319 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373901.012465, power=296.38, imported=3844682.892506242, exported=0)
2024-01-16 03:58:31,321 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00286312, power1: 296.38, power2: 298.41
2024-01-16 03:58:31,323 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.851479
2024-01-16 03:58:31,325 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.851479 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373911.3197138, power=298.40999999999997, imported=3844683.7439852045, exported=0)
2024-01-16 03:58:31,327 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:58:31,328 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:58:31,329 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:58:31,331 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.74, 239.73, 238.98]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7f1bf8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:58:31,333 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:58:31,335 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:58:31,340 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[211.0, 28.0, 107.0], currents=[1.2, 0.4, 1.1], voltages=[238.67, 240.39, 239.35], power_factors=[0.71, 0.24, 0.39], unbalanced_load=0, frequency=50.02, daily_exported=0.0, daily_imported=6009.0, imported=8015821.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=346.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23654.0, raw_currents_left=[33.8, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:58:31,344 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': '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.40999999999997, invalid_home_consumption=0, daily_yield_home_consumption=5747.2188353894, imported_home_consumption=3844683.7439852045, disengageable_smarthome_power=0))
2024-01-16 03:58:31,346 - {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-16 03:58:31,347 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:58:31,348 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:58:31,353 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:58:31,354 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:58:31,358 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:58:31,359 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:58:31,360 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:58:31,363 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:58:31,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-16 03:58:31,375 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:58:31,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-16 03:58:31,387 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:58:31,389 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:58:31,391 - {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 0x6c1dedc0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:58:31,393 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:58:31,394 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=47.59))
2024-01-16 03:58:31,395 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=47.59))
2024-01-16 03:58:31,396 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373901, 'time': '03:58:21', 'grid': 0.345, 'house-power': 0.296, 'charging-all': 0.0, 'pv-all': -0.049, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:58:31,397 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:58:31,398 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:58:31,400 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:58:31,401 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:58:31,402 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:58:31,403 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:58:31,404 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:58:31,406 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:58:31,407 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:58:31,419 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:58:31,421 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:58:31,424 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:58:31,432 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -446.0W
2024-01-16 03:58:31,432 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -446.0W
2024-01-16 03:58:31,433 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:58:31,433 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:58:31,434 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:58:31,437 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:58:31,439 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:58:31,462 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:58:31,742 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:58:31,743 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:58:35,753 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:58:40,766 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:58:40,767 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:58:40,811 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:58:40,812 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:58:40,816 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:58:40,821 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:58:40,825 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:58:40,866 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:58:40,870 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373919},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:58","unixtime":1705373921,"uptime":4733299,"ram_size":249000,"ram_free":145116,"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-16 03:58:40,876 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373910.5166438, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:58:40,877 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00287779, power1: 0, power2: 0
2024-01-16 03:58:40,878 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:58:40,878 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373920.876687, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:58:40,879 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:58:40,888 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-341, -206, -28, -106], Scale 0
2024-01-16 03:58:40,917 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 4, 11], Scale -1
2024-01-16 03:58:40,936 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23853, 24033, 23926, 0, 0, 0, 0], Scale -2
2024-01-16 03:58:40,959 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5002], Scale -2
2024-01-16 03:58:40,985 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7070, 2440, 3779], Scale -2
2024-01-16 03:58:41,022 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015823, 3302445, 2344296, 2924243], Scale 0
2024-01-16 03:58:41,023 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.4, 1.1], powers=[206.0, 28.0, 106.0], voltages=[238.53, 240.33, 239.26], power_factors=[0.7070000000000001, 0.24400000000000002, 0.3779], imported=8015823.0, exported=4871567.0, power=341.0, frequency=50.02)
2024-01-16 03:58:41,024 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:58:41,084 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4595], Scale -2
2024-01-16 03:58:41,103 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:58:41,127 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 31], Scale -2
2024-01-16 03:58:41,246 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4372], Scale -2
2024-01-16 03:58:41,247 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.31], power=45.95, exported=7896155.0, dc_power=43.72)
2024-01-16 03:58:41,253 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:58:41,316 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373910.8964276, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:58:41,317 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00289448, power1: 0, power2: 0
2024-01-16 03:58:41,318 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:58:41,318 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373921.316548, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:58:41,320 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:58:41,334 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:58:41,336 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:58:41,385 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:58:41,402 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:58:41,402 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:58:41,403 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=45.95, exported=7934579.61, dc_power=None)
2024-01-16 03:58:41,404 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:58:41,404 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=45.95, exported=7934579.61, dc_power=None)
2024-01-16 03:58:41,405 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:58:41,471 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:58:41,473 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.4, 1.1], powers=[206.0, 28.0, 106.0], voltages=[238.53, 240.33, 239.26], power_factors=[0.7070000000000001, 0.24400000000000002, 0.3779], imported=8015823.0, exported=4871567.0, power=341.0, frequency=50.02)
2024-01-16 03:58:41,664 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:58:41,666 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:58:41,668 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.8, 34.7, 33.9]A
2024-01-16 03:58:41,670 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23659.0W
2024-01-16 03:58:41,672 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:58:41,674 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:58:41,675 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:58:41,677 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:58:41.676491
2024-01-16 03:58:41,678 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1236.584379s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:58:41,679 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:58:41.679045
2024-01-16 03:58:41,681 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177062.668781s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:58:41,683 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:58:41.683532
2024-01-16 03:58:41,685 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8446.900923s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:58:41,687 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:58:41.686978
2024-01-16 03:58:41,688 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173431.3565s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:58:41,689 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:58:41,694 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:58:41,696 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:58:41,713 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373911.3197138, power=298.40999999999997, imported=3844683.7439852045, exported=0)
2024-01-16 03:58:41,717 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00288715, power1: 298.41, power2: 295.05
2024-01-16 03:58:41,720 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.856705
2024-01-16 03:58:41,722 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.856705 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373921.7134602, power=295.05, imported=3844684.6006897497, exported=0)
2024-01-16 03:58:41,724 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:58:41,724 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:58:41,725 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:58:41,727 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.72, 239.78, 239.0]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1c2c70>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:58:41,728 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:58:41,730 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:58:41,731 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[206.0, 28.0, 106.0], currents=[1.2, 0.4, 1.1], voltages=[238.53, 240.33, 239.26], power_factors=[0.71, 0.24, 0.38], unbalanced_load=0, frequency=50.02, daily_exported=0.0, daily_imported=6009.0, imported=8015823.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=341.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23659.0, raw_currents_left=[33.8, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:58:41,734 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=295.05, invalid_home_consumption=0, daily_yield_home_consumption=5747.2188353894, imported_home_consumption=3844684.6006897497, disengageable_smarthome_power=0))
2024-01-16 03:58:41,734 - {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-16 03:58:41,737 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:58:41,739 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:58:41,740 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:58:41,741 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:58:41,742 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:58:41,743 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:58:41,744 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:58:41,745 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:58:41,747 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:58:41,748 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:58:41,750 - {control.data:245} - {INFO:MainThread} - general_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-16 03:58:41,750 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:58:41,751 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:58:41,752 - {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 0x6c1cf8b0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:58:41,754 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:58:41,755 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=45.95))
2024-01-16 03:58:41,755 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=45.95))
2024-01-16 03:58:41,756 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373911, 'time': '03:58:31', 'grid': 0.346, 'house-power': 0.298, 'charging-all': 0.0, 'pv-all': -0.048, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:58:41,758 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:58:41,759 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:58:41,760 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:58:41,762 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:58:41,764 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:58:41,765 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:58:41,767 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:58:41,768 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:58:41,769 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:58:41,771 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:58:41,773 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:58:41,775 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:58:41,776 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -441.0W
2024-01-16 03:58:41,777 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -441.0W
2024-01-16 03:58:41,777 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:58:41,778 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:58:41,779 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:58:41,782 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:58:41,785 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:58:41,832 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:58:42,115 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:58:42,117 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:58:45,125 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:58:45,126 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:58:50,137 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:58:50,138 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:58:50,180 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:58:50,182 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:58:50,184 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:58:50,189 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:58:50,193 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:58:50,234 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:58:50,236 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373928},"temperature":{"tC":26.4, "tF":79.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:58","unixtime":1705373930,"uptime":4733308,"ram_size":249000,"ram_free":145116,"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-16 03:58:50,239 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373920.876687, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:58:50,240 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00260074, power1: 0, power2: 0
2024-01-16 03:58:50,241 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:58:50,241 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373930.2393682, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:58:50,243 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:58:50,275 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-344, -206, -28, -110], Scale 0
2024-01-16 03:58:50,305 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 4, 11], Scale -1
2024-01-16 03:58:50,325 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23862, 24032, 23926, 0, 0, 0, 0], Scale -2
2024-01-16 03:58:50,345 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5002], Scale -2
2024-01-16 03:58:50,365 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7039, 2430, 3770], Scale -2
2024-01-16 03:58:50,406 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015823, 3302446, 2344296, 2924243], Scale 0
2024-01-16 03:58:50,407 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.4, 1.1], powers=[206.0, 28.0, 110.0], voltages=[238.62, 240.32, 239.26], power_factors=[0.7039, 0.243, 0.377], imported=8015823.0, exported=4871567.0, power=344.0, frequency=50.02)
2024-01-16 03:58:50,413 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:58:50,436 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4337], Scale -2
2024-01-16 03:58:50,506 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:58:50,526 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 32, 30], Scale -2
2024-01-16 03:58:50,550 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5118], Scale -2
2024-01-16 03:58:50,551 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.32, 0.3], power=43.37, exported=7896155.0, dc_power=51.18)
2024-01-16 03:58:50,553 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:58:50,726 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373921.316548, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:58:50,727 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00261383, power1: 0, power2: 0
2024-01-16 03:58:50,728 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:58:50,729 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373930.7263265, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:58:50,731 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:58:50,739 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:58:50,740 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:58:50,780 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:58:50,784 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:58:50,785 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=43.37, exported=7934579.61, dc_power=None)
2024-01-16 03:58:50,786 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:58:50,789 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=43.37, exported=7934579.61, dc_power=None)
2024-01-16 03:58:50,789 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:58:50,794 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:58:50,846 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:58:50,847 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.4, 1.1], powers=[206.0, 28.0, 110.0], voltages=[238.62, 240.32, 239.26], power_factors=[0.7039, 0.243, 0.377], imported=8015823.0, exported=4871567.0, power=344.0, frequency=50.02)
2024-01-16 03:58:51,009 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:58:51,011 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:58:51,014 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.8, 34.7, 33.9]A
2024-01-16 03:58:51,015 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23656.0W
2024-01-16 03:58:51,016 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:58:51,019 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:58:51,020 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:58:51,023 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:58:51.023333
2024-01-16 03:58:51,025 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1227.237537s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:58:51,027 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:58:51.026638
2024-01-16 03:58:51,028 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177053.321188s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:58:51,030 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:58:51.029941
2024-01-16 03:58:51,032 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8456.247332s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:58:51,033 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:58:51.033425
2024-01-16 03:58:51,035 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173422.010053s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:58:51,036 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:58:51,040 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:58:51,041 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:58:51,055 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373921.7134602, power=295.05, imported=3844684.6006897497, exported=0)
2024-01-16 03:58:51,057 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00259506, power1: 295.05, power2: 300.63
2024-01-16 03:58:51,060 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.772914
2024-01-16 03:58:51,062 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.772914 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373931.0556936, power=300.63, imported=3844685.3736038613, exported=0)
2024-01-16 03:58:51,063 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:58:51,065 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:58:51,066 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:58:51,068 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.55, 239.52, 238.83]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7c86e8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:58:51,070 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:58:51,071 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:58:51,072 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[206.0, 28.0, 110.0], currents=[1.2, 0.4, 1.1], voltages=[238.62, 240.32, 239.26], power_factors=[0.7, 0.24, 0.38], unbalanced_load=0, frequency=50.02, daily_exported=0.0, daily_imported=6009.0, imported=8015823.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=344.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23656.0, raw_currents_left=[33.8, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:58:51,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=300.63, invalid_home_consumption=0, daily_yield_home_consumption=5747.2188353894, imported_home_consumption=3844685.3736038613, disengageable_smarthome_power=0))
2024-01-16 03:58:51,075 - {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-16 03:58:51,077 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:58:51,078 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:58:51,079 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:58:51,080 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:58:51,081 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:58:51,083 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:58:51,085 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:58:51,086 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:58:51,087 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:58:51,089 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:58:51,090 - {control.data:245} - {INFO:MainThread} - general_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-16 03:58:51,091 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:58:51,092 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:58:51,093 - {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 0x6f7dc6d0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:58:51,095 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:58:51,096 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=43.37))
2024-01-16 03:58:51,097 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=43.37))
2024-01-16 03:58:51,098 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373921, 'time': '03:58:41', 'grid': 0.341, 'house-power': 0.295, 'charging-all': 0.0, 'pv-all': -0.046, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:58:51,099 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:58:51,100 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:58:51,101 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:58:51,102 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:58:51,112 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:58:51,113 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:58:51,115 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:58:51,115 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:58:51,117 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:58:51,121 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:58:51,123 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:58:51,126 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:58:51,127 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -444.0W
2024-01-16 03:58:51,128 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -444.0W
2024-01-16 03:58:51,129 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:58:51,131 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:58:51,132 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:58:51,138 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:58:51,145 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:58:51,172 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:58:51,405 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:58:55,434 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:58:55,434 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:59:00,454 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:59:00,456 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:59:00,530 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:59:00,537 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:59:00,548 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:59:00,549 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:59:00,578 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:59:00,598 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-348, -207, -28, -112], Scale 0
2024-01-16 03:59:00,627 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 4, 11], Scale -1
2024-01-16 03:59:00,661 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:59:00,664 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373939},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:59","unixtime":1705373941,"uptime":4733319,"ram_size":248948,"ram_free":144540,"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-16 03:59:00,671 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373930.2393682, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:59:00,678 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00289783, power1: 0, power2: 0
2024-01-16 03:59:00,687 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:59:00,688 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373940.671566, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:59:00,692 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23835, 24007, 23894, 0, 0, 0, 0], Scale -2
2024-01-16 03:59:00,697 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:59:00,729 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5002], Scale -2
2024-01-16 03:59:00,774 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7049, 2430, 3840], Scale -2
2024-01-16 03:59:00,859 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015824, 3302446, 2344296, 2924243], Scale 0
2024-01-16 03:59:00,859 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.4, 1.1], powers=[207.0, 28.0, 112.0], voltages=[238.35, 240.07, 238.94], power_factors=[0.7049, 0.243, 0.384], imported=8015824.0, exported=4871567.0, power=348.0, frequency=50.02)
2024-01-16 03:59:00,861 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:59:00,886 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4764], Scale -2
2024-01-16 03:59:00,906 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:59:00,926 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 30], Scale -2
2024-01-16 03:59:00,955 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4837], Scale -2
2024-01-16 03:59:00,956 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.3], power=47.64, exported=7896155.0, dc_power=48.370000000000005)
2024-01-16 03:59:00,958 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:59:00,995 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373930.7263265, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:59:00,996 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00285255, power1: 0, power2: 0
2024-01-16 03:59:00,996 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:59:00,997 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373940.995514, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:59:00,998 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:59:01,007 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:59:01,010 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:59:01,061 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:59:01,062 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:59:01,064 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.64, exported=7934579.61, dc_power=None)
2024-01-16 03:59:01,067 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.64, exported=7934579.61, dc_power=None)
2024-01-16 03:59:01,066 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:59:01,072 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:59:01,073 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:59:01,141 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:59:01,142 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.4, 1.1], powers=[207.0, 28.0, 112.0], voltages=[238.35, 240.07, 238.94], power_factors=[0.7049, 0.243, 0.384], imported=8015824.0, exported=4871567.0, power=348.0, frequency=50.02)
2024-01-16 03:59:01,347 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:59:01,350 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:59:01,357 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.8, 34.7, 33.9]A
2024-01-16 03:59:01,359 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23652.0W
2024-01-16 03:59:01,360 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:59:01,363 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:59:01,363 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:59:01,365 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:59:01.364965
2024-01-16 03:59:01,367 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1216.895905s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:59:01,368 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:59:01.368153
2024-01-16 03:59:01,370 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177042.979673s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:59:01,372 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:59:01.371655
2024-01-16 03:59:01,373 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8466.589046s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:59:01,374 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:59:01.374243
2024-01-16 03:59:01,376 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173411.669235s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:59:01,378 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:59:01,383 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:59:01,385 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:59:01,420 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373931.0556936, power=300.63, imported=3844685.3736038613, exported=0)
2024-01-16 03:59:01,421 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00287897, power1: 300.63, power2: 300.36
2024-01-16 03:59:01,422 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.865117
2024-01-16 03:59:01,429 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.865117 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373941.4199998, power=300.36, imported=3844686.238721138, exported=0)
2024-01-16 03:59:01,432 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:59:01,434 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:59:01,435 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:59:01,437 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.57, 239.47, 238.77]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7f4b08>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:59:01,438 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:59:01,439 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:59:01,440 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[207.0, 28.0, 112.0], currents=[1.2, 0.4, 1.1], voltages=[238.35, 240.07, 238.94], power_factors=[0.7, 0.24, 0.38], unbalanced_load=0, frequency=50.02, daily_exported=0.0, daily_imported=6009.0, imported=8015824.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=348.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23652.0, raw_currents_left=[33.8, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:59:01,442 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=300.36, invalid_home_consumption=0, daily_yield_home_consumption=5747.2188353894, imported_home_consumption=3844686.238721138, disengageable_smarthome_power=0))
2024-01-16 03:59:01,443 - {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-16 03:59:01,447 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:59:01,449 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:59:01,450 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:59:01,451 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:59:01,452 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:59:01,453 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:59:01,454 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:59:01,455 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:59:01,457 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:59:01,462 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:59:01,464 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-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-16 03:59:01,464 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:59:01,465 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:59:01,466 - {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 0x6c1c2040>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:59:01,468 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:59:01,469 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=47.64))
2024-01-16 03:59:01,470 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=47.64))
2024-01-16 03:59:01,473 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373931, 'time': '03:58:51', 'grid': 0.344, 'house-power': 0.301, 'charging-all': 0.0, 'pv-all': -0.043, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:59:01,474 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:59:01,476 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:59:01,477 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:59:01,479 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:59:01,481 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:59:01,482 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:59:01,483 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:59:01,484 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:59:01,485 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:59:01,490 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:59:01,492 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:59:01,494 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:59:01,495 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -448.0W
2024-01-16 03:59:01,497 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -448.0W
2024-01-16 03:59:01,498 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:59:01,502 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:59:01,503 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:59:01,507 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:59:01,510 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:59:01,533 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:59:01,782 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:59:01,783 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:59:05,792 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:59:10,805 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:59:10,806 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:59:10,855 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:59:10,856 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:59:10,863 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:59:10,865 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:59:10,866 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:59:10,907 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:59:10,908 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-347, -210, -28, -108], Scale 0
2024-01-16 03:59:10,911 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373949},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:59","unixtime":1705373951,"uptime":4733329,"ram_size":248948,"ram_free":144540,"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-16 03:59:10,936 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373940.671566, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:59:10,938 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00285144, power1: 0, power2: 0
2024-01-16 03:59:10,940 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:59:10,941 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373950.9367394, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:59:10,943 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:59:10,976 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 5, 11], Scale -1
2024-01-16 03:59:11,009 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23824, 24000, 23900, 0, 0, 0, 0], Scale -2
2024-01-16 03:59:11,066 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5002], Scale -2
2024-01-16 03:59:11,094 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7080, 2349, 3770], Scale -2
2024-01-16 03:59:11,127 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015826, 3302447, 2344296, 2924244], Scale 0
2024-01-16 03:59:11,128 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.5, 1.1], powers=[210.0, 28.0, 108.0], voltages=[238.24, 240.0, 239.0], power_factors=[0.708, 0.23490000000000003, 0.377], imported=8015826.0, exported=4871567.0, power=347.0, frequency=50.02)
2024-01-16 03:59:11,129 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:59:11,143 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4885], Scale -2
2024-01-16 03:59:11,235 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:59:11,256 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 29], Scale -2
2024-01-16 03:59:11,275 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4959], Scale -2
2024-01-16 03:59:11,276 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.29], power=48.85, exported=7896155.0, dc_power=49.59)
2024-01-16 03:59:11,277 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:59:11,341 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373940.995514, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:59:11,342 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00287384, power1: 0, power2: 0
2024-01-16 03:59:11,342 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:59:11,342 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373951.3413246, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:59:11,343 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:59:11,347 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:59:11,349 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:59:11,399 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:59:11,401 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:59:11,403 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=48.85, exported=7934579.61, dc_power=None)
2024-01-16 03:59:11,405 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=48.85, exported=7934579.61, dc_power=None)
2024-01-16 03:59:11,406 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:59:11,409 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:59:11,411 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:59:11,480 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:59:11,481 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.5, 1.1], powers=[210.0, 28.0, 108.0], voltages=[238.24, 240.0, 239.0], power_factors=[0.708, 0.23490000000000003, 0.377], imported=8015826.0, exported=4871567.0, power=347.0, frequency=50.02)
2024-01-16 03:59:11,666 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:59:11,672 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:59:11,676 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.8, 34.6, 33.9]A
2024-01-16 03:59:11,679 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23653.0W
2024-01-16 03:59:11,684 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:59:11,692 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:59:11,699 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:59:11,701 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:59:11.700878
2024-01-16 03:59:11,704 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1206.559992s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:59:11,705 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:59:11.705254
2024-01-16 03:59:11,708 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177032.642572s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:59:11,712 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:59:11.712121
2024-01-16 03:59:11,717 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8476.929512s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:59:11,719 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:59:11.719011
2024-01-16 03:59:11,720 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173401.324467s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:59:11,721 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:59:11,742 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:59:11,748 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:59:11,782 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373941.4199998, power=300.36, imported=3844686.238721138, exported=0)
2024-01-16 03:59:11,783 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00287846, power1: 300.36, power2: 298.15
2024-01-16 03:59:11,783 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.861393
2024-01-16 03:59:11,784 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.861393 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373951.7824433, power=298.15, imported=3844687.1001136415, exported=0)
2024-01-16 03:59:11,789 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:59:11,798 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:59:11,800 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:59:11,803 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.49, 239.48, 238.63]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1c4118>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:59:11,805 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:59:11,807 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:59:11,810 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[210.0, 28.0, 108.0], currents=[1.2, 0.5, 1.1], voltages=[238.24, 240.0, 239.0], power_factors=[0.71, 0.23, 0.38], unbalanced_load=0, frequency=50.02, daily_exported=0.0, daily_imported=6009.0, imported=8015826.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=347.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23653.0, raw_currents_left=[33.8, 34.6, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:59:11,811 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=298.15, invalid_home_consumption=0, daily_yield_home_consumption=5747.2188353894, imported_home_consumption=3844687.1001136415, disengageable_smarthome_power=0))
2024-01-16 03:59:11,813 - {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-16 03:59:11,814 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:59:11,819 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:59:11,823 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:59:11,824 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:59:11,826 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:59:11,832 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:59:11,834 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:59:11,835 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:59:11,836 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:59:11,837 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:59:11,837 - {control.data:245} - {INFO:MainThread} - general_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-16 03:59:11,838 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:59:11,838 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:59:11,839 - {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 0x6c1ed2e0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:59:11,839 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:59:11,840 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=48.85))
2024-01-16 03:59:11,840 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=48.85))
2024-01-16 03:59:11,841 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373941, 'time': '03:59:01', 'grid': 0.348, 'house-power': 0.3, 'charging-all': 0.0, 'pv-all': -0.048, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:59:11,841 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:59:11,842 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:59:11,842 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:59:11,842 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:59:11,843 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:59:11,843 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:59:11,843 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:59:11,844 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:59:11,845 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:59:11,847 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:59:11,848 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:59:11,850 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:59:11,851 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -447.0W
2024-01-16 03:59:11,851 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -447.0W
2024-01-16 03:59:11,852 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:59:11,852 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:59:11,853 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:59:11,855 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:59:11,863 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:59:11,899 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:59:12,193 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:59:12,195 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:59:15,203 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:59:15,204 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:59:20,217 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:59:20,218 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:59:20,287 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:59:20,288 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:59:20,289 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:59:20,297 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:59:20,303 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:59:20,344 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:59:20,351 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373958},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:59","unixtime":1705373960,"uptime":4733338,"ram_size":248948,"ram_free":144540,"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":-72},"ws":{"connected":false}}

2024-01-16 03:59:20,356 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373950.9367394, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:59:20,358 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00261656, power1: 0, power2: 0
2024-01-16 03:59:20,360 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:59:20,362 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373960.3563652, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:59:20,370 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:59:20,467 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-345, -210, -27, -107], Scale 0
2024-01-16 03:59:20,498 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 4, 11], Scale -1
2024-01-16 03:59:20,526 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23824, 24018, 23901, 0, 0, 0, 0], Scale -2
2024-01-16 03:59:20,555 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 03:59:20,604 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7099, 2389, 3849], Scale -2
2024-01-16 03:59:20,635 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015826, 3302448, 2344296, 2924244], Scale 0
2024-01-16 03:59:20,636 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.4, 1.1], powers=[210.0, 27.0, 107.0], voltages=[238.24, 240.18, 239.01], power_factors=[0.7099, 0.2389, 0.3849], imported=8015826.0, exported=4871567.0, power=345.0, frequency=50.0)
2024-01-16 03:59:20,637 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:59:20,654 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4666], Scale -2
2024-01-16 03:59:20,675 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:59:20,764 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 30, 30], Scale -2
2024-01-16 03:59:20,784 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4737], Scale -2
2024-01-16 03:59:20,785 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.3, 0.3], power=46.660000000000004, exported=7896155.0, dc_power=47.37)
2024-01-16 03:59:20,786 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:59:20,823 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373951.3413246, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:59:20,824 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00263395, power1: 0, power2: 0
2024-01-16 03:59:20,824 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:59:20,824 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373960.8235614, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:59:20,825 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:59:20,829 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:59:20,830 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:59:20,875 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:59:20,876 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:59:20,878 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.660000000000004, exported=7934579.61, dc_power=None)
2024-01-16 03:59:20,879 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.660000000000004, exported=7934579.61, dc_power=None)
2024-01-16 03:59:20,880 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:59:20,888 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:59:20,890 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:59:20,948 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:59:20,949 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.4, 1.1], powers=[210.0, 27.0, 107.0], voltages=[238.24, 240.18, 239.01], power_factors=[0.7099, 0.2389, 0.3849], imported=8015826.0, exported=4871567.0, power=345.0, frequency=50.0)
2024-01-16 03:59:21,167 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:59:21,175 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:59:21,177 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.8, 34.7, 33.9]A
2024-01-16 03:59:21,179 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23655.0W
2024-01-16 03:59:21,181 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:59:21,184 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:59:21,185 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:59:21,188 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:59:21.187937
2024-01-16 03:59:21,190 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1197.072933s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:59:21,192 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:59:21.191748
2024-01-16 03:59:21,192 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177023.156078s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:59:21,195 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:59:21.195019
2024-01-16 03:59:21,196 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8486.41241s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:59:21,198 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:59:21.197602
2024-01-16 03:59:21,199 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173391.845876s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:59:21,201 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:59:21,208 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:59:21,208 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:59:21,216 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373951.7824433, power=298.15, imported=3844687.1001136415, exported=0)
2024-01-16 03:59:21,217 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00262047, power1: 298.15, power2: 298.34
2024-01-16 03:59:21,219 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.781543
2024-01-16 03:59:21,221 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.781543 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373961.2161405, power=298.34000000000003, imported=3844687.8816561494, exported=0)
2024-01-16 03:59:21,223 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:59:21,225 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:59:21,226 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:59:21,228 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.61, 239.51, 238.73]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1d1ce8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:59:21,229 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:59:21,230 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:59:21,231 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[210.0, 27.0, 107.0], currents=[1.2, 0.4, 1.1], voltages=[238.24, 240.18, 239.01], power_factors=[0.71, 0.24, 0.38], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6009.0, imported=8015826.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=345.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23655.0, raw_currents_left=[33.8, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:59:21,233 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': '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.34000000000003, invalid_home_consumption=0, daily_yield_home_consumption=5747.2188353894, imported_home_consumption=3844687.8816561494, disengageable_smarthome_power=0))
2024-01-16 03:59:21,236 - {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-16 03:59:21,238 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:59:21,240 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:59:21,241 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:59:21,242 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:59:21,243 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:59:21,245 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:59:21,251 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:59:21,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-16 03:59:21,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-16 03:59:21,258 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:59:21,259 - {control.data:245} - {INFO:MainThread} - general_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-16 03:59:21,260 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:59:21,261 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:59:21,263 - {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 0x6c1d10b8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:59:21,264 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:59:21,265 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=46.66))
2024-01-16 03:59:21,266 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=46.66))
2024-01-16 03:59:21,267 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373951, 'time': '03:59:11', 'grid': 0.347, 'house-power': 0.298, 'charging-all': 0.0, 'pv-all': -0.049, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:59:21,269 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:59:21,270 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:59:21,270 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:59:21,270 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:59:21,271 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:59:21,271 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:59:21,271 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:59:21,272 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:59:21,272 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:59:21,274 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:59:21,276 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:59:21,278 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:59:21,280 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -445.0W
2024-01-16 03:59:21,281 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -445.0W
2024-01-16 03:59:21,282 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:59:21,283 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:59:21,284 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:59:21,290 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:59:21,294 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:59:21,335 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:59:21,568 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:59:25,587 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:59:25,588 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:59:30,600 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:59:30,601 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:59:30,639 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:59:30,646 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:59:30,647 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:59:30,655 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:59:30,698 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:59:30,700 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373969},"temperature":{"tC":26.5, "tF":79.7}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:59","unixtime":1705373971,"uptime":4733349,"ram_size":249000,"ram_free":145116,"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-16 03:59:30,704 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373960.3563652, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:59:30,705 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00287441, power1: 0, power2: 0
2024-01-16 03:59:30,706 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:59:30,720 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373970.7042255, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:59:30,725 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:59:30,728 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:59:30,835 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-345, -210, -28, -106], Scale 0
2024-01-16 03:59:30,856 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 4, 11], Scale -1
2024-01-16 03:59:30,874 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23824, 24010, 23897, 0, 0, 0, 0], Scale -2
2024-01-16 03:59:30,925 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5002], Scale -2
2024-01-16 03:59:31,004 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7070, 2430, 3819], Scale -2
2024-01-16 03:59:31,025 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015827, 3302448, 2344296, 2924244], Scale 0
2024-01-16 03:59:31,025 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.4, 1.1], powers=[210.0, 28.0, 106.0], voltages=[238.24, 240.1, 238.97], power_factors=[0.7070000000000001, 0.243, 0.38189999999999996], imported=8015827.0, exported=4871567.0, power=345.0, frequency=50.02)
2024-01-16 03:59:31,034 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:59:31,139 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4588], Scale -2
2024-01-16 03:59:31,176 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:59:31,205 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 30], Scale -2
2024-01-16 03:59:31,225 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4658], Scale -2
2024-01-16 03:59:31,225 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.3], power=45.88, exported=7896155.0, dc_power=46.58)
2024-01-16 03:59:31,227 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:59:31,276 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373960.8235614, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:59:31,277 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00290367, power1: 0, power2: 0
2024-01-16 03:59:31,278 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:59:31,279 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373971.2767828, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:59:31,280 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:59:31,296 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:59:31,297 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:59:31,341 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:59:31,342 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:59:31,343 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:59:31,345 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=45.88, exported=7934579.61, dc_power=None)
2024-01-16 03:59:31,349 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:59:31,360 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=45.88, exported=7934579.61, dc_power=None)
2024-01-16 03:59:31,366 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:59:31,435 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:59:31,441 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.4, 1.1], powers=[210.0, 28.0, 106.0], voltages=[238.24, 240.1, 238.97], power_factors=[0.7070000000000001, 0.243, 0.38189999999999996], imported=8015827.0, exported=4871567.0, power=345.0, frequency=50.02)
2024-01-16 03:59:31,627 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:59:31,629 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:59:31,633 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.8, 34.7, 33.9]A
2024-01-16 03:59:31,634 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23655.0W
2024-01-16 03:59:31,635 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:59:31,638 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:59:31,639 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:59:31,641 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:59:31.640602
2024-01-16 03:59:31,642 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1186.620268s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:59:31,645 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:59:31.645178
2024-01-16 03:59:31,647 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177012.702648s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:59:31,648 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:59:31.648034
2024-01-16 03:59:31,649 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8496.865425s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:59:31,652 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:59:31.651658
2024-01-16 03:59:31,653 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173381.39182s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:59:31,655 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:59:31,659 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:59:31,660 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:59:31,665 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373961.2161405, power=298.34000000000003, imported=3844687.8816561494, exported=0)
2024-01-16 03:59:31,666 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00290246, power1: 298.34, power2: 299.12
2024-01-16 03:59:31,667 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.867052
2024-01-16 03:59:31,669 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.867052 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373971.6649992, power=299.12, imported=3844688.7487082523, exported=0)
2024-01-16 03:59:31,672 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:59:31,674 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:59:31,676 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421140.14, exported=0))
2024-01-16 03:59:31,678 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421140.14, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.65, 239.6, 238.76]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1c1bf8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:59:31,679 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-16 03:59:31,680 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:59:31,682 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[210.0, 28.0, 106.0], currents=[1.2, 0.4, 1.1], voltages=[238.24, 240.1, 238.97], power_factors=[0.71, 0.24, 0.38], unbalanced_load=0, frequency=50.02, daily_exported=0.0, daily_imported=6009.0, imported=8015827.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=345.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23655.0, raw_currents_left=[33.8, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:59:31,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=299.12, invalid_home_consumption=0, daily_yield_home_consumption=5747.2188353894, imported_home_consumption=3844688.7487082523, disengageable_smarthome_power=0))
2024-01-16 03:59:31,691 - {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-16 03:59:31,702 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:59:31,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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:59:31,713 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:59:31,715 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:59:31,716 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:59:31,719 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:59:31,722 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:59:31,724 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:59:31,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-16 03:59:31,731 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:59:31,733 - {control.data:245} - {INFO:MainThread} - general_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-16 03:59:31,734 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:59:31,736 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:59:31,737 - {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 0x6c1cf040>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:59:31,740 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:59:31,742 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=45.88))
2024-01-16 03:59:31,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=8233395.285, power=45.88))
2024-01-16 03:59:31,746 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373961, 'time': '03:59:21', 'grid': 0.345, 'house-power': 0.298, 'charging-all': 0.0, 'pv-all': -0.047, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:59:31,747 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:59:31,750 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:59:31,751 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:59:31,753 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:59:31,754 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:59:31,755 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:59:31,756 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:59:31,759 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:59:31,763 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:59:31,767 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:59:31,770 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:59:31,772 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:59:31,773 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -445.0W
2024-01-16 03:59:31,773 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -445.0W
2024-01-16 03:59:31,774 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:59:31,774 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:59:31,774 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:59:31,776 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:59:31,787 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:59:31,813 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:59:32,094 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:59:32,095 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:59:35,103 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:59:35,104 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:59:40,118 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:59:40,119 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:59:40,202 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:59:40,204 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:59:40,230 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:59:40,232 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:59:40,237 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:59:40,280 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:59:40,283 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373978},"temperature":{"tC":26.3, "tF":79.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:59","unixtime":1705373980,"uptime":4733358,"ram_size":249000,"ram_free":145116,"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":-72},"ws":{"connected":false}}

2024-01-16 03:59:40,291 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-345, -209, -28, -108], Scale 0
2024-01-16 03:59:40,292 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373970.7042255, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:59:40,297 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00266329, power1: 0, power2: 0
2024-01-16 03:59:40,299 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:59:40,303 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373980.2920585, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:59:40,306 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:59:40,338 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 4, 11], Scale -1
2024-01-16 03:59:40,404 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23842, 24024, 23913, 0, 0, 0, 0], Scale -2
2024-01-16 03:59:40,435 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 03:59:40,471 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7099, 2469, 3810], Scale -2
2024-01-16 03:59:40,500 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015828, 3302448, 2344297, 2924244], Scale 0
2024-01-16 03:59:40,501 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.4, 1.1], powers=[209.0, 28.0, 108.0], voltages=[238.42000000000002, 240.24, 239.13], power_factors=[0.7099, 0.2469, 0.381], imported=8015828.0, exported=4871567.0, power=345.0, frequency=50.0)
2024-01-16 03:59:40,502 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:59:40,525 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4280], Scale -2
2024-01-16 03:59:40,544 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:59:40,564 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 30], Scale -2
2024-01-16 03:59:40,603 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4345], Scale -2
2024-01-16 03:59:40,604 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.3], power=42.800000000000004, exported=7896155.0, dc_power=43.45)
2024-01-16 03:59:40,605 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:59:40,698 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373971.2767828, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:59:40,699 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00261714, power1: 0, power2: 0
2024-01-16 03:59:40,699 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:59:40,699 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373980.6984775, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:59:40,700 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:59:40,704 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:59:40,705 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:59:40,748 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:59:40,750 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:59:40,752 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:59:40,752 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=42.800000000000004, exported=7934579.61, dc_power=None)
2024-01-16 03:59:40,753 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:59:40,754 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=42.800000000000004, exported=7934579.61, dc_power=None)
2024-01-16 03:59:40,763 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:59:40,814 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:59:40,815 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.4, 1.1], powers=[209.0, 28.0, 108.0], voltages=[238.42000000000002, 240.24, 239.13], power_factors=[0.7099, 0.2469, 0.381], imported=8015828.0, exported=4871567.0, power=345.0, frequency=50.0)
2024-01-16 03:59:40,973 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:59:40,975 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:59:40,983 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.8, 34.7, 33.9]A
2024-01-16 03:59:40,984 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23655.0W
2024-01-16 03:59:40,985 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:59:40,987 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:59:40,988 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:59:40,992 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:59:40.992515
2024-01-16 03:59:40,994 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1177.268355s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:59:40,996 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:59:40.995682
2024-01-16 03:59:40,997 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 177003.352144s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:59:40,998 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:59:40.998600
2024-01-16 03:59:41,002 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8506.215991s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:59:41,004 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:59:41.003824
2024-01-16 03:59:41,005 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173372.039654s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:59:41,007 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:59:41,010 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:59:41,011 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:59:41,015 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373971.6649992, power=299.12, imported=3844688.7487082523, exported=0)
2024-01-16 03:59:41,017 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00259728, power1: 299.12, power2: 302.2
2024-01-16 03:59:41,019 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.780899
2024-01-16 03:59:41,021 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.780899 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373981.0152197, power=302.2, imported=3844689.529607496, exported=0)
2024-01-16 03:59:41,025 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:59:41,030 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:59:41,032 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 03:59:41,034 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.46, 239.39, 238.65]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=148.92999999970198, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1d1b68>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:59:41,035 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:59:41,036 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:59:41,038 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[209.0, 28.0, 108.0], currents=[1.2, 0.4, 1.1], voltages=[238.42, 240.24, 239.13], power_factors=[0.71, 0.25, 0.38], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6009.0, imported=8015828.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=345.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23655.0, raw_currents_left=[33.8, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:59:41,040 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=302.2, invalid_home_consumption=0, daily_yield_home_consumption=5747.2188353894, imported_home_consumption=3844689.529607496, disengageable_smarthome_power=0))
2024-01-16 03:59:41,041 - {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-16 03:59:41,042 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:59:41,044 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:59:41,048 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:59:41,049 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:59:41,050 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:59:41,050 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:59:41,051 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:59:41,052 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 03:59:41,054 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:59:41,054 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:59:41,056 - {control.data:245} - {INFO:MainThread} - general_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-16 03:59:41,057 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:59:41,058 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:59:41,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 0x6c1d3e38>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:59:41,062 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:59:41,063 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=42.8))
2024-01-16 03:59:41,065 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=42.8))
2024-01-16 03:59:41,067 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373971, 'time': '03:59:31', 'grid': 0.345, 'house-power': 0.299, 'charging-all': 0.0, 'pv-all': -0.046, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:59:41,069 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:59:41,070 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:59:41,071 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:59:41,072 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:59:41,073 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:59:41,074 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:59:41,075 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:59:41,077 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:59:41,078 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:59:41,082 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:59:41,084 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:59:41,088 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:59:41,089 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -445.0W
2024-01-16 03:59:41,090 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -445.0W
2024-01-16 03:59:41,091 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:59:41,093 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:59:41,095 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:59:41,100 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:59:41,103 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:59:41,134 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:59:41,412 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:59:45,449 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:59:45,455 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:59:50,467 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 03:59:50,469 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 03:59:50,525 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 03:59:50,528 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:59:50,543 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 03:59:50,546 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:59:50,548 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:59:50,602 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 03:59:50,606 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":240.5, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373989},"temperature":{"tC":26.5, "tF":79.7}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"03:59","unixtime":1705373991,"uptime":4733368,"ram_size":249000,"ram_free":145120,"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-16 03:59:50,608 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373980.2920585, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:59:50,609 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00286572, power1: 0, power2: 0
2024-01-16 03:59:50,611 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-345, -209, -28, -107], Scale 0
2024-01-16 03:59:50,624 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 03:59:50,628 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373990.6086457, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 03:59:50,629 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:59:50,737 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 4, 11], Scale -1
2024-01-16 03:59:50,755 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23831, 24013, 23902, 0, 0, 0, 0], Scale -2
2024-01-16 03:59:50,774 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 03:59:50,794 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7120, 2419, 3840], Scale -2
2024-01-16 03:59:50,815 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015829, 3302449, 2344297, 2924245], Scale 0
2024-01-16 03:59:50,816 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.4, 1.1], powers=[209.0, 28.0, 107.0], voltages=[238.31, 240.13, 239.02], power_factors=[0.7120000000000001, 0.2419, 0.384], imported=8015829.0, exported=4871567.0, power=345.0, frequency=50.0)
2024-01-16 03:59:50,818 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:59:50,856 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4585], Scale -2
2024-01-16 03:59:50,874 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 03:59:50,893 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 31], Scale -2
2024-01-16 03:59:50,935 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4655], Scale -2
2024-01-16 03:59:50,935 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.31], power=45.85, exported=7896155.0, dc_power=46.550000000000004)
2024-01-16 03:59:50,937 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:59:51,024 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373980.6984775, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:59:51,025 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00286839, power1: 0, power2: 0
2024-01-16 03:59:51,026 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 03:59:51,026 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373991.0246642, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 03:59:51,028 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:59:51,033 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 03:59:51,035 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 03:59:51,094 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:59:51,095 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 03:59:51,097 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 03:59:51,099 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=45.85, exported=7934579.61, dc_power=None)
2024-01-16 03:59:51,103 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:59:51,105 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=45.85, exported=7934579.61, dc_power=None)
2024-01-16 03:59:51,107 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 03:59:51,214 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 03:59:51,216 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.4, 1.1], powers=[209.0, 28.0, 107.0], voltages=[238.31, 240.13, 239.02], power_factors=[0.7120000000000001, 0.2419, 0.384], imported=8015829.0, exported=4871567.0, power=345.0, frequency=50.0)
2024-01-16 03:59:51,441 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 03:59:51,443 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 03:59:51,445 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.8, 34.7, 33.9]A
2024-01-16 03:59:51,447 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23655.0W
2024-01-16 03:59:51,449 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 03:59:51,452 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 03:59:51,453 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 03:59:51,454 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 03:59:51.454276
2024-01-16 03:59:51,455 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1166.806594s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 03:59:51,456 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 03:59:51.456286
2024-01-16 03:59:51,458 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176992.89154s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 03:59:51,459 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 03:59:51.459315
2024-01-16 03:59:51,460 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8516.676706s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 03:59:51,464 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 03:59:51.463723
2024-01-16 03:59:51,465 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173361.579755s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 03:59:51,466 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 03:59:51,470 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 03:59:51,471 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 03:59:51,493 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373981.0152197, power=302.2, imported=3844689.529607496, exported=0)
2024-01-16 03:59:51,495 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00291059, power1: 302.2, power2: 299.15
2024-01-16 03:59:51,498 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.875142
2024-01-16 03:59:51,501 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.875142 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705373991.4933436, power=299.15, imported=3844690.4047491364, exported=0)
2024-01-16 03:59:51,507 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 03:59:51,508 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 03:59:51,509 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 03:59:51,511 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.57, 239.56, 238.83]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1ea1f0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 03:59:51,512 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 03:59:51,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=['0003526747', '1655332554', '2585022212'])
2024-01-16 03:59:51,514 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[209.0, 28.0, 107.0], currents=[1.2, 0.4, 1.1], voltages=[238.31, 240.13, 239.02], power_factors=[0.71, 0.24, 0.38], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6009.0, imported=8015829.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=345.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23655.0, raw_currents_left=[33.8, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 03:59:51,515 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': '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.15, invalid_home_consumption=0, daily_yield_home_consumption=5747.2188353894, imported_home_consumption=3844690.4047491364, disengageable_smarthome_power=0))
2024-01-16 03:59:51,516 - {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-16 03:59:51,520 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 03:59:51,522 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 03:59:51,523 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 03:59:51,524 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:59:51,528 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:59:51,529 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:59:51,531 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 03:59:51,532 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-16 03:59:51,535 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 03:59:51,536 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 03:59:51,537 - {control.data:245} - {INFO:MainThread} - general_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-16 03:59:51,538 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 03:59:51,539 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 03:59:51,540 - {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 0x6c1c28e0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 03:59:51,544 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 03:59:51,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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=45.85))
2024-01-16 03:59:51,547 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=45.85))
2024-01-16 03:59:51,548 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373981, 'time': '03:59:41', 'grid': 0.345, 'house-power': 0.302, 'charging-all': 0.0, 'pv-all': -0.043, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 03:59:51,551 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 03:59:51,552 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 03:59:51,553 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 03:59:51,554 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 03:59:51,555 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 03:59:51,558 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 03:59:51,559 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 03:59:51,560 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 03:59:51,561 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 03:59:51,564 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 03:59:51,566 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 03:59:51,568 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 03:59:51,569 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -445.0W
2024-01-16 03:59:51,570 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -445.0W
2024-01-16 03:59:51,571 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 03:59:51,575 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 03:59:51,577 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 03:59:51,589 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 03:59:51,592 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 03:59:51,615 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 03:59:51,891 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 03:59:51,892 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 03:59:55,902 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:00:00,915 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:00:00,917 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:00:00,974 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:00:00,984 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:00:00,990 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:00:00,991 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:00:00,999 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:00:01,061 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:00:01,063 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":240.5, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705373999},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:00","unixtime":1705374001,"uptime":4733379,"ram_size":248948,"ram_free":144540,"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":-73},"ws":{"connected":false}}

2024-01-16 04:00:01,065 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705373990.6086457, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:00:01,065 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00290456, power1: 0, power2: 0
2024-01-16 04:00:01,066 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:00:01,067 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374001.0650525, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:00:01,068 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:00:01,115 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-350, -209, -28, -112], Scale 0
2024-01-16 04:00:01,143 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 5, 11], Scale -1
2024-01-16 04:00:01,165 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23832, 24012, 23907, 0, 0, 0, 0], Scale -2
2024-01-16 04:00:01,184 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:00:01,217 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7120, 2349, 3799], Scale -2
2024-01-16 04:00:01,248 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015830, 3302450, 2344297, 2924245], Scale 0
2024-01-16 04:00:01,249 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.5, 1.1], powers=[209.0, 28.0, 112.0], voltages=[238.32, 240.12, 239.07], power_factors=[0.7120000000000001, 0.23490000000000003, 0.3799], imported=8015830.0, exported=4871567.0, power=350.0, frequency=50.0)
2024-01-16 04:00:01,250 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:00:01,284 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4850], Scale -2
2024-01-16 04:00:01,304 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:00:01,383 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 30, 31], Scale -2
2024-01-16 04:00:01,403 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4727], Scale -2
2024-01-16 04:00:01,403 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.3, 0.31], power=48.5, exported=7896155.0, dc_power=47.27)
2024-01-16 04:00:01,405 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:00:01,595 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705373991.0246642, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:00:01,596 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00293631, power1: 0, power2: 0
2024-01-16 04:00:01,596 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:00:01,597 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374001.5953872, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:00:01,598 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:00:01,601 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:00:01,614 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:00:01,658 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:00:01,659 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:00:01,663 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:00:01,669 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=48.5, exported=7934579.61, dc_power=None)
2024-01-16 04:00:01,671 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:00:01,675 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=48.5, exported=7934579.61, dc_power=None)
2024-01-16 04:00:01,676 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:00:01,734 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:00:01,735 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.5, 1.1], powers=[209.0, 28.0, 112.0], voltages=[238.32, 240.12, 239.07], power_factors=[0.7120000000000001, 0.23490000000000003, 0.3799], imported=8015830.0, exported=4871567.0, power=350.0, frequency=50.0)
2024-01-16 04:00:01,932 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:00:01,933 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:00:01,936 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.8, 34.6, 33.9]A
2024-01-16 04:00:01,937 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23650.0W
2024-01-16 04:00:01,938 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:00:01,940 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:00:01,941 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:00:01,943 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:00:01.943348
2024-01-16 04:00:01,945 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1156.317522s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:00:01,946 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:00:01.945775
2024-01-16 04:00:01,947 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176982.402051s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:00:01,949 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:00:01.949110
2024-01-16 04:00:01,950 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8527.166501s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:00:01,952 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:00:01.951948
2024-01-16 04:00:01,953 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173351.09153s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:00:01,955 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:00:01,959 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:00:01,961 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:00:01,977 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705373991.4933436, power=299.15, imported=3844690.4047491364, exported=0)
2024-01-16 04:00:01,991 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00291224, power1: 299.15, power2: 301.5
2024-01-16 04:00:01,993 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.87462
2024-01-16 04:00:01,994 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.87462 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374001.9774232, power=301.5, imported=3844691.2793689156, exported=0)
2024-01-16 04:00:01,996 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:00:01,998 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:00:02,000 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=95.22, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:00:02,001 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=95.22, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.61, 239.53, 238.82]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0493, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1c4850>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:00:02,003 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:00:02,005 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:00:02,006 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[209.0, 28.0, 112.0], currents=[1.2, 0.5, 1.1], voltages=[238.32, 240.12, 239.07], power_factors=[0.71, 0.23, 0.38], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6009.0, imported=8015830.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=350.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23650.0, raw_currents_left=[33.8, 34.6, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 04:00:02,008 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=301.5, invalid_home_consumption=0, daily_yield_home_consumption=5747.2188353894, imported_home_consumption=3844691.2793689156, disengageable_smarthome_power=0))
2024-01-16 04:00:02,009 - {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-16 04:00:02,011 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:00:02,012 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:00:02,013 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:00:02,015 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:00:02,017 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:00:02,018 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:00:02,019 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:00:02,020 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:00:02,021 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:00:02,023 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:00:02,024 - {control.data:245} - {INFO:MainThread} - general_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-16 04:00:02,025 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:00:02,026 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:00:02,027 - {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 0x6c1cfac0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:00:02,029 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:00:02,029 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=48.5))
2024-01-16 04:00:02,031 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=48.5))
2024-01-16 04:00:02,033 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705373991, 'time': '03:59:51', 'grid': 0.345, 'house-power': 0.299, 'charging-all': 0.0, 'pv-all': -0.046, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:00:02,034 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:00:02,035 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:00:02,037 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:00:02,038 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:00:02,039 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:00:02,041 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:00:02,042 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:00:02,042 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:00:02,044 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:00:02,047 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:00:02,049 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:00:02,052 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:00:02,053 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -450.0W
2024-01-16 04:00:02,054 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -450.0W
2024-01-16 04:00:02,055 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:00:02,057 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:00:02,059 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:00:02,061 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:00:02,067 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:00:02,091 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:00:02,480 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:00:02,487 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:00:02,489 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2024-01-16 04:00:02,536 - {root:107} - {DEBUG:MainThread} - 5 Minuten Handler ausführen.
2024-01-16 04:00:02,605 - {helpermodules.system:74} - {INFO:MainThread} - my IP: 192.168.1.31
2024-01-16 04:00:02,607 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2024-01-16 04:00:04,030 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=days, do=inner, args=(), kwargs={})
2024-01-16 04:00:04,062 - {control.chargelog.chargelog:325} - {DEBUG:MainThread} - power source {'grid': 1.0, 'pv': 0.0, 'bat': 0.0, 'cp': 0.0}
2024-01-16 04:00:04,063 - {control.chargelog.chargelog:326} - {DEBUG:MainThread} - charged_energy 6.340000000782311
2024-01-16 04:00:04,064 - {control.chargelog.chargelog:408} - {DEBUG:MainThread} - Ladepreis für die letzte Stunde: 0.0€ Speicher (0.0%), 0.0022367520002759995€ Netz (1.0%), 0.0€ Pv (0.0%)
2024-01-16 04:00:05,074 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:00:05,075 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:00:10,086 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:00:10,087 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:00:10,128 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:00:10,131 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:00:10,133 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:00:10,139 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:00:10,140 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:00:10,177 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-344, -209, -27, -107], Scale 0
2024-01-16 04:00:10,186 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:00:10,190 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374008},"temperature":{"tC":26.3, "tF":79.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:00","unixtime":1705374010,"uptime":4733388,"ram_size":248948,"ram_free":144540,"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-16 04:00:10,196 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 4, 12], Scale -1
2024-01-16 04:00:10,198 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374001.0650525, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:00:10,207 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00253693, power1: 0, power2: 0
2024-01-16 04:00:10,224 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:00:10,230 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374010.1979997, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:00:10,231 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:00:10,242 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23830, 24014, 23900, 0, 0, 0, 0], Scale -2
2024-01-16 04:00:10,268 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:00:10,325 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7120, 2419, 3919], Scale -2
2024-01-16 04:00:10,377 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015831, 3302450, 2344297, 2924245], Scale 0
2024-01-16 04:00:10,378 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.4, 1.2000000000000002], powers=[209.0, 27.0, 107.0], voltages=[238.3, 240.14000000000001, 239.0], power_factors=[0.7120000000000001, 0.2419, 0.39189999999999997], imported=8015831.0, exported=4871567.0, power=344.0, frequency=50.0)
2024-01-16 04:00:10,380 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:00:10,407 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4646], Scale -2
2024-01-16 04:00:10,425 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:00:10,460 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 30], Scale -2
2024-01-16 04:00:10,483 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4717], Scale -2
2024-01-16 04:00:10,484 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.3], power=46.46, exported=7896155.0, dc_power=47.17)
2024-01-16 04:00:10,485 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:00:10,624 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374001.5953872, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:00:10,625 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00250807, power1: 0, power2: 0
2024-01-16 04:00:10,626 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:00:10,626 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374010.624449, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:00:10,628 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:00:10,635 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:00:10,638 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:00:10,696 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:00:10,698 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:00:10,703 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.46, exported=7934579.61, dc_power=None)
2024-01-16 04:00:10,702 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:00:10,714 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:00:10,705 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.46, exported=7934579.61, dc_power=None)
2024-01-16 04:00:10,717 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:00:10,793 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:00:10,794 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.4, 1.2000000000000002], powers=[209.0, 27.0, 107.0], voltages=[238.3, 240.14000000000001, 239.0], power_factors=[0.7120000000000001, 0.2419, 0.39189999999999997], imported=8015831.0, exported=4871567.0, power=344.0, frequency=50.0)
2024-01-16 04:00:10,968 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:00:10,970 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:00:10,978 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.8, 34.7, 33.8]A
2024-01-16 04:00:10,979 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23656.0W
2024-01-16 04:00:10,982 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:00:10,984 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:00:10,985 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:00:10,987 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:00:10.986599
2024-01-16 04:00:10,987 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1147.274271s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:00:10,989 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:00:10.989301
2024-01-16 04:00:10,995 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176973.358525s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:00:10,996 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:00:10.996046
2024-01-16 04:00:10,997 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8536.213437s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:00:10,998 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:00:10.998261
2024-01-16 04:00:11,000 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173342.045217s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:00:11,001 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:00:11,004 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:00:11,005 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:00:11,015 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374001.9774232, power=301.5, imported=3844691.2793689156, exported=0)
2024-01-16 04:00:11,017 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0025104, power1: 301.5, power2: 297.54
2024-01-16 04:00:11,019 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.751916
2024-01-16 04:00:11,021 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.751916 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374011.0148792, power=297.54, imported=3844692.0312852575, exported=0)
2024-01-16 04:00:11,025 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:00:11,026 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:00:11,028 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:00:11,030 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.51, 239.52, 238.71]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1c85f8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:00:11,032 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:00:11,034 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:00:11,035 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[209.0, 27.0, 107.0], currents=[1.2, 0.4, 1.2], voltages=[238.3, 240.14, 239.0], power_factors=[0.71, 0.24, 0.39], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6037.0, imported=8015831.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=344.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23656.0, raw_currents_left=[33.8, 34.7, 33.8], surplus_power_left=0, state_str=''))
2024-01-16 04:00:11,037 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': '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.54, invalid_home_consumption=0, daily_yield_home_consumption=5771.1511533336, imported_home_consumption=3844692.0312852575, disengageable_smarthome_power=0))
2024-01-16 04:00:11,038 - {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-16 04:00:11,040 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:00:11,041 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:00:11,042 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:00:11,044 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:00:11,046 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:00:11,047 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:00:11,048 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:00:11,049 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:00:11,050 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:00:11,051 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:00:11,053 - {control.data:245} - {INFO:MainThread} - general_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-16 04:00:11,054 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:00:11,056 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:00:11,058 - {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 0x6c1d1da8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:00:11,059 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:00:11,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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=46.46))
2024-01-16 04:00:11,068 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=46.46))
2024-01-16 04:00:11,069 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374002, 'time': '04:00:02', 'grid': 0.35, 'house-power': 0.301, 'charging-all': 0.0, 'pv-all': -0.049, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:00:11,070 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:00:11,073 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:00:11,077 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:00:11,082 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:00:11,084 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:00:11,085 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:00:11,085 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:00:11,086 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:00:11,086 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:00:11,089 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:00:11,092 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:00:11,095 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:00:11,097 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -444.0W
2024-01-16 04:00:11,098 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -444.0W
2024-01-16 04:00:11,100 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:00:11,103 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:00:11,105 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:00:11,110 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:00:11,121 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:00:11,152 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:00:11,387 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:00:15,427 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:00:15,428 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:00:20,443 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:00:20,444 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:00:20,508 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:00:20,509 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:00:20,516 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:00:20,517 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:00:20,554 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:00:20,560 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:00:20,562 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374019},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:00","unixtime":1705374021,"uptime":4733398,"ram_size":248948,"ram_free":144540,"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-16 04:00:20,570 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374010.1979997, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:00:20,580 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00288108, power1: 0, power2: 0
2024-01-16 04:00:20,581 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:00:20,584 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374020.5699, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:00:20,586 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:00:20,644 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-344, -209, -28, -106], Scale 0
2024-01-16 04:00:20,674 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 4, 11], Scale -1
2024-01-16 04:00:20,695 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23811, 23987, 23885, 0, 0, 0, 0], Scale -2
2024-01-16 04:00:20,714 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:00:20,747 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7099, 2430, 3790], Scale -2
2024-01-16 04:00:20,825 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015832, 3302451, 2344297, 2924246], Scale 0
2024-01-16 04:00:20,826 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.4, 1.1], powers=[209.0, 28.0, 106.0], voltages=[238.11, 239.87, 238.85], power_factors=[0.7099, 0.243, 0.379], imported=8015832.0, exported=4871567.0, power=344.0, frequency=50.0)
2024-01-16 04:00:20,828 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:00:20,867 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4682], Scale -2
2024-01-16 04:00:20,894 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:00:21,072 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 30], Scale -2
2024-01-16 04:00:21,094 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4917], Scale -2
2024-01-16 04:00:21,095 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.3], power=46.82, exported=7896155.0, dc_power=49.17)
2024-01-16 04:00:21,096 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:00:21,134 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374010.624449, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:00:21,134 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00291935, power1: 0, power2: 0
2024-01-16 04:00:21,135 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:00:21,135 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374021.1340973, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:00:21,137 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:00:21,147 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:00:21,149 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:00:21,196 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:00:21,198 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:00:21,199 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.82, exported=7934579.61, dc_power=None)
2024-01-16 04:00:21,201 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.82, exported=7934579.61, dc_power=None)
2024-01-16 04:00:21,209 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:00:21,210 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:00:21,219 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:00:21,273 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:00:21,274 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.4, 1.1], powers=[209.0, 28.0, 106.0], voltages=[238.11, 239.87, 238.85], power_factors=[0.7099, 0.243, 0.379], imported=8015832.0, exported=4871567.0, power=344.0, frequency=50.0)
2024-01-16 04:00:21,472 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:00:21,473 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:00:21,475 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.8, 34.7, 33.9]A
2024-01-16 04:00:21,477 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23656.0W
2024-01-16 04:00:21,478 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:00:21,480 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:00:21,481 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:00:21,483 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:00:21.482570
2024-01-16 04:00:21,484 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1136.7783s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:00:21,486 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:00:21.485573
2024-01-16 04:00:21,487 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176962.862253s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:00:21,489 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:00:21.488913
2024-01-16 04:00:21,491 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8546.706304s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:00:21,492 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:00:21.492413
2024-01-16 04:00:21,493 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173331.551065s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:00:21,495 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:00:21,498 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:00:21,499 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:00:21,512 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374011.0148792, power=297.54, imported=3844692.0312852575, exported=0)
2024-01-16 04:00:21,514 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00291588, power1: 297.54, power2: 297.18
2024-01-16 04:00:21,515 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.867066
2024-01-16 04:00:21,517 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.867066 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374021.5120506, power=297.18, imported=3844692.8983516153, exported=0)
2024-01-16 04:00:21,523 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:00:21,525 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:00:21,527 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:00:21,530 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.4, 239.34, 238.54]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1f1e50>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:00:21,532 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:00:21,536 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:00:21,538 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[209.0, 28.0, 106.0], currents=[1.2, 0.4, 1.1], voltages=[238.11, 239.87, 238.85], power_factors=[0.71, 0.24, 0.38], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6037.0, imported=8015832.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=344.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23656.0, raw_currents_left=[33.8, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 04:00:21,539 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': '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.18, invalid_home_consumption=0, daily_yield_home_consumption=5771.1511533336, imported_home_consumption=3844692.8983516153, disengageable_smarthome_power=0))
2024-01-16 04:00:21,541 - {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-16 04:00:21,542 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:00:21,544 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:00:21,546 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:00:21,547 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:00:21,549 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:00:21,549 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:00:21,551 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:00:21,552 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:00:21,553 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:00:21,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=1, keep_charge_active_duration=40)
2024-01-16 04:00:21,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-16 04:00:21,558 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:00:21,559 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:00:21,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 0x6c1e3d78>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:00:21,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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:00:21,563 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=46.82))
2024-01-16 04:00:21,565 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=46.82))
2024-01-16 04:00:21,566 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374011, 'time': '04:00:11', 'grid': 0.344, 'house-power': 0.298, 'charging-all': 0.0, 'pv-all': -0.046, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:00:21,568 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:00:21,570 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:00:21,571 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:00:21,572 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:00:21,575 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:00:21,577 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:00:21,578 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:00:21,579 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:00:21,581 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:00:21,584 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:00:21,587 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:00:21,590 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:00:21,592 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -444.0W
2024-01-16 04:00:21,593 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -444.0W
2024-01-16 04:00:21,594 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:00:21,595 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:00:21,596 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:00:21,601 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:00:21,604 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:00:21,621 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:00:21,954 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:00:21,955 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:00:25,967 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:00:30,982 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:00:30,983 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:00:31,031 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:00:31,032 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:00:31,039 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:00:31,042 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:00:31,043 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:00:31,082 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:00:31,085 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374029},"temperature":{"tC":26.3, "tF":79.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:00","unixtime":1705374031,"uptime":4733409,"ram_size":249000,"ram_free":145116,"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":-72},"ws":{"connected":false}}

2024-01-16 04:00:31,097 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374020.5699, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:00:31,101 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00292419, power1: 0, power2: 0
2024-01-16 04:00:31,102 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:00:31,103 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374031.096988, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:00:31,107 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:00:31,125 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-346, -209, -27, -110], Scale 0
2024-01-16 04:00:31,147 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 4, 11], Scale -1
2024-01-16 04:00:31,164 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23822, 24002, 23890, 0, 0, 0, 0], Scale -2
2024-01-16 04:00:31,184 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:00:31,230 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7080, 2370, 3819], Scale -2
2024-01-16 04:00:31,265 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015833, 3302452, 2344297, 2924246], Scale 0
2024-01-16 04:00:31,266 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.4, 1.1], powers=[209.0, 27.0, 110.0], voltages=[238.22, 240.02, 238.9], power_factors=[0.708, 0.237, 0.38189999999999996], imported=8015833.0, exported=4871567.0, power=346.0, frequency=50.0)
2024-01-16 04:00:31,267 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:00:31,315 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4492], Scale -2
2024-01-16 04:00:31,344 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:00:31,375 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 29], Scale -2
2024-01-16 04:00:31,394 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4561], Scale -2
2024-01-16 04:00:31,395 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.29], power=44.92, exported=7896155.0, dc_power=45.61)
2024-01-16 04:00:31,396 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:00:31,531 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374021.1340973, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:00:31,532 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00288822, power1: 0, power2: 0
2024-01-16 04:00:31,532 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:00:31,533 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374031.5316875, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:00:31,534 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:00:31,536 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:00:31,537 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:00:31,593 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:00:31,595 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:00:31,597 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:00:31,597 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=44.92, exported=7934579.61, dc_power=None)
2024-01-16 04:00:31,608 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=44.92, exported=7934579.61, dc_power=None)
2024-01-16 04:00:31,601 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:00:31,613 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:00:31,676 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:00:31,677 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.4, 1.1], powers=[209.0, 27.0, 110.0], voltages=[238.22, 240.02, 238.9], power_factors=[0.708, 0.237, 0.38189999999999996], imported=8015833.0, exported=4871567.0, power=346.0, frequency=50.0)
2024-01-16 04:00:31,860 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:00:31,862 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:00:31,866 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.8, 34.7, 33.9]A
2024-01-16 04:00:31,867 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23654.0W
2024-01-16 04:00:31,869 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:00:31,871 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:00:31,872 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:00:31,876 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:00:31.875509
2024-01-16 04:00:31,877 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1126.385361s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:00:31,885 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:00:31.884325
2024-01-16 04:00:31,888 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176952.463501s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:00:31,890 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:00:31.889745
2024-01-16 04:00:31,891 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8557.107136s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:00:31,893 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:00:31.892745
2024-01-16 04:00:31,894 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173321.150733s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:00:31,896 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:00:31,905 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:00:31,906 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:00:31,961 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374021.5120506, power=297.18, imported=3844692.8983516153, exported=0)
2024-01-16 04:00:31,964 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00290269, power1: 297.18, power2: 301.08
2024-01-16 04:00:31,974 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.86828
2024-01-16 04:00:31,982 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.86828 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374031.9617176, power=301.08, imported=3844693.7666318608, exported=0)
2024-01-16 04:00:31,985 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:00:31,998 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:00:32,002 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:00:32,004 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.49, 239.39, 238.66]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1ea568>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:00:32,011 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:00:32,012 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:00:32,013 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[209.0, 27.0, 110.0], currents=[1.2, 0.4, 1.1], voltages=[238.22, 240.02, 238.9], power_factors=[0.71, 0.24, 0.38], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6037.0, imported=8015833.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=346.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23654.0, raw_currents_left=[33.8, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 04:00:32,016 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=301.08, invalid_home_consumption=0, daily_yield_home_consumption=5771.1511533336, imported_home_consumption=3844693.7666318608, disengageable_smarthome_power=0))
2024-01-16 04:00:32,018 - {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-16 04:00:32,020 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:00:32,023 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:00:32,026 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:00:32,028 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:00:32,032 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:00:32,033 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:00:32,035 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:00:32,036 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:00:32,039 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:00:32,042 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:00:32,044 - {control.data:245} - {INFO:MainThread} - general_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-16 04:00:32,044 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:00:32,045 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:00:32,045 - {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 0x6c1d1bc8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:00:32,046 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:00:32,046 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=44.92))
2024-01-16 04:00:32,047 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=44.92))
2024-01-16 04:00:32,047 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374021, 'time': '04:00:21', 'grid': 0.344, 'house-power': 0.297, 'charging-all': 0.0, 'pv-all': -0.047, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:00:32,048 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:00:32,048 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:00:32,049 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:00:32,049 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:00:32,050 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:00:32,050 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:00:32,050 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:00:32,051 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:00:32,051 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:00:32,053 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:00:32,055 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:00:32,057 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:00:32,058 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -446.0W
2024-01-16 04:00:32,058 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -446.0W
2024-01-16 04:00:32,059 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:00:32,059 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:00:32,060 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:00:32,066 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:00:32,083 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:00:32,119 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:00:32,545 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:00:32,547 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:00:35,554 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:00:35,555 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:00:40,567 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:00:40,568 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:00:40,639 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:00:40,641 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:00:40,642 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:00:40,651 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:00:40,656 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:00:40,698 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:00:40,700 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374039},"temperature":{"tC":26.3, "tF":79.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:00","unixtime":1705374041,"uptime":4733419,"ram_size":249000,"ram_free":145120,"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":-72},"ws":{"connected":false}}

2024-01-16 04:00:40,703 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374031.096988, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:00:40,705 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-346, -209, -28, -109], Scale 0
2024-01-16 04:00:40,707 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00266847, power1: 0, power2: 0
2024-01-16 04:00:40,710 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:00:40,711 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374040.7034638, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:00:40,713 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:00:40,724 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 4, 11], Scale -1
2024-01-16 04:00:40,744 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23824, 24005, 23886, 0, 0, 0, 0], Scale -2
2024-01-16 04:00:40,763 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:00:40,784 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7099, 2409, 3880], Scale -2
2024-01-16 04:00:40,836 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015833, 3302452, 2344297, 2924246], Scale 0
2024-01-16 04:00:40,837 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.4, 1.1], powers=[209.0, 28.0, 109.0], voltages=[238.24, 240.05, 238.86], power_factors=[0.7099, 0.2409, 0.38800000000000007], imported=8015833.0, exported=4871567.0, power=346.0, frequency=50.0)
2024-01-16 04:00:40,838 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:00:40,885 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4559], Scale -2
2024-01-16 04:00:40,913 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:00:40,933 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 30], Scale -2
2024-01-16 04:00:40,956 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4629], Scale -2
2024-01-16 04:00:40,957 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.3], power=45.59, exported=7896155.0, dc_power=46.29)
2024-01-16 04:00:40,958 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:00:41,113 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374031.5316875, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:00:41,114 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00266163, power1: 0, power2: 0
2024-01-16 04:00:41,114 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:00:41,114 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374041.113573, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:00:41,115 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:00:41,118 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:00:41,119 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:00:41,165 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:00:41,169 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:00:41,172 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=45.59, exported=7934579.61, dc_power=None)
2024-01-16 04:00:41,173 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=45.59, exported=7934579.61, dc_power=None)
2024-01-16 04:00:41,174 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:00:41,177 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:00:41,179 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:00:41,235 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:00:41,236 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.4, 1.1], powers=[209.0, 28.0, 109.0], voltages=[238.24, 240.05, 238.86], power_factors=[0.7099, 0.2409, 0.38800000000000007], imported=8015833.0, exported=4871567.0, power=346.0, frequency=50.0)
2024-01-16 04:00:41,393 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:00:41,396 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:00:41,401 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.8, 34.7, 33.9]A
2024-01-16 04:00:41,402 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23654.0W
2024-01-16 04:00:41,405 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:00:41,407 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:00:41,410 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:00:41,412 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:00:41.412374
2024-01-16 04:00:41,414 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1116.848496s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:00:41,415 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:00:41.415325
2024-01-16 04:00:41,417 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176942.932501s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:00:41,419 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:00:41.419369
2024-01-16 04:00:41,421 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8566.63676s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:00:41,423 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:00:41.422758
2024-01-16 04:00:41,424 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173311.62072s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:00:41,425 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:00:41,431 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:00:41,433 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:00:41,447 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374031.9617176, power=301.08, imported=3844693.7666318608, exported=0)
2024-01-16 04:00:41,451 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00263492, power1: 301.08, power2: 300.41
2024-01-16 04:00:41,456 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.792438
2024-01-16 04:00:41,458 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.792438 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374041.4474208, power=300.40999999999997, imported=3844694.5590701434, exported=0)
2024-01-16 04:00:41,469 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:00:41,472 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:00:41,474 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:00:41,477 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.48, 239.37, 238.67]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1d1e98>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:00:41,479 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:00: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=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:00:41,484 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[209.0, 28.0, 109.0], currents=[1.2, 0.4, 1.1], voltages=[238.24, 240.05, 238.86], power_factors=[0.71, 0.24, 0.39], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6037.0, imported=8015833.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=346.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23654.0, raw_currents_left=[33.8, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 04:00:41,486 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': '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.40999999999997, invalid_home_consumption=0, daily_yield_home_consumption=5771.1511533336, imported_home_consumption=3844694.5590701434, disengageable_smarthome_power=0))
2024-01-16 04:00:41,488 - {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-16 04:00:41,490 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:00:41,493 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:00:41,500 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:00:41,500 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:00:41,501 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:00:41,502 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:00:41,502 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:00:41,504 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-16 04:00:41,505 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-16 04:00:41,507 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:00:41,508 - {control.data:245} - {INFO:MainThread} - general_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-16 04:00:41,511 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:00:41,512 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:00:41,512 - {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 0x6c1c4dc0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:00:41,512 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:00:41,513 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=45.59))
2024-01-16 04:00:41,513 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=45.59))
2024-01-16 04:00:41,514 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374032, 'time': '04:00:32', 'grid': 0.346, 'house-power': 0.301, 'charging-all': 0.0, 'pv-all': -0.045, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:00:41,514 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:00:41,515 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:00:41,516 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:00:41,517 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:00:41,519 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:00:41,521 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:00:41,523 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:00:41,524 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:00:41,525 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:00:41,529 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:00:41,532 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:00:41,534 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:00:41,535 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -446.0W
2024-01-16 04:00:41,537 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -446.0W
2024-01-16 04:00:41,539 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:00:41,542 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:00:41,545 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:00:41,550 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:00:41,560 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:00:41,588 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:00:41,835 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:00:45,850 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:00:45,851 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:00:50,862 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:00:50,863 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:00:50,910 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:00:50,912 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:00:50,925 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:00:50,932 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:00:50,967 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:00:50,997 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:00:50,999 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374049},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:00","unixtime":1705374051,"uptime":4733429,"ram_size":249000,"ram_free":145116,"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":-73},"ws":{"connected":false}}

2024-01-16 04:00:51,001 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374040.7034638, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:00:51,002 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0028605, power1: 0, power2: 0
2024-01-16 04:00:51,002 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:00:51,003 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374051.0012503, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:00:51,004 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:00:51,066 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-343, -208, -28, -106], Scale 0
2024-01-16 04:00:51,093 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [12, 4, 11], Scale -1
2024-01-16 04:00:51,114 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23824, 24008, 23894, 0, 0, 0, 0], Scale -2
2024-01-16 04:00:51,185 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:00:51,243 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7089, 2370, 3790], Scale -2
2024-01-16 04:00:51,264 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015835, 3302453, 2344297, 2924247], Scale 0
2024-01-16 04:00:51,265 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.2000000000000002, 0.4, 1.1], powers=[208.0, 28.0, 106.0], voltages=[238.24, 240.08, 238.94], power_factors=[0.7089, 0.237, 0.379], imported=8015835.0, exported=4871567.0, power=343.0, frequency=50.0)
2024-01-16 04:00:51,266 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:00:51,284 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4382], Scale -2
2024-01-16 04:00:51,355 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:00:51,408 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 29], Scale -2
2024-01-16 04:00:51,435 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4802], Scale -2
2024-01-16 04:00:51,436 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.29], power=43.82, exported=7896155.0, dc_power=48.02)
2024-01-16 04:00:51,437 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:00:51,475 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374041.113573, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:00:51,476 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00287837, power1: 0, power2: 0
2024-01-16 04:00:51,477 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:00:51,477 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374051.4757223, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:00:51,478 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:00:51,484 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:00:51,485 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:00:51,541 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:00:51,542 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:00:51,544 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=43.82, exported=7934579.61, dc_power=None)
2024-01-16 04:00:51,546 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=43.82, exported=7934579.61, dc_power=None)
2024-01-16 04:00:51,549 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:00:51,550 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:00:51,554 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:00:51,629 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:00:51,630 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.2000000000000002, 0.4, 1.1], powers=[208.0, 28.0, 106.0], voltages=[238.24, 240.08, 238.94], power_factors=[0.7089, 0.237, 0.379], imported=8015835.0, exported=4871567.0, power=343.0, frequency=50.0)
2024-01-16 04:00:51,839 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:00:51,844 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:00:51,860 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.8, 34.7, 33.9]A
2024-01-16 04:00:51,862 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23657.0W
2024-01-16 04:00:51,864 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:00:51,871 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:00:51,874 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:00:51,877 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:00:51.876902
2024-01-16 04:00:51,881 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1106.383968s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:00:51,884 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:00:51.883949
2024-01-16 04:00:51,885 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176932.463877s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:00:51,887 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:00:51.887161
2024-01-16 04:00:51,889 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8577.104552s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:00:51,892 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:00:51.891498
2024-01-16 04:00:51,893 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173301.15198s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:00:51,895 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:00:51,903 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:00:51,903 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:00:51,913 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374041.4474208, power=300.40999999999997, imported=3844694.5590701434, exported=0)
2024-01-16 04:00:51,914 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00290717, power1: 300.41, power2: 299.18
2024-01-16 04:00:51,915 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.871554
2024-01-16 04:00:51,915 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.871554 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374051.9132242, power=299.18, imported=3844695.430624456, exported=0)
2024-01-16 04:00:51,924 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:00:51,930 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:00:51,932 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:00:51,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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.55, 239.44, 238.68]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1eadc0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:00:51,936 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-16 04:00:51,940 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:00:51,943 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[208.0, 28.0, 106.0], currents=[1.2, 0.4, 1.1], voltages=[238.24, 240.08, 238.94], power_factors=[0.71, 0.24, 0.38], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6037.0, imported=8015835.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=343.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23657.0, raw_currents_left=[33.8, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 04:00:51,944 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': '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.18, invalid_home_consumption=0, daily_yield_home_consumption=5771.1511533336, imported_home_consumption=3844695.430624456, disengageable_smarthome_power=0))
2024-01-16 04:00:51,945 - {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-16 04:00:51,948 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:00:51,949 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:00:51,951 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:00:51,952 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:00:51,953 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:00:51,955 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:00:51,957 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:00:51,960 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:00:51,964 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:00:51,965 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:00:51,967 - {control.data:245} - {INFO:MainThread} - general_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-16 04:00:51,969 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:00:51,971 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:00:51,972 - {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 0x6c1c4dc0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:00:51,982 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:00:51,983 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=43.82))
2024-01-16 04:00:51,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=8233395.285, power=43.82))
2024-01-16 04:00:51,990 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374041, 'time': '04:00:41', 'grid': 0.346, 'house-power': 0.3, 'charging-all': 0.0, 'pv-all': -0.046, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:00:51,998 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:00:52,001 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:00:52,003 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:00:52,010 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:00:52,012 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:00:52,013 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:00:52,013 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:00:52,014 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:00:52,015 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:00:52,018 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:00:52,021 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:00:52,028 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:00:52,031 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -443.0W
2024-01-16 04:00:52,034 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -443.0W
2024-01-16 04:00:52,037 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:00:52,038 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:00:52,039 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:00:52,046 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:00:52,052 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:00:52,091 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:00:52,456 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:00:52,463 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:00:55,471 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:00:55,472 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:01:00,484 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:01:00,484 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:01:00,520 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:01:00,522 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:01:00,523 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:01:00,533 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:01:00,538 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:01:00,580 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:01:00,582 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374059},"temperature":{"tC":26.3, "tF":79.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:01","unixtime":1705374061,"uptime":4733438,"ram_size":248948,"ram_free":144540,"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-16 04:01:00,584 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374051.0012503, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:01:00,584 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00266189, power1: 0, power2: 0
2024-01-16 04:01:00,585 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:01:00,585 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374060.5840628, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:01:00,586 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:01:00,596 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-312, -176, -27, -108], Scale 0
2024-01-16 04:01:00,625 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 4, 11], Scale -1
2024-01-16 04:01:00,645 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23829, 24014, 23907, 0, 0, 0, 0], Scale -2
2024-01-16 04:01:00,675 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:01:00,694 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7049, 2360, 3889], Scale -2
2024-01-16 04:01:00,714 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015836, 3302453, 2344297, 2924247], Scale 0
2024-01-16 04:01:00,715 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.4, 1.1], powers=[176.0, 27.0, 108.0], voltages=[238.29, 240.14000000000001, 239.07], power_factors=[0.7049, 0.23600000000000002, 0.3889], imported=8015836.0, exported=4871567.0, power=312.0, frequency=50.0)
2024-01-16 04:01:00,717 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:01:00,733 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4990], Scale -2
2024-01-16 04:01:00,765 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:01:00,815 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 30], Scale -2
2024-01-16 04:01:00,834 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4321], Scale -2
2024-01-16 04:01:00,835 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.3], power=49.9, exported=7896155.0, dc_power=43.21)
2024-01-16 04:01:00,837 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:01:00,874 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374051.4757223, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:01:00,875 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00261073, power1: 0, power2: 0
2024-01-16 04:01:00,876 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:01:00,876 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374060.87435, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:01:00,878 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:01:00,892 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:01:00,893 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:01:00,956 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:01:00,957 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:01:00,958 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:01:00,960 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=49.9, exported=7934579.61, dc_power=None)
2024-01-16 04:01:00,961 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:01:00,964 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=49.9, exported=7934579.61, dc_power=None)
2024-01-16 04:01:00,966 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:01:01,045 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:01:01,045 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.4, 1.1], powers=[176.0, 27.0, 108.0], voltages=[238.29, 240.14000000000001, 239.07], power_factors=[0.7049, 0.23600000000000002, 0.3889], imported=8015836.0, exported=4871567.0, power=312.0, frequency=50.0)
2024-01-16 04:01:01,207 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:01:01,208 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:01:01,210 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [34.0, 34.7, 33.9]A
2024-01-16 04:01:01,211 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23688.0W
2024-01-16 04:01:01,212 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:01:01,215 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:01:01,216 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:01:01,218 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:01:01.218350
2024-01-16 04:01:01,219 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1097.04252s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:01:01,220 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:01:01.220400
2024-01-16 04:01:01,221 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176923.127426s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:01:01,224 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:01:01.224428
2024-01-16 04:01:01,225 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8586.441819s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:01:01,229 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:01:01.229078
2024-01-16 04:01:01,231 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173291.8144s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:01:01,232 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:01:01,240 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:01:01,241 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:01:01,269 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374051.9132242, power=299.18, imported=3844695.430624456, exported=0)
2024-01-16 04:01:01,271 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00259898, power1: 299.18, power2: 262.1
2024-01-16 04:01:01,272 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.729377
2024-01-16 04:01:01,275 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.729377 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374061.2695398, power=262.1, imported=3844696.160001238, exported=0)
2024-01-16 04:01:01,279 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:01:01,280 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:01:01,281 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:01:01,283 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.62, 239.69, 238.77]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7ce718>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:01:01,284 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:01:01,285 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:01:01,285 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[176.0, 27.0, 108.0], currents=[1.0, 0.4, 1.1], voltages=[238.29, 240.14, 239.07], power_factors=[0.7, 0.24, 0.39], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6037.0, imported=8015836.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=312.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23688.0, raw_currents_left=[34.0, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 04:01:01,286 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=262.1, invalid_home_consumption=0, daily_yield_home_consumption=5771.1511533336, imported_home_consumption=3844696.160001238, disengageable_smarthome_power=0))
2024-01-16 04:01:01,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-16 04:01:01,290 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:01:01,291 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:01:01,292 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:01:01,294 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:01:01,295 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:01:01,296 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:01:01,297 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:01:01,298 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:01:01,298 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:01:01,302 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:01:01,310 - {control.data:245} - {INFO:MainThread} - general_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-16 04:01:01,311 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:01:01,312 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:01:01,313 - {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 0x6c1d0610>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:01:01,314 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:01:01,316 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=49.9))
2024-01-16 04:01: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=8233395.285, power=49.9))
2024-01-16 04:01:01,318 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374052, 'time': '04:00:52', 'grid': 0.343, 'house-power': 0.299, 'charging-all': 0.0, 'pv-all': -0.044, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:01:01,320 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:01: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-16 04:01:01,322 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:01:01,323 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:01:01,326 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:01:01,328 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:01:01,330 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:01:01,331 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:01:01,333 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:01:01,335 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:01:01,337 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:01:01,340 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:01:01,340 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -412.0W
2024-01-16 04:01:01,342 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -412.0W
2024-01-16 04:01:01,343 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:01:01,344 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:01:01,345 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:01:01,350 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:01:01,355 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:01:01,402 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:01:01,633 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:01:05,662 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:01:05,663 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:01:10,675 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:01:10,676 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:01:10,721 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:01:10,722 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:01:10,724 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:01:10,731 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:01:10,733 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:01:10,776 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:01:10,790 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374069},"temperature":{"tC":26.3, "tF":79.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:01","unixtime":1705374071,"uptime":4733449,"ram_size":248948,"ram_free":144540,"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-16 04:01:10,794 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-312, -175, -28, -108], Scale 0
2024-01-16 04:01:10,794 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374060.5840628, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:01:10,797 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00283629, power1: 0, power2: 0
2024-01-16 04:01:10,797 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:01:10,799 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374070.794709, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:01:10,801 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:01:10,838 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 4, 11], Scale -1
2024-01-16 04:01:10,875 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23843, 24026, 23921, 0, 0, 0, 0], Scale -2
2024-01-16 04:01:10,955 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:01:10,974 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7020, 2339, 3970], Scale -2
2024-01-16 04:01:10,996 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015837, 3302454, 2344297, 2924247], Scale 0
2024-01-16 04:01:10,997 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.4, 1.1], powers=[175.0, 28.0, 108.0], voltages=[238.43, 240.26, 239.21], power_factors=[0.7020000000000001, 0.2339, 0.397], imported=8015837.0, exported=4871567.0, power=312.0, frequency=50.0)
2024-01-16 04:01:10,998 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:01:11,024 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4548], Scale -2
2024-01-16 04:01:11,063 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:01:11,085 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 29], Scale -2
2024-01-16 04:01:11,104 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4617], Scale -2
2024-01-16 04:01:11,105 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.29], power=45.480000000000004, exported=7896155.0, dc_power=46.17)
2024-01-16 04:01:11,106 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:01:11,195 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374060.87435, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:01:11,196 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00286703, power1: 0, power2: 0
2024-01-16 04:01:11,197 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:01:11,197 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374071.1956537, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:01:11,198 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:01:11,213 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:01:11,217 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:01:11,259 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:01:11,260 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:01:11,261 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:01:11,264 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=45.480000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:01:11,268 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:01:11,278 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=45.480000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:01:11,280 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:01:11,341 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:01:11,342 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.4, 1.1], powers=[175.0, 28.0, 108.0], voltages=[238.43, 240.26, 239.21], power_factors=[0.7020000000000001, 0.2339, 0.397], imported=8015837.0, exported=4871567.0, power=312.0, frequency=50.0)
2024-01-16 04:01:11,546 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:01:11,548 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:01:11,550 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [34.0, 34.7, 33.9]A
2024-01-16 04:01:11,551 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23688.0W
2024-01-16 04:01:11,553 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:01:11,554 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:01:11,555 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:01:11,558 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:01:11.557760
2024-01-16 04:01:11,560 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1086.70311s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:01:11,561 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:01:11.561388
2024-01-16 04:01:11,562 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176912.786438s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:01:11,565 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:01:11.564588
2024-01-16 04:01:11,566 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8596.781979s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:01:11,569 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:01:11.568458
2024-01-16 04:01:11,571 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173281.47502s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:01:11,572 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:01:11,583 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:01:11,601 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:01:11,610 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374061.2695398, power=262.1, imported=3844696.160001238, exported=0)
2024-01-16 04:01:11,612 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0028724, power1: 262.1, power2: 266.52
2024-01-16 04:01:11,613 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.759204
2024-01-16 04:01:11,615 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.759204 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374071.6101792, power=266.52, imported=3844696.9192052344, exported=0)
2024-01-16 04:01:11,619 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:01:11,620 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:01:11,623 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:01:11,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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.63, 239.58, 238.76]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1fa8e0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:01:11,626 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:01:11,627 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:01:11,628 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[175.0, 28.0, 108.0], currents=[1.0, 0.4, 1.1], voltages=[238.43, 240.26, 239.21], power_factors=[0.7, 0.23, 0.4], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6037.0, imported=8015837.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=312.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23688.0, raw_currents_left=[34.0, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 04:01:11,629 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=266.52, invalid_home_consumption=0, daily_yield_home_consumption=5771.1511533336, imported_home_consumption=3844696.9192052344, disengageable_smarthome_power=0))
2024-01-16 04:01:11,631 - {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-16 04:01:11,633 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:01:11,634 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:01:11,636 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:01:11,638 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:01:11,640 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:01:11,642 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:01:11,643 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:01:11,644 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:01:11,647 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:01:11,648 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:01:11,649 - {control.data:245} - {INFO:MainThread} - general_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-16 04:01:11,651 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:01:11,654 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:01:11,655 - {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 0x6c1db0b8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:01:11,657 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:01:11,658 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=45.48))
2024-01-16 04:01:11,659 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=45.48))
2024-01-16 04:01:11,660 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374061, 'time': '04:01:01', 'grid': 0.312, 'house-power': 0.262, 'charging-all': 0.0, 'pv-all': -0.05, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:01:11,661 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:01:11,662 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:01:11,664 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:01:11,666 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:01:11,667 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:01:11,668 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:01:11,671 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:01:11,673 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:01:11,674 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:01:11,677 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:01:11,680 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:01:11,683 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:01:11,685 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -412.0W
2024-01-16 04:01:11,687 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -412.0W
2024-01-16 04:01:11,689 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:01:11,690 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:01:11,691 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:01:11,695 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:01:11,701 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:01:11,750 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:01:12,031 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:01:12,036 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:01:15,047 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:01:15,049 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:01:20,062 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:01:20,064 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:01:20,154 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:01:20,157 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:01:20,171 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:01:20,178 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:01:20,180 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:01:20,224 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:01:20,229 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374078},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:01","unixtime":1705374080,"uptime":4733458,"ram_size":248948,"ram_free":144540,"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":-72},"ws":{"connected":false}}

2024-01-16 04:01:20,233 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374070.794709, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:01:20,235 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-309, -175, -27, -107], Scale 0
2024-01-16 04:01:20,238 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00262199, power1: 0, power2: 0
2024-01-16 04:01:20,251 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:01:20,254 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374080.2338846, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:01:20,257 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:01:20,273 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 4, 11], Scale -1
2024-01-16 04:01:20,294 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23879, 23994, 23908, 0, 0, 0, 0], Scale -2
2024-01-16 04:01:20,312 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:01:20,344 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [6999, 2370, 3869], Scale -2
2024-01-16 04:01:20,437 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015837, 3302454, 2344297, 2924247], Scale 0
2024-01-16 04:01:20,438 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.4, 1.1], powers=[175.0, 27.0, 107.0], voltages=[238.79, 239.94, 239.08], power_factors=[0.6999, 0.237, 0.38689999999999997], imported=8015837.0, exported=4871567.0, power=309.0, frequency=50.0)
2024-01-16 04:01:20,440 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:01:20,467 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4117], Scale -2
2024-01-16 04:01:20,506 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:01:20,544 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 30], Scale -2
2024-01-16 04:01:20,564 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4316], Scale -2
2024-01-16 04:01:20,564 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.3], power=41.17, exported=7896155.0, dc_power=43.160000000000004)
2024-01-16 04:01:20,566 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:01:20,625 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374071.1956537, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:01:20,626 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00261938, power1: 0, power2: 0
2024-01-16 04:01:20,626 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:01:20,627 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374080.6254315, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:01:20,628 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:01:20,631 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:01:20,633 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:01:20,672 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:01:20,673 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:01:20,675 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:01:20,675 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=41.17, exported=7934579.61, dc_power=None)
2024-01-16 04:01:20,681 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:01:20,682 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=41.17, exported=7934579.61, dc_power=None)
2024-01-16 04:01:20,685 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:01:20,739 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:01:20,742 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.4, 1.1], powers=[175.0, 27.0, 107.0], voltages=[238.79, 239.94, 239.08], power_factors=[0.6999, 0.237, 0.38689999999999997], imported=8015837.0, exported=4871567.0, power=309.0, frequency=50.0)
2024-01-16 04:01:20,923 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:01:20,933 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:01:20,950 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [34.0, 34.7, 33.9]A
2024-01-16 04:01:20,952 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23691.0W
2024-01-16 04:01:20,958 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:01:20,965 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:01:20,971 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:01:20,973 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:01:20.972957
2024-01-16 04:01:20,974 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1077.287913s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:01:20,975 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:01:20.975360
2024-01-16 04:01:20,976 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176903.372466s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:01:20,978 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:01:20.978152
2024-01-16 04:01:20,984 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8606.195543s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:01:20,985 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:01:20.985353
2024-01-16 04:01:20,987 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173272.058125s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:01:20,987 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:01:20,995 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:01:20,997 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:01:21,004 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374071.6101792, power=266.52, imported=3844696.9192052344, exported=0)
2024-01-16 04:01:21,006 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00260936, power1: 266.52, power2: 267.83
2024-01-16 04:01:21,007 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.697157
2024-01-16 04:01:21,008 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.697157 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374081.0038927, power=267.83, imported=3844697.616362289, exported=0)
2024-01-16 04:01:21,014 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:01:21,015 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:01:21,017 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:01:21,020 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.35, 239.65, 239.25]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1e0928>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:01:21,021 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:01:21,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=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:01:21,025 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[175.0, 27.0, 107.0], currents=[1.0, 0.4, 1.1], voltages=[238.79, 239.94, 239.08], power_factors=[0.7, 0.24, 0.39], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6037.0, imported=8015837.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=309.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23691.0, raw_currents_left=[34.0, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 04:01:21,026 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=267.83, invalid_home_consumption=0, daily_yield_home_consumption=5771.1511533336, imported_home_consumption=3844697.616362289, disengageable_smarthome_power=0))
2024-01-16 04:01:21,027 - {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-16 04:01:21,029 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:01:21,030 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:01:21,031 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:01:21,033 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:01:21,033 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:01:21,035 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:01:21,036 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:01:21,037 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:01:21,038 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:01:21,039 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:01:21,046 - {control.data:245} - {INFO:MainThread} - general_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-16 04:01:21,046 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:01:21,047 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:01:21,048 - {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 0x6c1d0a90>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:01:21,049 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:01:21,051 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=41.17))
2024-01-16 04:01:21,052 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=41.17))
2024-01-16 04:01:21,054 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374071, 'time': '04:01:11', 'grid': 0.312, 'house-power': 0.267, 'charging-all': 0.0, 'pv-all': -0.045, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:01:21,055 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:01:21,056 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:01:21,058 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:01:21,060 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:01:21,061 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:01:21,062 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:01:21,062 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:01:21,064 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:01:21,066 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:01:21,069 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:01:21,071 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:01:21,074 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:01:21,075 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -409.0W
2024-01-16 04:01:21,077 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -409.0W
2024-01-16 04:01:21,079 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:01:21,080 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:01:21,081 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:01:21,086 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:01:21,094 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:01:21,116 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:01:21,336 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:01:25,357 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:01:25,358 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:01:30,373 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:01:30,375 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:01:30,452 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:01:30,467 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:01:30,474 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:01:30,480 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:01:30,482 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:01:30,525 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:01:30,527 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374089},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:01","unixtime":1705374091,"uptime":4733468,"ram_size":249000,"ram_free":145116,"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-16 04:01:30,533 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374080.2338846, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:01:30,534 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00286085, power1: 0, power2: 0
2024-01-16 04:01:30,536 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-311, -175, -27, -107], Scale 0
2024-01-16 04:01:30,536 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:01:30,538 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374090.5329518, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:01:30,541 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:01:30,572 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 5, 11], Scale -1
2024-01-16 04:01:30,603 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23872, 23987, 23911, 0, 0, 0, 0], Scale -2
2024-01-16 04:01:30,647 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5002], Scale -2
2024-01-16 04:01:30,674 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [6990, 2370, 3829], Scale -2
2024-01-16 04:01:30,698 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015838, 3302455, 2344297, 2924248], Scale 0
2024-01-16 04:01:30,699 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.5, 1.1], powers=[175.0, 27.0, 107.0], voltages=[238.72, 239.87, 239.11], power_factors=[0.6990000000000001, 0.237, 0.3829], imported=8015838.0, exported=4871567.0, power=311.0, frequency=50.02)
2024-01-16 04:01:30,700 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:01:30,745 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4170], Scale -2
2024-01-16 04:01:30,824 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:01:30,845 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 29], Scale -2
2024-01-16 04:01:30,873 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5001], Scale -2
2024-01-16 04:01:30,874 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.29], power=41.7, exported=7896155.0, dc_power=50.01)
2024-01-16 04:01:30,875 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:01:30,934 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374080.6254315, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:01:30,935 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.0028636, power1: 0, power2: 0
2024-01-16 04:01:30,935 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:01:30,935 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374090.9343932, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:01:30,937 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:01:30,940 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:01:30,941 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:01:30,994 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:01:30,995 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:01:30,997 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:01:30,998 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=41.7, exported=7934579.61, dc_power=None)
2024-01-16 04:01:31,000 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:01:31,002 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=41.7, exported=7934579.61, dc_power=None)
2024-01-16 04:01:31,003 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:01:31,079 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:01:31,080 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.5, 1.1], powers=[175.0, 27.0, 107.0], voltages=[238.72, 239.87, 239.11], power_factors=[0.6990000000000001, 0.237, 0.3829], imported=8015838.0, exported=4871567.0, power=311.0, frequency=50.02)
2024-01-16 04:01:31,263 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:01:31,269 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:01:31,279 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [34.0, 34.6, 33.9]A
2024-01-16 04:01:31,294 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23689.0W
2024-01-16 04:01:31,299 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:01:31,302 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:01:31,306 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:01:31,309 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:01:31.309188
2024-01-16 04:01:31,311 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1066.951682s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:01:31,312 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:01:31.312300
2024-01-16 04:01:31,314 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176893.035526s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:01:31,316 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:01:31.315747
2024-01-16 04:01:31,318 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8616.533138s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:01:31,320 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:01:31.319912
2024-01-16 04:01:31,321 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173261.723566s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:01:31,322 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:01:31,327 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:01:31,337 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:01:31,357 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374081.0038927, power=267.83, imported=3844697.616362289, exported=0)
2024-01-16 04:01:31,358 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00287594, power1: 267.83, power2: 269.3
2024-01-16 04:01:31,360 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.772377
2024-01-16 04:01:31,361 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.772377 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374091.3572843, power=269.3, imported=3844698.3887396855, exported=0)
2024-01-16 04:01:31,364 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:01:31,366 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:01:31,371 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:01:31,373 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.32, 239.63, 239.26]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7fa070>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:01:31,374 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:01:31,376 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:01:31,378 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[175.0, 27.0, 107.0], currents=[1.0, 0.5, 1.1], voltages=[238.72, 239.87, 239.11], power_factors=[0.7, 0.24, 0.38], unbalanced_load=0, frequency=50.02, daily_exported=0.0, daily_imported=6037.0, imported=8015838.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=311.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23689.0, raw_currents_left=[34.0, 34.6, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 04:01: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=269.3, invalid_home_consumption=0, daily_yield_home_consumption=5771.1511533336, imported_home_consumption=3844698.3887396855, disengageable_smarthome_power=0))
2024-01-16 04:01:31,385 - {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-16 04:01:31,386 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:01:31,388 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:01:31,389 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:01:31,391 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:01:31,392 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:01:31,397 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:01:31,399 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:01:31,408 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:01:31,410 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:01:31,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=1, keep_charge_active_duration=40)
2024-01-16 04:01:31,416 - {control.data:245} - {INFO:MainThread} - general_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-16 04:01:31,418 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:01:31,421 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:01:31,430 - {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 0x6c1f0340>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:01:31,442 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:01:31,445 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=41.7))
2024-01-16 04:01:31,446 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=41.7))
2024-01-16 04:01:31,446 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374081, 'time': '04:01:21', 'grid': 0.309, 'house-power': 0.268, 'charging-all': 0.0, 'pv-all': -0.041, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:01:31,447 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:01:31,448 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:01:31,448 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:01:31,449 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:01:31,449 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:01:31,449 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:01:31,450 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:01:31,450 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:01:31,451 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:01:31,453 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:01:31,454 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:01:31,457 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:01:31,457 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -411.0W
2024-01-16 04:01:31,458 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -411.0W
2024-01-16 04:01:31,458 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:01:31,459 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:01:31,459 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:01:31,461 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:01:31,463 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:01:31,497 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:01:31,762 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:01:31,766 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:01:35,784 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:01:40,797 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:01:40,798 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:01:40,848 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:01:40,849 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:01:40,855 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:01:40,858 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:01:40,859 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:01:40,909 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-315, -175, -28, -111], Scale 0
2024-01-16 04:01:40,930 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:01:40,932 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374099},"temperature":{"tC":26.3, "tF":79.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:01","unixtime":1705374101,"uptime":4733479,"ram_size":249000,"ram_free":145116,"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-16 04:01:40,934 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374090.5329518, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:01:40,935 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00288937, power1: 0, power2: 0
2024-01-16 04:01:40,935 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:01:40,936 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374100.934701, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:01:40,938 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:01:40,945 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 4, 11], Scale -1
2024-01-16 04:01:40,973 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23885, 24001, 23919, 0, 0, 0, 0], Scale -2
2024-01-16 04:01:40,992 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5002], Scale -2
2024-01-16 04:01:41,015 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [6959, 2380, 3840], Scale -2
2024-01-16 04:01:41,066 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015839, 3302455, 2344297, 2924248], Scale 0
2024-01-16 04:01:41,067 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.4, 1.1], powers=[175.0, 28.0, 111.0], voltages=[238.85, 240.01, 239.19], power_factors=[0.6959000000000001, 0.23800000000000002, 0.384], imported=8015839.0, exported=4871567.0, power=315.0, frequency=50.02)
2024-01-16 04:01:41,068 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:01:41,094 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4659], Scale -2
2024-01-16 04:01:41,113 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:01:41,133 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 30], Scale -2
2024-01-16 04:01:41,204 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4730], Scale -2
2024-01-16 04:01:41,205 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.3], power=46.59, exported=7896155.0, dc_power=47.300000000000004)
2024-01-16 04:01:41,206 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:01:41,295 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374090.9343932, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:01:41,296 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00287805, power1: 0, power2: 0
2024-01-16 04:01:41,296 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:01:41,296 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374101.2953634, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:01:41,298 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:01:41,307 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:01:41,308 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:01:41,349 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:01:41,350 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:01:41,352 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.59, exported=7934579.61, dc_power=None)
2024-01-16 04:01:41,353 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.59, exported=7934579.61, dc_power=None)
2024-01-16 04:01:41,354 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:01:41,355 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:01:41,359 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:01:41,425 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:01:41,427 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.4, 1.1], powers=[175.0, 28.0, 111.0], voltages=[238.85, 240.01, 239.19], power_factors=[0.6959000000000001, 0.23800000000000002, 0.384], imported=8015839.0, exported=4871567.0, power=315.0, frequency=50.02)
2024-01-16 04:01:41,605 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:01:41,609 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:01:41,621 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [34.0, 34.7, 33.9]A
2024-01-16 04:01:41,622 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23685.0W
2024-01-16 04:01:41,624 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:01:41,629 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:01:41,633 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:01:41,636 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:01:41.635616
2024-01-16 04:01:41,639 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1056.625254s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:01:41,640 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:01:41.640383
2024-01-16 04:01:41,642 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176882.707443s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:01:41,643 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:01:41.642879
2024-01-16 04:01:41,644 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8626.86027s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:01:41,646 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:01:41.646308
2024-01-16 04:01:41,648 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173251.39717s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:01:41,649 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:01:41,657 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:01:41,659 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:01:41,693 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374091.3572843, power=269.3, imported=3844698.3887396855, exported=0)
2024-01-16 04:01:41,696 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00287126, power1: 269.3, power2: 268.41
2024-01-16 04:01:41,697 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.771953
2024-01-16 04:01:41,698 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.771953 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374101.6938212, power=268.40999999999997, imported=3844699.160692359, exported=0)
2024-01-16 04:01:41,702 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:01:41,703 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:01:41,704 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:01:41,705 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.48, 239.72, 239.33]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1ca910>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:01:41,706 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:01:41,707 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:01:41,708 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[175.0, 28.0, 111.0], currents=[1.0, 0.4, 1.1], voltages=[238.85, 240.01, 239.19], power_factors=[0.7, 0.24, 0.38], unbalanced_load=0, frequency=50.02, daily_exported=0.0, daily_imported=6037.0, imported=8015839.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=315.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23685.0, raw_currents_left=[34.0, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 04:01:41,709 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=268.40999999999997, invalid_home_consumption=0, daily_yield_home_consumption=5771.1511533336, imported_home_consumption=3844699.160692359, disengageable_smarthome_power=0))
2024-01-16 04:01:41,711 - {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-16 04:01:41,714 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:01:41,718 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:01:41,720 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:01:41,721 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:01:41,723 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:01:41,726 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:01:41,727 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:01:41,729 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-16 04:01:41,730 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-16 04:01:41,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=1, keep_charge_active_duration=40)
2024-01-16 04:01:41,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-16 04:01:41,736 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:01:41,738 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:01:41,739 - {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 0x6c1c2ce8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:01:41,742 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:01:41,744 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=46.59))
2024-01-16 04:01:41,745 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=46.59))
2024-01-16 04:01:41,748 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374091, 'time': '04:01:31', 'grid': 0.311, 'house-power': 0.269, 'charging-all': 0.0, 'pv-all': -0.042, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:01:41,749 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:01:41,750 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:01:41,751 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:01:41,754 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:01:41,755 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:01:41,758 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:01:41,759 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:01:41,760 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:01:41,763 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:01:41,769 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:01:41,772 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:01:41,775 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:01:41,777 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -415.0W
2024-01-16 04:01:41,778 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -415.0W
2024-01-16 04:01:41,781 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:01:41,783 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:01:41,784 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:01:41,793 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:01:41,801 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:01:41,844 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:01:42,123 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:01:42,126 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:01:45,143 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:01:45,144 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:01:50,156 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:01:50,158 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:01:50,224 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:01:50,226 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:01:50,232 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:01:50,245 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:01:50,250 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:01:50,284 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-313, -176, -26, -110], Scale 0
2024-01-16 04:01:50,300 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:01:50,302 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":240.4, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374108},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:01","unixtime":1705374110,"uptime":4733488,"ram_size":249000,"ram_free":145120,"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":-73},"ws":{"connected":false}}

2024-01-16 04:01:50,310 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374100.934701, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:01:50,311 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00260446, power1: 0, power2: 0
2024-01-16 04:01:50,312 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:01:50,314 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374110.3107605, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:01:50,316 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:01:50,409 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 4, 11], Scale -1
2024-01-16 04:01:50,449 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23898, 24003, 23926, 0, 0, 0, 0], Scale -2
2024-01-16 04:01:50,479 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5002], Scale -2
2024-01-16 04:01:50,514 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [6990, 2319, 3860], Scale -2
2024-01-16 04:01:50,534 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015840, 3302456, 2344297, 2924248], Scale 0
2024-01-16 04:01:50,535 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.4, 1.1], powers=[176.0, 26.0, 110.0], voltages=[238.98000000000002, 240.03, 239.26], power_factors=[0.6990000000000001, 0.23190000000000002, 0.386], imported=8015840.0, exported=4871567.0, power=313.0, frequency=50.02)
2024-01-16 04:01:50,537 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:01:50,565 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4603], Scale -2
2024-01-16 04:01:50,624 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:01:50,652 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 30], Scale -2
2024-01-16 04:01:50,673 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5198], Scale -2
2024-01-16 04:01:50,673 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.3], power=46.03, exported=7896155.0, dc_power=51.980000000000004)
2024-01-16 04:01:50,674 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:01:50,812 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374101.2953634, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:01:50,813 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00264367, power1: 0, power2: 0
2024-01-16 04:01:50,813 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:01:50,814 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374110.8125868, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:01:50,814 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:01:50,819 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:01:50,820 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:01:50,867 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:01:50,868 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:01:50,868 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:01:50,870 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.03, exported=7934579.61, dc_power=None)
2024-01-16 04:01:50,877 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.03, exported=7934579.61, dc_power=None)
2024-01-16 04:01:50,874 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:01:50,880 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:01:50,939 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:01:50,940 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.4, 1.1], powers=[176.0, 26.0, 110.0], voltages=[238.98000000000002, 240.03, 239.26], power_factors=[0.6990000000000001, 0.23190000000000002, 0.386], imported=8015840.0, exported=4871567.0, power=313.0, frequency=50.02)
2024-01-16 04:01:51,101 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:01:51,104 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:01:51,106 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [34.0, 34.7, 33.9]A
2024-01-16 04:01:51,107 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23687.0W
2024-01-16 04:01:51,108 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:01:51,109 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:01:51,110 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:01:51,112 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:01:51.111574
2024-01-16 04:01:51,112 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1047.149296s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:01:51,114 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:01:51.114152
2024-01-16 04:01:51,115 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176873.233674s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:01:51,115 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:01:51.115482
2024-01-16 04:01:51,117 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8636.332873s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:01:51,119 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:01:51.118974
2024-01-16 04:01:51,121 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173241.924504s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:01:51,121 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:01:51,125 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:01:51,126 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:01:51,133 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374101.6938212, power=268.40999999999997, imported=3844699.160692359, exported=0)
2024-01-16 04:01:51,134 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00262198, power1: 268.41, power2: 266.97
2024-01-16 04:01:51,142 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.701877
2024-01-16 04:01:51,144 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.701877 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374111.1329393, power=266.97, imported=3844699.8625694523, exported=0)
2024-01-16 04:01:51,152 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:01:51,152 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:01:51,153 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:01:51,155 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.43, 239.51, 239.33]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1f0cb8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:01:51,156 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:01:51,157 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:01:51,160 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[176.0, 26.0, 110.0], currents=[1.0, 0.4, 1.1], voltages=[238.98, 240.03, 239.26], power_factors=[0.7, 0.23, 0.39], unbalanced_load=0, frequency=50.02, daily_exported=0.0, daily_imported=6037.0, imported=8015840.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=313.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23687.0, raw_currents_left=[34.0, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 04:01: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=266.97, invalid_home_consumption=0, daily_yield_home_consumption=5771.1511533336, imported_home_consumption=3844699.8625694523, disengageable_smarthome_power=0))
2024-01-16 04:01: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-16 04:01:51,170 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:01: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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:01:51,173 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:01:51,175 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:01:51,175 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:01:51,176 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:01:51,177 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:01: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-16 04:01:51,179 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:01:51,180 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:01: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-16 04:01:51,182 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:01:51,183 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:01:51,184 - {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 0x6c1d7358>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:01:51,185 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:01:51,186 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=46.03))
2024-01-16 04:01:51,187 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=46.03))
2024-01-16 04:01:51,188 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374101, 'time': '04:01:41', 'grid': 0.315, 'house-power': 0.268, 'charging-all': 0.0, 'pv-all': -0.047, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:01:51,189 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:01:51,190 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:01:51,191 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:01:51,192 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:01:51,193 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:01:51,194 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:01:51,195 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:01:51,196 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:01:51,198 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:01:51,201 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:01:51,203 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:01:51,205 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:01:51,206 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -413.0W
2024-01-16 04:01:51,207 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -413.0W
2024-01-16 04:01:51,208 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:01:51,209 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:01:51,209 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:01:51,212 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:01:51,215 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:01:51,233 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:01:51,506 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:01:55,553 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:01:55,554 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:02:00,567 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:02:00,570 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:02:00,630 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:02:00,634 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:02:00,635 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:02:00,643 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:02:00,644 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:02:00,675 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-314, -176, -27, -109], Scale 0
2024-01-16 04:02:00,688 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:02:00,690 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374119},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:02","unixtime":1705374121,"uptime":4733499,"ram_size":248948,"ram_free":144540,"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-16 04:02:00,694 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374110.3107605, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:02:00,696 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00288446, power1: 0, power2: 0
2024-01-16 04:02:00,698 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:02:00,700 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374120.6948066, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:02:00,707 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:02:00,718 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 4, 11], Scale -1
2024-01-16 04:02:00,754 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23880, 23990, 23894, 0, 0, 0, 0], Scale -2
2024-01-16 04:02:00,804 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5002], Scale -2
2024-01-16 04:02:00,824 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7009, 2290, 3849], Scale -2
2024-01-16 04:02:00,844 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015841, 3302456, 2344297, 2924249], Scale 0
2024-01-16 04:02:00,845 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.4, 1.1], powers=[176.0, 27.0, 109.0], voltages=[238.8, 239.9, 238.94], power_factors=[0.7009000000000001, 0.229, 0.3849], imported=8015841.0, exported=4871567.0, power=314.0, frequency=50.02)
2024-01-16 04:02:00,849 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:02:00,943 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4523], Scale -2
2024-01-16 04:02:00,967 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:02:00,993 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 29, 30], Scale -2
2024-01-16 04:02:01,013 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4592], Scale -2
2024-01-16 04:02:01,014 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.29, 0.3], power=45.230000000000004, exported=7896155.0, dc_power=45.92)
2024-01-16 04:02:01,018 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:02:01,064 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374110.8125868, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:02:01,065 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00284775, power1: 0, power2: 0
2024-01-16 04:02:01,065 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:02:01,066 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374121.0644913, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:02:01,067 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:02:01,080 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:02:01,084 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:02:01,123 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:02:01,124 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:02:01,127 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=45.230000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:02:01,128 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:02:01,128 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=45.230000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:02:01,131 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:02:01,139 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:02:01,201 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:02:01,202 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.4, 1.1], powers=[176.0, 27.0, 109.0], voltages=[238.8, 239.9, 238.94], power_factors=[0.7009000000000001, 0.229, 0.3849], imported=8015841.0, exported=4871567.0, power=314.0, frequency=50.02)
2024-01-16 04:02:01,387 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:02:01,389 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:02:01,404 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [34.0, 34.7, 33.9]A
2024-01-16 04:02:01,407 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23686.0W
2024-01-16 04:02:01,408 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:02:01,413 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:02:01,415 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:02:01,419 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:02:01.418606
2024-01-16 04:02:01,423 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1036.842264s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:02:01,425 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:02:01.424624
2024-01-16 04:02:01,426 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176862.923202s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:02:01,430 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:02:01.430349
2024-01-16 04:02:01,431 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8646.64774s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:02:01,432 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:02:01.432290
2024-01-16 04:02:01,434 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173231.611188s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:02:01,435 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:02:01,444 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:02:01,445 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:02:01,479 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374111.1329393, power=266.97, imported=3844699.8625694523, exported=0)
2024-01-16 04:02:01,481 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00287404, power1: 266.97, power2: 268.77
2024-01-16 04:02:01,483 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.76987
2024-01-16 04:02:01,484 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.76987 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374121.479492, power=268.77, imported=3844700.6324391877, exported=0)
2024-01-16 04:02:01,486 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:02:01,488 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:02:01,489 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:02:01,491 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.31, 239.4, 239.23]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7cff40>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:02:01,492 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:02:01,493 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:02:01,494 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[176.0, 27.0, 109.0], currents=[1.0, 0.4, 1.1], voltages=[238.8, 239.9, 238.94], power_factors=[0.7, 0.23, 0.38], unbalanced_load=0, frequency=50.02, daily_exported=0.0, daily_imported=6037.0, imported=8015841.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=314.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23686.0, raw_currents_left=[34.0, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 04:02:01,495 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=268.77, invalid_home_consumption=0, daily_yield_home_consumption=5771.1511533336, imported_home_consumption=3844700.6324391877, disengageable_smarthome_power=0))
2024-01-16 04:02:01,497 - {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-16 04:02:01,499 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:02:01,500 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:02:01,502 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:02:01,503 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:02:01,505 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:02:01,506 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:02:01,508 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:02:01,509 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:02:01,509 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:02:01,510 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:02:01,512 - {control.data:245} - {INFO:MainThread} - general_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-16 04:02:01,512 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:02:01,514 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:02:01,516 - {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 0x6c1c2040>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:02:01,517 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:02:01,519 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=45.23))
2024-01-16 04:02:01,520 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=45.23))
2024-01-16 04:02:01,522 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374111, 'time': '04:01:51', 'grid': 0.313, 'house-power': 0.267, 'charging-all': 0.0, 'pv-all': -0.046, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:02:01,524 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:02:01,526 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:02:01,532 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:02:01,533 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:02:01,539 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:02:01,540 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:02:01,548 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:02:01,550 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:02:01,551 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:02:01,554 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:02:01,563 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:02:01,568 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:02:01,572 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -414.0W
2024-01-16 04:02:01,575 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -414.0W
2024-01-16 04:02:01,576 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:02:01,577 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:02:01,582 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:02:01,585 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:02:01,589 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:02:01,632 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:02:01,896 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:02:01,906 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:02:05,916 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:02:10,934 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:02:10,935 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:02:10,980 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:02:10,981 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:02:10,989 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:02:10,992 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:02:10,993 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:02:11,036 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-314, -174, -28, -111], Scale 0
2024-01-16 04:02:11,041 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:02:11,044 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":240.5, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374129},"temperature":{"tC":26.3, "tF":79.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:02","unixtime":1705374131,"uptime":4733509,"ram_size":248948,"ram_free":144540,"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-16 04:02:11,048 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374120.6948066, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:02:11,049 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00287601, power1: 0, power2: 0
2024-01-16 04:02:11,051 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:02:11,052 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374131.0484495, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:02:11,054 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 4, 11], Scale -1
2024-01-16 04:02:11,055 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:02:11,072 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23822, 24012, 23889, 0, 0, 0, 0], Scale -2
2024-01-16 04:02:11,204 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:02:11,269 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [6990, 2389, 3790], Scale -2
2024-01-16 04:02:11,295 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015842, 3302457, 2344298, 2924249], Scale 0
2024-01-16 04:02:11,295 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.4, 1.1], powers=[174.0, 28.0, 111.0], voltages=[238.22, 240.12, 238.89000000000001], power_factors=[0.6990000000000001, 0.2389, 0.379], imported=8015842.0, exported=4871567.0, power=314.0, frequency=50.0)
2024-01-16 04:02:11,297 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:02:11,312 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4163], Scale -2
2024-01-16 04:02:11,354 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:02:11,384 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 30], Scale -2
2024-01-16 04:02:11,405 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4227], Scale -2
2024-01-16 04:02:11,406 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.3], power=41.63, exported=7896155.0, dc_power=42.27)
2024-01-16 04:02:11,412 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:02:11,515 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374121.0644913, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:02:11,515 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00290295, power1: 0, power2: 0
2024-01-16 04:02:11,516 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:02:11,516 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374131.5151284, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:02:11,517 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:02:11,525 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:02:11,526 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:02:11,569 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:02:11,573 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:02:11,579 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=41.63, exported=7934579.61, dc_power=None)
2024-01-16 04:02:11,583 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:02:11,588 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=41.63, exported=7934579.61, dc_power=None)
2024-01-16 04:02:11,590 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:02:11,596 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:02:11,650 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:02:11,652 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.4, 1.1], powers=[174.0, 28.0, 111.0], voltages=[238.22, 240.12, 238.89000000000001], power_factors=[0.6990000000000001, 0.2389, 0.379], imported=8015842.0, exported=4871567.0, power=314.0, frequency=50.0)
2024-01-16 04:02:11,823 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:02:11,825 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:02:11,829 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [34.0, 34.7, 33.9]A
2024-01-16 04:02:11,831 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23686.0W
2024-01-16 04:02:11,832 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:02:11,834 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:02:11,835 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:02:11,837 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:02:11.836665
2024-01-16 04:02:11,838 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1026.424205s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:02:11,839 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:02:11.839153
2024-01-16 04:02:11,841 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176852.508673s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:02:11,845 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:02:11.845050
2024-01-16 04:02:11,847 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8657.062441s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:02:11,850 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:02:11.849776
2024-01-16 04:02:11,851 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173221.193702s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:02:11,852 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:02:11,859 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:02:11,860 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:02:11,886 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374121.479492, power=268.77, imported=3844700.6324391877, exported=0)
2024-01-16 04:02:11,887 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00289067, power1: 268.77, power2: 272.37
2024-01-16 04:02:11,888 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.78213
2024-01-16 04:02:11,889 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.78213 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374131.885917, power=272.37, imported=3844701.4145687465, exported=0)
2024-01-16 04:02:11,897 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:02:11,898 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:02:11,899 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:02:11,901 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.48, 239.37, 238.77]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1dc478>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:02:11,905 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:02:11,908 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:02:11,909 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[174.0, 28.0, 111.0], currents=[1.0, 0.4, 1.1], voltages=[238.22, 240.12, 238.89], power_factors=[0.7, 0.24, 0.38], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6037.0, imported=8015842.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=314.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23686.0, raw_currents_left=[34.0, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 04:02:11,914 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=272.37, invalid_home_consumption=0, daily_yield_home_consumption=5771.1511533336, imported_home_consumption=3844701.4145687465, disengageable_smarthome_power=0))
2024-01-16 04:02:11,929 - {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-16 04:02:11,930 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:02:11,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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:02:11,935 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:02:11,940 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:02:11,942 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:02:11,948 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:02:11,949 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:02:11,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-16 04:02:11,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-16 04:02:11,954 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:02:11,956 - {control.data:245} - {INFO:MainThread} - general_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-16 04:02:11,958 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:02:11,962 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:02:11,963 - {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 0x6c1cf0b8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:02:11,971 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:02:11,972 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=41.63))
2024-01-16 04:02:11,973 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=41.63))
2024-01-16 04:02:11,974 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374121, 'time': '04:02:01', 'grid': 0.314, 'house-power': 0.269, 'charging-all': 0.0, 'pv-all': -0.045, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:02:11,975 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:02:11,978 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:02:11,979 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:02:11,981 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:02:11,996 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:02:11,997 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:02:11,998 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:02:11,999 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:02:12,001 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:02:12,003 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:02:12,012 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:02:12,015 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:02:12,020 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -414.0W
2024-01-16 04:02:12,023 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -414.0W
2024-01-16 04:02:12,024 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:02:12,026 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:02:12,027 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:02:12,029 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:02:12,040 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:02:12,084 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:02:12,336 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:02:12,337 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:02:15,353 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:02:15,354 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:02:20,369 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:02:20,371 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:02:20,417 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:02:20,421 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:02:20,429 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:02:20,431 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:02:20,433 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:02:20,476 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-313, -174, -27, -111], Scale 0
2024-01-16 04:02:20,480 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:02:20,484 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374139},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:02","unixtime":1705374140,"uptime":4733518,"ram_size":248936,"ram_free":144408,"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-16 04:02:20,492 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374131.0484495, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:02:20,493 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00262326, power1: 0, power2: 0
2024-01-16 04:02:20,494 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:02:20,494 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374140.4921858, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:02:20,495 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 4, 11], Scale -1
2024-01-16 04:02:20,498 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:02:20,515 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23820, 24001, 23882, 0, 0, 0, 0], Scale -2
2024-01-16 04:02:20,534 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:02:20,579 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7020, 2329, 3869], Scale -2
2024-01-16 04:02:20,615 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015843, 3302457, 2344298, 2924249], Scale 0
2024-01-16 04:02:20,616 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.4, 1.1], powers=[174.0, 27.0, 111.0], voltages=[238.20000000000002, 240.01, 238.82], power_factors=[0.7020000000000001, 0.2329, 0.38689999999999997], imported=8015843.0, exported=4871567.0, power=313.0, frequency=50.0)
2024-01-16 04:02:20,617 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:02:20,674 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4694], Scale -2
2024-01-16 04:02:20,693 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:02:20,713 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [26, 30, 30], Scale -2
2024-01-16 04:02:20,782 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4766], Scale -2
2024-01-16 04:02:20,783 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.26, 0.3, 0.3], power=46.94, exported=7896155.0, dc_power=47.660000000000004)
2024-01-16 04:02:20,784 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:02:20,843 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374131.5151284, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:02:20,843 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00259112, power1: 0, power2: 0
2024-01-16 04:02:20,844 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:02:20,844 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374140.8431518, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:02:20,845 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:02:20,849 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:02:20,851 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:02:20,899 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:02:20,900 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:02:20,901 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.94, exported=7934579.61, dc_power=None)
2024-01-16 04:02:20,902 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.94, exported=7934579.61, dc_power=None)
2024-01-16 04:02:20,908 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:02:20,915 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:02:20,920 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:02:20,973 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:02:20,974 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.4, 1.1], powers=[174.0, 27.0, 111.0], voltages=[238.20000000000002, 240.01, 238.82], power_factors=[0.7020000000000001, 0.2329, 0.38689999999999997], imported=8015843.0, exported=4871567.0, power=313.0, frequency=50.0)
2024-01-16 04:02:21,165 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:02:21,170 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:02:21,184 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [34.0, 34.7, 33.9]A
2024-01-16 04:02:21,189 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23687.0W
2024-01-16 04:02:21,190 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:02:21,191 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:02:21,191 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:02:21,192 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:02:21.192283
2024-01-16 04:02:21,193 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1017.068587s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:02:21,193 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:02:21.193558
2024-01-16 04:02:21,194 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176843.154268s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:02:21,194 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:02:21.194638
2024-01-16 04:02:21,195 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8666.412029s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:02:21,196 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:02:21.195692
2024-01-16 04:02:21,197 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173211.847786s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:02:21,200 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:02:21,204 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:02:21,204 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:02:21,208 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374131.885917, power=272.37, imported=3844701.4145687465, exported=0)
2024-01-16 04:02:21,209 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00258957, power1: 272.37, power2: 266.06
2024-01-16 04:02:21,211 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.697151
2024-01-16 04:02:21,213 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.697151 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374141.208366, power=266.06, imported=3844702.1117196074, exported=0)
2024-01-16 04:02:21,223 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:02:21,228 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:02:21,231 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:02:21,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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.4, 239.2, 238.69]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1cfb38>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:02:21,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-16 04:02:21,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=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:02:21,240 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[174.0, 27.0, 111.0], currents=[1.0, 0.4, 1.1], voltages=[238.2, 240.01, 238.82], power_factors=[0.7, 0.23, 0.39], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6037.0, imported=8015843.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=313.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23687.0, raw_currents_left=[34.0, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 04:02:21,241 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=266.06, invalid_home_consumption=0, daily_yield_home_consumption=5771.1511533336, imported_home_consumption=3844702.1117196074, disengageable_smarthome_power=0))
2024-01-16 04:02:21,243 - {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-16 04:02:21,245 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:02:21,246 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:02:21,247 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:02:21,249 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:02:21,250 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:02:21,253 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:02:21,255 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:02:21,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-16 04:02:21,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-16 04:02:21,258 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:02:21,259 - {control.data:245} - {INFO:MainThread} - general_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-16 04:02:21,262 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:02:21,263 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:02:21,264 - {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 0x6c1cf7d8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:02:21,272 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:02:21,273 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=46.94))
2024-01-16 04:02:21,274 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=46.94))
2024-01-16 04:02:21,275 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374132, 'time': '04:02:12', 'grid': 0.314, 'house-power': 0.272, 'charging-all': 0.0, 'pv-all': -0.042, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:02:21,276 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:02:21,277 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:02:21,278 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:02:21,279 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:02:21,279 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:02:21,280 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:02:21,288 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:02:21,293 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:02:21,295 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:02:21,298 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:02:21,299 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:02:21,303 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:02:21,311 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -413.0W
2024-01-16 04:02:21,311 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -413.0W
2024-01-16 04:02:21,312 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:02:21,312 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:02:21,312 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:02:21,318 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:02:21,323 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:02:21,356 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:02:21,587 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:02:25,626 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:02:25,627 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:02:30,640 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:02:30,641 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:02:30,686 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:02:30,687 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:02:30,688 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:02:30,694 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:02:30,697 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:02:30,733 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-438, -282, -28, -127], Scale 0
2024-01-16 04:02:30,737 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:02:30,740 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374149},"temperature":{"tC":26.3, "tF":79.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:02","unixtime":1705374151,"uptime":4733529,"ram_size":249000,"ram_free":145116,"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-16 04:02:30,742 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374140.4921858, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:02:30,743 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00284731, power1: 0, power2: 0
2024-01-16 04:02:30,744 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:02:30,745 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374150.7424958, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:02:30,746 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:02:30,753 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [10, 4, 11], Scale -1
2024-01-16 04:02:30,874 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23829, 24003, 23886, 0, 0, 0, 0], Scale -2
2024-01-16 04:02:30,894 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:02:30,923 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7009, 2300, 3860], Scale -2
2024-01-16 04:02:30,964 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015843, 3302457, 2344298, 2924249], Scale 0
2024-01-16 04:02:30,964 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.0, 0.4, 1.1], powers=[282.0, 28.0, 127.0], voltages=[238.29, 240.03, 238.86], power_factors=[0.7009000000000001, 0.23, 0.386], imported=8015843.0, exported=4871567.0, power=438.0, frequency=50.0)
2024-01-16 04:02:30,966 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:02:31,003 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4697], Scale -2
2024-01-16 04:02:31,023 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:02:31,043 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 29], Scale -2
2024-01-16 04:02:31,083 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4769], Scale -2
2024-01-16 04:02:31,084 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.29], power=46.97, exported=7896155.0, dc_power=47.69)
2024-01-16 04:02:31,085 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:02:31,135 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374140.8431518, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:02:31,136 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00285894, power1: 0, power2: 0
2024-01-16 04:02:31,136 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:02:31,137 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374151.1353357, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:02:31,138 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:02:31,142 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:02:31,143 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:02:31,220 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:02:31,221 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:02:31,222 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:02:31,224 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.97, exported=7934579.61, dc_power=None)
2024-01-16 04:02:31,239 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.97, exported=7934579.61, dc_power=None)
2024-01-16 04:02:31,231 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:02:31,242 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:02:31,309 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:02:31,310 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.0, 0.4, 1.1], powers=[282.0, 28.0, 127.0], voltages=[238.29, 240.03, 238.86], power_factors=[0.7009000000000001, 0.23, 0.386], imported=8015843.0, exported=4871567.0, power=438.0, frequency=50.0)
2024-01-16 04:02:31,498 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:02:31,499 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:02:31,501 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [34.0, 34.7, 33.9]A
2024-01-16 04:02:31,502 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23562.0W
2024-01-16 04:02:31,504 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:02:31,506 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:02:31,508 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:02:31,510 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:02:31.510038
2024-01-16 04:02:31,512 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 1006.750832s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:02:31,514 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:02:31.513514
2024-01-16 04:02:31,516 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176832.834312s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:02:31,517 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:02:31.517467
2024-01-16 04:02:31,519 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8676.734858s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:02:31,521 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:02:31.521297
2024-01-16 04:02:31,523 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173201.522181s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:02:31,524 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:02:31,536 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:02:31,539 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:02:31,551 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374141.208366, power=266.06, imported=3844702.1117196074, exported=0)
2024-01-16 04:02:31,553 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00287296, power1: 266.06, power2: 391.03
2024-01-16 04:02:31,557 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0.943896
2024-01-16 04:02:31,560 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0.943896 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374151.551011, power=391.03, imported=3844703.055615262, exported=0)
2024-01-16 04:02:31,562 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:02:31,567 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:02:31,568 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:02:31,570 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.37, 239.32, 238.71]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1c5af0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:02:31,571 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:02:31,572 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:02:31,580 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[282.0, 28.0, 127.0], currents=[1.0, 0.4, 1.1], voltages=[238.29, 240.03, 238.86], power_factors=[0.7, 0.23, 0.39], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6037.0, imported=8015843.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=438.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23562.0, raw_currents_left=[34.0, 34.7, 33.9], surplus_power_left=0, state_str=''))
2024-01-16 04:02:31,581 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=391.03, invalid_home_consumption=0, daily_yield_home_consumption=5771.1511533336, imported_home_consumption=3844703.055615262, disengageable_smarthome_power=0))
2024-01-16 04:02:31,582 - {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-16 04:02:31,583 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:02:31,585 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:02:31,586 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:02:31,590 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:02:31,591 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:02:31,596 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:02:31,597 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:02:31,600 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:02:31,602 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:02:31,602 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:02:31,604 - {control.data:245} - {INFO:MainThread} - general_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-16 04:02:31,604 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:02:31,606 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:02:31,608 - {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 0x6c1e70a0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:02:31,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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:02:31,611 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=46.97))
2024-01-16 04:02:31,613 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=46.97))
2024-01-16 04:02:31,615 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374141, 'time': '04:02:21', 'grid': 0.313, 'house-power': 0.266, 'charging-all': 0.0, 'pv-all': -0.047, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:02:31,616 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:02:31,619 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:02:31,620 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:02:31,622 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:02:31,624 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:02:31,624 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:02:31,626 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:02:31,627 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:02:31,629 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:02:31,632 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:02:31,634 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:02:31,637 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:02:31,641 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -538.0W
2024-01-16 04:02:31,647 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -538.0W
2024-01-16 04:02:31,653 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:02:31,658 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:02:31,658 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:02:31,663 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:02:31,671 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:02:31,694 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:02:31,956 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:02:31,968 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:02:35,978 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:02:40,991 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:02:40,992 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:02:41,035 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:02:41,037 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:02:41,044 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:02:41,046 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:02:41,089 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:02:41,091 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374159},"temperature":{"tC":26.3, "tF":79.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:02","unixtime":1705374161,"uptime":4733539,"ram_size":249000,"ram_free":145120,"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-16 04:02:41,093 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374150.7424958, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:02:41,093 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00287512, power1: 0, power2: 0
2024-01-16 04:02:41,094 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:02:41,094 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374161.0929146, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:02:41,097 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:02:41,104 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:02:41,234 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-466, -282, -29, -155], Scale 0
2024-01-16 04:02:41,278 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [13, 4, 13], Scale -1
2024-01-16 04:02:41,313 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23812, 24000, 23884, 0, 0, 0, 0], Scale -2
2024-01-16 04:02:41,365 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:02:41,384 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8870, 2339, 4819], Scale -2
2024-01-16 04:02:41,414 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015845, 3302459, 2344298, 2924250], Scale 0
2024-01-16 04:02:41,415 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.3, 0.4, 1.3], powers=[282.0, 29.0, 155.0], voltages=[238.12, 240.0, 238.84], power_factors=[0.887, 0.2339, 0.4819], imported=8015845.0, exported=4871567.0, power=466.0, frequency=50.0)
2024-01-16 04:02:41,417 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:02:41,484 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4607], Scale -2
2024-01-16 04:02:41,504 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:02:41,540 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 30], Scale -2
2024-01-16 04:02:41,564 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4677], Scale -2
2024-01-16 04:02:41,565 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.3], power=46.07, exported=7896155.0, dc_power=46.77)
2024-01-16 04:02:41,567 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:02:41,604 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374151.1353357, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:02:41,605 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00290807, power1: 0, power2: 0
2024-01-16 04:02:41,606 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:02:41,606 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374161.6044016, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:02:41,608 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:02:41,613 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:02:41,614 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:02:41,662 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:02:41,664 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:02:41,665 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.07, exported=7934579.61, dc_power=None)
2024-01-16 04:02:41,671 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.07, exported=7934579.61, dc_power=None)
2024-01-16 04:02:41,670 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:02:41,678 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:02:41,684 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:02:41,747 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:02:41,748 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.3, 0.4, 1.3], powers=[282.0, 29.0, 155.0], voltages=[238.12, 240.0, 238.84], power_factors=[0.887, 0.2339, 0.4819], imported=8015845.0, exported=4871567.0, power=466.0, frequency=50.0)
2024-01-16 04:02:41,928 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:02:41,933 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:02:41,938 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.7, 34.7, 33.7]A
2024-01-16 04:02:41,939 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23534.0W
2024-01-16 04:02:41,942 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:02:41,945 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:02:41,948 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:02:41,950 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:02:41.950304
2024-01-16 04:02:41,953 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 996.310566s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:02:41,955 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:02:41.954676
2024-01-16 04:02:41,956 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176822.39315s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:02:41,958 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:02:41.957728
2024-01-16 04:02:41,959 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8687.175119s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:02:41,961 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:02:41.960945
2024-01-16 04:02:41,963 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173191.082533s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:02:41,964 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:02:41,967 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:02:41,969 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:02:41,979 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374151.551011, power=391.03, imported=3844703.055615262, exported=0)
2024-01-16 04:02:41,981 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00289692, power1: 391.03, power2: 419.93
2024-01-16 04:02:41,983 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.17464
2024-01-16 04:02:41,986 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 1.17464 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374161.9799182, power=419.93, imported=3844704.230257838, exported=0)
2024-01-16 04:02:41,991 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:02:41,992 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:02:41,996 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:02:42,000 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.62, 239.42, 238.69]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1d3e80>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:02:42,003 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:02:42,004 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:02:42,006 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[282.0, 29.0, 155.0], currents=[1.3, 0.4, 1.3], voltages=[238.12, 240.0, 238.84], power_factors=[0.89, 0.23, 0.48], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6037.0, imported=8015845.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=466.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23534.0, raw_currents_left=[33.7, 34.7, 33.7], surplus_power_left=0, state_str=''))
2024-01-16 04:02:42,008 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=419.93, invalid_home_consumption=0, daily_yield_home_consumption=5771.1511533336, imported_home_consumption=3844704.230257838, disengageable_smarthome_power=0))
2024-01-16 04:02:42,010 - {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-16 04:02:42,012 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:02:42,015 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:02:42,016 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:02:42,017 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:02:42,018 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:02:42,020 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:02:42,022 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:02:42,023 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-16 04:02:42,025 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:02:42,026 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:02:42,028 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-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-16 04:02:42,029 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:02:42,030 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:02:42,032 - {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 0x6c1e38f8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:02:42,034 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:02:42,036 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=46.07))
2024-01-16 04:02:42,039 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=46.07))
2024-01-16 04:02:42,042 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374151, 'time': '04:02:31', 'grid': 0.438, 'house-power': 0.391, 'charging-all': 0.0, 'pv-all': -0.047, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:02:42,044 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:02:42,049 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:02:42,053 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:02:42,055 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:02:42,060 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:02:42,061 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:02:42,063 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:02:42,064 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:02:42,069 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:02:42,072 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:02:42,086 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:02:42,092 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:02:42,094 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -566.0W
2024-01-16 04:02:42,095 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -566.0W
2024-01-16 04:02:42,096 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:02:42,097 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:02:42,099 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:02:42,115 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:02:42,127 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:02:42,160 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:02:42,571 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:02:42,572 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:02:45,580 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:02:45,581 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:02:50,592 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:02:50,593 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:02:50,632 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:02:50,635 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:02:50,638 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:02:50,643 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:02:50,647 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:02:50,671 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-455, -283, -28, -143], Scale 0
2024-01-16 04:02:50,689 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:02:50,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.5, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374169},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:02","unixtime":1705374171,"uptime":4733549,"ram_size":249000,"ram_free":145116,"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-16 04:02:50,694 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [13, 4, 13], Scale -1
2024-01-16 04:02:50,695 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374161.0929146, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:02:50,698 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00266729, power1: 0, power2: 0
2024-01-16 04:02:50,699 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:02:50,699 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374170.695176, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:02:50,700 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:02:50,802 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23821, 24005, 23893, 0, 0, 0, 0], Scale -2
2024-01-16 04:02:50,833 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:02:50,863 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [8889, 2319, 4920], Scale -2
2024-01-16 04:02:50,884 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015846, 3302459, 2344298, 2924250], Scale 0
2024-01-16 04:02:50,885 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[1.3, 0.4, 1.3], powers=[283.0, 28.0, 143.0], voltages=[238.21, 240.05, 238.93], power_factors=[0.8889, 0.23190000000000002, 0.49200000000000005], imported=8015846.0, exported=4871567.0, power=455.0, frequency=50.0)
2024-01-16 04:02:50,887 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:02:50,903 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4792], Scale -2
2024-01-16 04:02:50,924 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:02:50,942 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 29], Scale -2
2024-01-16 04:02:50,962 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4865], Scale -2
2024-01-16 04:02:50,963 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.29], power=47.92, exported=7896155.0, dc_power=48.65)
2024-01-16 04:02:50,965 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:02:51,024 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374161.6044016, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:02:51,025 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00261665, power1: 0, power2: 0
2024-01-16 04:02:51,026 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:02:51,026 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374171.024353, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:02:51,028 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:02:51,040 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:02:51,042 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:02:51,108 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:02:51,109 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:02:51,110 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:02:51,113 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.92, exported=7934579.61, dc_power=None)
2024-01-16 04:02:51,116 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:02:51,118 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.92, exported=7934579.61, dc_power=None)
2024-01-16 04:02:51,123 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:02:51,196 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:02:51,197 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[1.3, 0.4, 1.3], powers=[283.0, 28.0, 143.0], voltages=[238.21, 240.05, 238.93], power_factors=[0.8889, 0.23190000000000002, 0.49200000000000005], imported=8015846.0, exported=4871567.0, power=455.0, frequency=50.0)
2024-01-16 04:02:51,448 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:02:51,449 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:02:51,451 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [33.7, 34.7, 33.7]A
2024-01-16 04:02:51,452 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 23545.0W
2024-01-16 04:02:51,453 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:02:51,455 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:02:51,457 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:02:51,459 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:02:51.459010
2024-01-16 04:02:51,462 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 986.80186s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:02:51,464 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:02:51.463658
2024-01-16 04:02:51,465 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176812.884168s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:02:51,467 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:02:51.467483
2024-01-16 04:02:51,469 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8696.684874s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:02:51,470 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:02:51.470468
2024-01-16 04:02:51,472 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173181.57301s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:02:51,473 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:02:51,477 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:02:51,481 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:02:51,497 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374161.9799182, power=419.93, imported=3844704.230257838, exported=0)
2024-01-16 04:02:51,501 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0026437, power1: 419.93, power2: 407.08
2024-01-16 04:02:51,502 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 1.09318
2024-01-16 04:02:51,503 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 1.09318 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374171.4972265, power=407.08, imported=3844705.3234396554, exported=0)
2024-01-16 04:02:51,506 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:02:51,508 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:02:51,509 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:02:51,511 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.53, 239.39, 238.63]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1db070>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:02:51,512 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:02:51,514 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:02:51,515 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[283.0, 28.0, 143.0], currents=[1.3, 0.4, 1.3], voltages=[238.21, 240.05, 238.93], power_factors=[0.89, 0.23, 0.49], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6037.0, imported=8015846.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=455.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=23545.0, raw_currents_left=[33.7, 34.7, 33.7], surplus_power_left=0, state_str=''))
2024-01-16 04:02:51,517 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=407.08, invalid_home_consumption=0, daily_yield_home_consumption=5771.1511533336, imported_home_consumption=3844705.3234396554, disengageable_smarthome_power=0))
2024-01-16 04:02:51,519 - {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-16 04:02:51,521 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:02:51,523 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:02:51,536 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:02:51,537 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:02:51,538 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:02:51,540 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:02:51,545 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:02:51,550 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:02:51,551 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-16 04:02:51,556 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:02:51,558 - {control.data:245} - {INFO:MainThread} - general_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-16 04:02:51,560 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:02:51,561 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:02:51,563 - {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 0x6c1bfbb0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:02:51,568 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:02:51,575 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=47.92))
2024-01-16 04:02:51,576 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=47.92))
2024-01-16 04:02:51,577 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374162, 'time': '04:02:42', 'grid': 0.466, 'house-power': 0.42, 'charging-all': 0.0, 'pv-all': -0.046, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:02:51,578 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:02:51,579 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:02:51,587 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:02:51,588 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:02:51,589 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:02:51,589 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:02:51,591 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:02:51,592 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:02:51,593 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:02:51,596 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:02:51,598 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:02:51,600 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:02:51,601 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -555.0W
2024-01-16 04:02:51,602 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -555.0W
2024-01-16 04:02:51,602 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:02:51,602 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:02:51,603 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:02:51,604 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:02:51,606 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:02:51,633 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:02:51,865 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:02:55,889 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:02:55,890 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:03:00,902 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:03:00,903 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:03:00,955 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:03:00,960 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:03:00,962 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:03:00,975 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:03:00,979 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:03:01,021 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:03:01,023 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":239.8, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374179},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:03","unixtime":1705374181,"uptime":4733559,"ram_size":248948,"ram_free":144540,"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-16 04:03:01,035 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374170.695176, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:03:01,037 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2451, -988, -714, -747], Scale 0
2024-01-16 04:03:01,041 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00287235, power1: 0, power2: 0
2024-01-16 04:03:01,042 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:03:01,043 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374181.0356252, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:03:01,044 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:03:01,063 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [37, 29, 27], Scale -1
2024-01-16 04:03:01,086 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23798, 23982, 23863, 0, 0, 0, 0], Scale -2
2024-01-16 04:03:01,163 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:03:01,193 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9070, 7519, 8889], Scale -2
2024-01-16 04:03:01,214 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015848, 3302460, 2344298, 2924251], Scale 0
2024-01-16 04:03:01,215 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[3.7, 2.9000000000000004, 2.7], powers=[988.0, 714.0, 747.0], voltages=[237.98000000000002, 239.82, 238.63], power_factors=[0.907, 0.7519, 0.8889], imported=8015848.0, exported=4871567.0, power=2451.0, frequency=50.0)
2024-01-16 04:03:01,218 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:03:01,242 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4465], Scale -2
2024-01-16 04:03:01,262 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:03:01,284 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [26, 31, 29], Scale -2
2024-01-16 04:03:01,304 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4533], Scale -2
2024-01-16 04:03:01,305 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.26, 0.31, 0.29], power=44.65, exported=7896155.0, dc_power=45.33)
2024-01-16 04:03:01,308 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:03:01,375 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374171.024353, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:03:01,375 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00287518, power1: 0, power2: 0
2024-01-16 04:03:01,376 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:03:01,376 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374181.3750036, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:03:01,378 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:03:01,389 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:03:01,398 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:03:01,447 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:03:01,448 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:03:01,450 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=44.65, exported=7934579.61, dc_power=None)
2024-01-16 04:03:01,452 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:03:01,458 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=44.65, exported=7934579.61, dc_power=None)
2024-01-16 04:03:01,464 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:03:01,469 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:03:01,539 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:03:01,541 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[3.7, 2.9000000000000004, 2.7], powers=[988.0, 714.0, 747.0], voltages=[237.98000000000002, 239.82, 238.63], power_factors=[0.907, 0.7519, 0.8889], imported=8015848.0, exported=4871567.0, power=2451.0, frequency=50.0)
2024-01-16 04:03:01,751 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:03:01,755 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:03:01,759 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [31.3, 32.2, 32.3]A
2024-01-16 04:03:01,761 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21549.0W
2024-01-16 04:03:01,762 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:03:01,764 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:03:01,766 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:03:01,768 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:03:01.767593
2024-01-16 04:03:01,769 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 976.493277s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:03:01,770 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:03:01.769858
2024-01-16 04:03:01,771 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176802.577968s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:03:01,772 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:03:01.771636
2024-01-16 04:03:01,773 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8706.989027s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:03:01,775 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:03:01.774754
2024-01-16 04:03:01,776 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173171.268724s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:03:01,777 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:03:01,781 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:03:01,782 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:03:01,797 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374171.4972265, power=407.08, imported=3844705.3234396554, exported=0)
2024-01-16 04:03:01,800 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00286103, power1: 407.08, power2: 2406.35
2024-01-16 04:03:01,803 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 4.02465
2024-01-16 04:03:01,805 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 4.02465 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374181.7969165, power=2406.35, imported=3844709.3480864414, exported=0)
2024-01-16 04:03:01,812 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:03:01,813 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:03:01,815 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:03: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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[239.8, 238.77, 238.64]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1dec70>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:03:01,818 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:03:01,819 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:03:01,819 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[988.0, 714.0, 747.0], currents=[3.7, 2.9, 2.7], voltages=[237.98, 239.82, 238.63], power_factors=[0.91, 0.75, 0.89], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6037.0, imported=8015848.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2451.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21549.0, raw_currents_left=[31.3, 32.2, 32.3], surplus_power_left=0, state_str=''))
2024-01-16 04:03:01,821 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': '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.35, invalid_home_consumption=0, daily_yield_home_consumption=5771.1511533336, imported_home_consumption=3844709.3480864414, disengageable_smarthome_power=0))
2024-01-16 04:03:01,822 - {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-16 04:03:01,823 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:03:01,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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:03:01,826 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:03:01,828 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:03:01,829 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:03:01,830 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:03:01,831 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:03:01,833 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:03:01,834 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:03:01,835 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:03:01,836 - {control.data:245} - {INFO:MainThread} - general_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-16 04:03:01,838 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:03:01,840 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:03:01,841 - {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 0x6c1de2c8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:03:01,842 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:03:01,844 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=44.65))
2024-01-16 04:03:01,845 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=44.65))
2024-01-16 04:03:01,846 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374171, 'time': '04:02:51', 'grid': 0.455, 'house-power': 0.407, 'charging-all': 0.0, 'pv-all': -0.048, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:03:01,849 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:03:01,850 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:03:01,851 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:03:01,853 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:03:01,854 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:03:01,854 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:03:01,856 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:03:01,858 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:03:01,859 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:03:01,862 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:03:01,865 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:03:01,867 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:03:01,868 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2551.0W
2024-01-16 04:03:01,870 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2551.0W
2024-01-16 04:03:01,872 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:03:01,873 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:03:01,873 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:03:01,879 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:03:01,882 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:03:01,908 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:03:02,193 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:03:02,195 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:03:05,201 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:03:05,202 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:03:10,214 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:03:10,216 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:03:10,292 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:03:10,294 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:03:10,296 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:03:10,308 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:03:10,309 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:03:10,331 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2593, -1033, -764, -795], Scale 0
2024-01-16 04:03:10,354 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:03:10,356 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":239.8, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374188},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:03","unixtime":1705374190,"uptime":4733568,"ram_size":248936,"ram_free":144408,"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-16 04:03:10,358 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [44, 35, 33], Scale -1
2024-01-16 04:03:10,360 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374181.0356252, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:03:10,361 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00259025, power1: 0, power2: 0
2024-01-16 04:03:10,362 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:03:10,363 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374190.3605237, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:03:10,364 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:03:10,397 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23825, 23938, 23831, 0, 0, 0, 0], Scale -2
2024-01-16 04:03:10,428 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:03:10,481 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9419, 8360, 9330], Scale -2
2024-01-16 04:03:10,514 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015853, 3302462, 2344300, 2924252], Scale 0
2024-01-16 04:03:10,515 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.4, 3.5, 3.3000000000000003], powers=[1033.0, 764.0, 795.0], voltages=[238.25, 239.38, 238.31], power_factors=[0.9419, 0.8360000000000001, 0.9329999999999999], imported=8015853.0, exported=4871567.0, power=2593.0, frequency=50.0)
2024-01-16 04:03:10,516 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:03:10,532 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4771], Scale -2
2024-01-16 04:03:10,554 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:03:10,682 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 29], Scale -2
2024-01-16 04:03:10,714 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4844], Scale -2
2024-01-16 04:03:10,714 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.29], power=47.71, exported=7896155.0, dc_power=48.44)
2024-01-16 04:03:10,715 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:03:10,787 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374181.3750036, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:03:10,788 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00261462, power1: 0, power2: 0
2024-01-16 04:03:10,788 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:03:10,789 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374190.7876503, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:03:10,789 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:03:10,792 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:03:10,793 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:03:10,840 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:03:10,842 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:03:10,844 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:03:10,847 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.71, exported=7934579.61, dc_power=None)
2024-01-16 04:03:10,854 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:03:10,855 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.71, exported=7934579.61, dc_power=None)
2024-01-16 04:03:10,855 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:03:10,909 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:03:10,910 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.4, 3.5, 3.3000000000000003], powers=[1033.0, 764.0, 795.0], voltages=[238.25, 239.38, 238.31], power_factors=[0.9419, 0.8360000000000001, 0.9329999999999999], imported=8015853.0, exported=4871567.0, power=2593.0, frequency=50.0)
2024-01-16 04:03:11,102 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:03:11,105 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:03:11,110 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.6, 31.6, 31.7]A
2024-01-16 04:03:11,115 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21407.0W
2024-01-16 04:03:11,117 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:03:11,122 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:03:11,126 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:03:11,127 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:03:11.127475
2024-01-16 04:03:11,129 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 967.133395s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:03:11,130 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:03:11.130010
2024-01-16 04:03:11,134 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176793.217816s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:03:11,135 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:03:11.135578
2024-01-16 04:03:11,136 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8716.352969s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:03:11,142 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:03:11.141977
2024-01-16 04:03:11,143 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173161.901501s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:03:11,145 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:03:11,157 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:03:11,159 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:03:11,178 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374181.7969165, power=2406.35, imported=3844709.3480864414, exported=0)
2024-01-16 04:03:11,179 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00260607, power1: 2406.35, power2: 2545.29
2024-01-16 04:03:11,180 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.45216
2024-01-16 04:03:11,182 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.45216 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374191.1787612, power=2545.29, imported=3844715.8002416887, exported=0)
2024-01-16 04:03:11,184 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:03:11,188 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:03:11,194 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:03:11,197 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[239.79, 238.87, 238.68]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1cafd0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:03:11,198 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:03:11,200 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:03:11,204 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1033.0, 764.0, 795.0], currents=[4.4, 3.5, 3.3], voltages=[238.25, 239.38, 238.31], power_factors=[0.94, 0.84, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6037.0, imported=8015853.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2593.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21407.0, raw_currents_left=[30.6, 31.6, 31.7], surplus_power_left=0, state_str=''))
2024-01-16 04:03:11,205 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2545.29, invalid_home_consumption=0, daily_yield_home_consumption=5771.1511533336, imported_home_consumption=3844715.8002416887, disengageable_smarthome_power=0))
2024-01-16 04:03:11,206 - {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-16 04:03:11,207 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:03:11,211 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:03:11,213 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:03:11,217 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:03:11,218 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:03:11,223 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:03:11,223 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:03:11,224 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:03:11,225 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:03:11,225 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:03:11,226 - {control.data:245} - {INFO:MainThread} - general_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-16 04:03:11,227 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:03:11,227 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:03:11,228 - {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 0x6c1d77f0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:03:11,229 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:03:11,230 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=47.71))
2024-01-16 04:03:11,231 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=47.71))
2024-01-16 04:03:11,233 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374181, 'time': '04:03:01', 'grid': 2.451, 'house-power': 2.406, 'charging-all': 0.0, 'pv-all': -0.045, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:03:11,234 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:03:11,235 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:03:11,236 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:03:11,237 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:03:11,238 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:03:11,240 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:03:11,241 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:03:11,242 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:03:11,243 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:03:11,246 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:03:11,250 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:03:11,252 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:03:11,253 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2693.0W
2024-01-16 04:03:11,255 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2693.0W
2024-01-16 04:03:11,255 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:03:11,256 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:03:11,257 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:03:11,259 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:03:11,260 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:03:11,285 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:03:11,522 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:03:15,555 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:03:15,557 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:03:20,569 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:03:20,570 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:03:20,613 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:03:20,614 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:03:20,621 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:03:20,622 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:03:20,626 - {pymodbus.client.sync:218} - {ERROR:device0} - Connection to (solaredge, 1502) failed: [Errno 111] Connection refused
2024-01-16 04:03:20,668 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:03:20,675 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":239.7, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374199},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:03","unixtime":1705374201,"uptime":4733579,"ram_size":248936,"ram_free":144408,"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-16 04:03:20,678 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374190.3605237, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:03:20,680 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00286601, power1: 0, power2: 0
2024-01-16 04:03:20,681 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:03:20,682 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374200.6781423, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:03:20,685 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:03:20,696 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:03:20,698 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:03:20,758 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:03:20,759 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:03:20,761 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.71, exported=7973004.220000001, dc_power=None)
2024-01-16 04:03:20,762 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.71, exported=7973004.220000001, dc_power=None)
2024-01-16 04:03:20,766 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:03:20,768 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:03:20,770 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:03:20,834 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:03:20,835 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.4, 3.5, 3.3000000000000003], powers=[1033.0, 764.0, 795.0], voltages=[238.25, 239.38, 238.31], power_factors=[0.9419, 0.8360000000000001, 0.9329999999999999], imported=8015853.0, exported=4871567.0, power=2593.0, frequency=50.0)
2024-01-16 04:03:21,010 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:03:21,012 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:03:21,016 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.6, 31.6, 31.7]A
2024-01-16 04:03:21,017 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21407.0W
2024-01-16 04:03:21,019 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:03:21,022 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:03:21,023 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:03:21,024 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:03:21.024421
2024-01-16 04:03:21,026 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 957.236449s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:03:21,028 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:03:21.028183
2024-01-16 04:03:21,029 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176783.319643s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:03:21,031 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:03:21.030612
2024-01-16 04:03:21,032 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8726.248003s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:03:21,034 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:03:21.034059
2024-01-16 04:03:21,036 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173152.009419s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:03:21,039 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:03:21,044 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:03:21,045 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:03:21,050 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374191.1787612, power=2545.29, imported=3844715.8002416887, exported=0)
2024-01-16 04:03:21,052 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00274207, power1: 2545.29, power2: 2545.29
2024-01-16 04:03:21,053 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.97937
2024-01-16 04:03:21,054 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.97937 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374201.050219, power=2545.29, imported=3844722.7796091507, exported=0)
2024-01-16 04:03:21,057 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:03:21,058 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:03:21,060 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:03:21,069 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[239.79, 238.79, 238.56]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1d34a8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:03:21,070 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:03:21,082 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:03:21,084 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1033.0, 764.0, 795.0], currents=[4.4, 3.5, 3.3], voltages=[238.25, 239.38, 238.31], power_factors=[0.94, 0.84, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6037.0, imported=8015853.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2593.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21407.0, raw_currents_left=[30.6, 31.6, 31.7], surplus_power_left=0, state_str=''))
2024-01-16 04:03:21,086 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2545.29, invalid_home_consumption=0, daily_yield_home_consumption=5771.1511533336, imported_home_consumption=3844722.7796091507, disengageable_smarthome_power=0))
2024-01-16 04:03:21,096 - {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-16 04:03:21,097 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:03:21,100 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:03:21,102 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:03:21,103 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:03:21,106 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:03:21,107 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:03:21,108 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:03:21,110 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:03:21,111 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:03:21,112 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:03:21,114 - {control.data:245} - {INFO:MainThread} - general_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-16 04:03:21,116 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:03:21,116 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:03:21,117 - {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 0x6c1dc580>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:03:21,119 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:03:21,120 - {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=7973004.22, fault_state=0, fault_str='Kein Fehler.', power=47.71))
2024-01-16 04:03:21,121 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8271819.895, power=47.71))
2024-01-16 04:03:21,122 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374191, 'time': '04:03:11', 'grid': 2.593, 'house-power': 2.545, 'charging-all': 0.0, 'pv-all': -0.048, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:03:21,124 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:03:21,126 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:03:21,127 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:03:21,128 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:03:21,129 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:03:21,130 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:03:21,131 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:03:21,133 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:03:21,135 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:03:21,137 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:03:21,140 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:03:21,143 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:03:21,144 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2693.0W
2024-01-16 04:03:21,145 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2693.0W
2024-01-16 04:03:21,147 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:03:21,148 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:03:21,149 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:03:21,153 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:03:21,155 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:03:21,185 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:03:21,477 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:03:21,486 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:03:25,497 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:03:30,511 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:03:30,512 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:03:30,559 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:03:30,560 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:03:30,567 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:03:30,569 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:03:30,609 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:03:30,611 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":239.8, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374209},"temperature":{"tC":26.3, "tF":79.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:03","unixtime":1705374211,"uptime":4733588,"ram_size":249000,"ram_free":145116,"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-16 04:03:30,614 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374200.6781423, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:03:30,615 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00275999, power1: 0, power2: 0
2024-01-16 04:03:30,615 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:03:30,616 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374210.6141074, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:03:30,618 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:03:33,573 - {pymodbus.client.sync:218} - {ERROR:device0} - Connection to (solaredge, 1502) failed: timed out
2024-01-16 04:03:33,582 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:03:33,583 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:03:33,633 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:03:33,637 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:03:33,639 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:03:33,639 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.71, exported=8011428.830000001, dc_power=None)
2024-01-16 04:03:33,641 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:03:33,642 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.71, exported=8011428.830000001, dc_power=None)
2024-01-16 04:03:33,649 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:03:33,733 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:03:33,736 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.4, 3.5, 3.3000000000000003], powers=[1033.0, 764.0, 795.0], voltages=[238.25, 239.38, 238.31], power_factors=[0.9419, 0.8360000000000001, 0.9329999999999999], imported=8015853.0, exported=4871567.0, power=2593.0, frequency=50.0)
2024-01-16 04:03:33,931 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:03:33,935 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:03:33,940 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.6, 31.6, 31.7]A
2024-01-16 04:03:33,941 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21407.0W
2024-01-16 04:03:33,943 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:03:33,945 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:03:33,946 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:03:33,949 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:03:33.949111
2024-01-16 04:03:33,951 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 944.311759s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:03:33,953 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:03:33.953248
2024-01-16 04:03:33,955 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176770.394578s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:03:33,956 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:03:33.956003
2024-01-16 04:03:33,957 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8739.173394s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:03:33,958 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:03:33.958355
2024-01-16 04:03:33,959 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173139.085123s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:03:33,961 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:03:33,964 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:03:33,965 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:03:33,969 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374201.050219, power=2545.29, imported=3844722.7796091507, exported=0)
2024-01-16 04:03:33,975 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00358871, power1: 2545.29, power2: 2545.29
2024-01-16 04:03:33,976 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 9.13431
2024-01-16 04:03:33,978 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 9.13431 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374213.969578, power=2545.29, imported=3844731.9139189254, exported=0)
2024-01-16 04:03:33,982 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:03:33,983 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:03:33,985 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:03:33,987 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[239.78, 238.79, 238.61]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1dc790>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:03:33,988 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:03:33,990 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:03:33,998 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1033.0, 764.0, 795.0], currents=[4.4, 3.5, 3.3], voltages=[238.25, 239.38, 238.31], power_factors=[0.94, 0.84, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6037.0, imported=8015853.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2593.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21407.0, raw_currents_left=[30.6, 31.6, 31.7], surplus_power_left=0, state_str=''))
2024-01-16 04:03:34,002 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2545.29, invalid_home_consumption=0, daily_yield_home_consumption=5771.1511533336, imported_home_consumption=3844731.9139189254, disengageable_smarthome_power=0))
2024-01-16 04:03:34,007 - {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-16 04:03:34,008 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:03:34,012 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:03:34,014 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:03:34,016 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:03:34,017 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:03:34,019 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:03:34,020 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:03:34,021 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:03:34,022 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:03:34,029 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:03:34,031 - {control.data:245} - {INFO:MainThread} - general_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-16 04:03:34,033 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:03:34,033 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:03:34,035 - {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 0x6c1cf2f8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:03:34,043 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:03:34,044 - {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=8011428.83, fault_state=0, fault_str='Kein Fehler.', power=47.71))
2024-01-16 04:03:34,045 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8310244.505, power=47.71))
2024-01-16 04:03:34,046 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374201, 'time': '04:03:21', 'grid': 2.593, 'house-power': 2.545, 'charging-all': 0.0, 'pv-all': -0.048, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:03:34,048 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:03:34,053 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:03:34,057 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:03:34,065 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:03:34,067 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:03:34,068 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:03:34,069 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:03:34,072 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:03:34,073 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:03:34,078 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:03:34,080 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:03:34,084 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:03:34,085 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2693.0W
2024-01-16 04:03:34,085 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2693.0W
2024-01-16 04:03:34,086 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:03:34,086 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:03:34,088 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:03:34,093 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:03:34,101 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:03:34,121 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:03:34,491 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:03:34,494 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:03:35,498 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:03:35,499 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:03:40,510 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:03:40,511 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:03:40,546 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:03:40,548 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:03:40,551 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:03:40,561 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:03:40,629 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:03:40,631 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":239.8, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374219},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:03","unixtime":1705374221,"uptime":4733598,"ram_size":249000,"ram_free":145116,"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-16 04:03:40,633 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374210.6141074, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:03:40,633 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00278307, power1: 0, power2: 0
2024-01-16 04:03:40,634 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:03:40,634 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374220.6331418, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:03:40,635 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:03:43,567 - {pymodbus.client.sync:218} - {ERROR:device0} - Connection to (solaredge, 1502) failed: timed out
2024-01-16 04:03:43,583 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:03:43,585 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:03:43,641 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:03:43,643 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:03:43,646 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.71, exported=8049853.440000001, dc_power=None)
2024-01-16 04:03:43,647 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.71, exported=8049853.440000001, dc_power=None)
2024-01-16 04:03:43,661 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:03:43,663 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:03:43,667 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:03:43,741 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:03:43,742 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.4, 3.5, 3.3000000000000003], powers=[1033.0, 764.0, 795.0], voltages=[238.25, 239.38, 238.31], power_factors=[0.9419, 0.8360000000000001, 0.9329999999999999], imported=8015853.0, exported=4871567.0, power=2593.0, frequency=50.0)
2024-01-16 04:03:43,955 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:03:43,956 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:03:43,958 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.6, 31.6, 31.7]A
2024-01-16 04:03:43,960 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21407.0W
2024-01-16 04:03:43,961 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:03:43,964 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:03:43,965 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:03:43,967 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:03:43.966816
2024-01-16 04:03:43,968 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 934.294054s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:03:43,971 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:03:43.971172
2024-01-16 04:03:43,973 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176760.376654s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:03:43,974 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:03:43.974069
2024-01-16 04:03:43,975 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8749.19146s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:03:43,976 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:03:43.976492
2024-01-16 04:03:43,978 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173129.066986s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:03:43,979 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:03:43,985 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:03:43,987 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:03:43,999 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374213.969578, power=2545.29, imported=3844731.9139189254, exported=0)
2024-01-16 04:03:44,007 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00278609, power1: 2545.29, power2: 2545.29
2024-01-16 04:03:44,009 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.0914
2024-01-16 04:03:44,010 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.0914 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374223.9994912, power=2545.29, imported=3844739.0053182966, exported=0)
2024-01-16 04:03:44,017 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:03:44,019 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:03:44,020 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:03:44,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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[239.81, 238.78, 238.58]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1d3fa0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:03:44,023 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:03:44,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=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:03:44,025 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1033.0, 764.0, 795.0], currents=[4.4, 3.5, 3.3], voltages=[238.25, 239.38, 238.31], power_factors=[0.94, 0.84, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6037.0, imported=8015853.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2593.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21407.0, raw_currents_left=[30.6, 31.6, 31.7], surplus_power_left=0, state_str=''))
2024-01-16 04:03:44,027 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2545.29, invalid_home_consumption=0, daily_yield_home_consumption=5771.1511533336, imported_home_consumption=3844739.0053182966, disengageable_smarthome_power=0))
2024-01-16 04:03:44,028 - {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-16 04:03:44,030 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:03:44,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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:03:44,034 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:03:44,035 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:03:44,037 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:03:44,038 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:03:44,039 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:03:44,041 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:03:44,042 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:03:44,043 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:03:44,044 - {control.data:245} - {INFO:MainThread} - general_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-16 04:03:44,046 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:03:44,050 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:03:44,051 - {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 0x6c1d3598>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:03:44,052 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:03:44,053 - {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=8049853.44, fault_state=0, fault_str='Kein Fehler.', power=47.71))
2024-01-16 04:03:44,055 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8348669.115, power=47.71))
2024-01-16 04:03:44,056 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374214, 'time': '04:03:34', 'grid': 2.593, 'house-power': 2.545, 'charging-all': 0.0, 'pv-all': -0.048, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:03:44,057 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:03:44,059 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:03:44,060 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:03:44,062 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:03:44,063 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:03:44,064 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:03:44,065 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:03:44,065 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:03:44,067 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:03:44,070 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:03:44,077 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:03:44,079 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:03:44,080 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2693.0W
2024-01-16 04:03:44,080 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2693.0W
2024-01-16 04:03:44,081 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:03:44,082 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:03:44,084 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:03:44,090 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:03:44,093 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:03:44,118 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:03:44,408 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:03:45,477 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:03:45,478 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:03:50,492 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:03:50,493 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:03:50,540 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:03:50,543 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:03:50,557 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:03:50,548 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:03:50,573 - {pymodbus.client.sync:218} - {ERROR:device0} - Connection to (solaredge, 1502) failed: [Errno 111] Connection refused
2024-01-16 04:03:50,605 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:03:50,607 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":239.7, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374229},"temperature":{"tC":26.3, "tF":79.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:03","unixtime":1705374231,"uptime":4733608,"ram_size":249000,"ram_free":145120,"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-16 04:03:50,610 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374220.6331418, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:03:50,612 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00277142, power1: 0, power2: 0
2024-01-16 04:03:50,613 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:03:50,614 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374230.6102667, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:03:50,620 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:03:50,648 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:03:50,663 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:03:50,725 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:03:50,726 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:03:50,729 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:03:50,729 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.71, exported=8088278.050000002, dc_power=None)
2024-01-16 04:03:50,732 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:03:50,733 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.71, exported=8088278.050000002, dc_power=None)
2024-01-16 04:03:50,734 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:03:50,805 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:03:50,806 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.4, 3.5, 3.3000000000000003], powers=[1033.0, 764.0, 795.0], voltages=[238.25, 239.38, 238.31], power_factors=[0.9419, 0.8360000000000001, 0.9329999999999999], imported=8015853.0, exported=4871567.0, power=2593.0, frequency=50.0)
2024-01-16 04:03:50,999 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:03:51,002 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:03:51,007 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.6, 31.6, 31.7]A
2024-01-16 04:03:51,008 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21407.0W
2024-01-16 04:03:51,024 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:03:51,030 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:03:51,031 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:03:51,035 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:03:51.035215
2024-01-16 04:03:51,038 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 927.225655s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:03:51,039 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:03:51.039078
2024-01-16 04:03:51,040 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176753.308748s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:03:51,042 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:03:51.042055
2024-01-16 04:03:51,044 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8756.259446s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:03:51,046 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:03:51.046086
2024-01-16 04:03:51,047 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173121.997392s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:03:51,048 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:03:51,053 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:03:51,056 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:03:51,069 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374223.9994912, power=2545.29, imported=3844739.0053182966, exported=0)
2024-01-16 04:03:51,074 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00196392, power1: 2545.29, power2: 2545.29
2024-01-16 04:03:51,075 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 4.99874
2024-01-16 04:03:51,077 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 4.99874 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374231.069589, power=2545.29, imported=3844744.0040541124, exported=0)
2024-01-16 04:03:51,080 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:03:51,083 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:03:51,087 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:03:51,099 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[239.77, 238.72, 238.61]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1c6fe8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:03:51,101 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-16 04:03:51,101 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:03:51,102 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1033.0, 764.0, 795.0], currents=[4.4, 3.5, 3.3], voltages=[238.25, 239.38, 238.31], power_factors=[0.94, 0.84, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6037.0, imported=8015853.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2593.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21407.0, raw_currents_left=[30.6, 31.6, 31.7], surplus_power_left=0, state_str=''))
2024-01-16 04:03:51,104 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2545.29, invalid_home_consumption=0, daily_yield_home_consumption=5771.1511533336, imported_home_consumption=3844744.0040541124, disengageable_smarthome_power=0))
2024-01-16 04:03:51,107 - {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-16 04:03:51,112 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:03:51,117 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:03:51,124 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:03:51,125 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:03:51,126 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:03:51,128 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705373333.456657, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:03:51,132 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:03:51,133 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:03:51,138 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:03:51,139 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:03:51,142 - {control.data:245} - {INFO:MainThread} - general_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-16 04:03:51,147 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:03:51,151 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:03:51,152 - {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 0x6c1cf3e8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:03:51,161 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:03:51,162 - {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=8088278.05, fault_state=0, fault_str='Kein Fehler.', power=47.71))
2024-01-16 04:03:51,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=8387093.725, power=47.71))
2024-01-16 04:03:51,169 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374224, 'time': '04:03:44', 'grid': 2.593, 'house-power': 2.545, 'charging-all': 0.0, 'pv-all': -0.048, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:03:51,183 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:03:51,184 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:03:51,184 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:03:51,185 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:03:51,185 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:03:51,186 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:03:51,186 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:03:51,187 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:03:51,188 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:03:51,190 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:03:51,191 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:03:51,193 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:03:51,194 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2693.0W
2024-01-16 04:03:51,194 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2693.0W
2024-01-16 04:03:51,195 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:03:51,195 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:03:51,195 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:03:51,211 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:03:51,216 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:03:51,247 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:03:51,513 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:03:51,515 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:03:55,525 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:03:55,526 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:04:00,538 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:04:00,538 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:04:00,575 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:04:00,576 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:04:00,578 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:04:00,587 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:04:00,591 - {pymodbus.client.sync:218} - {ERROR:device0} - Connection to (solaredge, 1502) failed: [Errno 111] Connection refused
2024-01-16 04:04:00,631 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:04:00,633 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":239.4, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374239},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:04","unixtime":1705374241,"uptime":4733619,"ram_size":248948,"ram_free":144540,"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-16 04:04:00,637 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374230.6102667, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:04:00,640 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00278541, power1: 0, power2: 0
2024-01-16 04:04:00,644 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:04:00,645 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374240.6377518, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:04:00,649 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:04:00,657 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:04:00,658 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:04:00,711 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:04:00,712 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:04:00,714 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.71, exported=8126702.660000002, dc_power=None)
2024-01-16 04:04:00,715 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:04:00,715 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.71, exported=8126702.660000002, dc_power=None)
2024-01-16 04:04:00,717 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:04:00,721 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:04:00,786 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:04:00,787 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.4, 3.5, 3.3000000000000003], powers=[1033.0, 764.0, 795.0], voltages=[238.25, 239.38, 238.31], power_factors=[0.9419, 0.8360000000000001, 0.9329999999999999], imported=8015853.0, exported=4871567.0, power=2593.0, frequency=50.0)
2024-01-16 04:04:00,975 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:04:00,977 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:04:00,979 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.6, 31.6, 31.7]A
2024-01-16 04:04:00,981 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21407.0W
2024-01-16 04:04:00,982 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:04:00,984 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:04:00,989 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:04:00,992 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:04:00.992379
2024-01-16 04:04:00,994 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 917.268491s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:04:00,995 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:04:00.994991
2024-01-16 04:04:00,995 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176743.352835s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:04:00,996 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:04:00.996367
2024-01-16 04:04:00,997 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8766.213758s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:04:00,999 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:04:00.998609
2024-01-16 04:04:01,000 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173112.044869s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:04:01,001 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:04:01,005 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:04:01,006 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:04:01,009 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374231.069589, power=2545.29, imported=3844744.0040541124, exported=0)
2024-01-16 04:04:01,011 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0027611, power1: 2545.29, power2: 2545.29
2024-01-16 04:04:01,015 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.02781
2024-01-16 04:04:01,017 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.02781 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374241.0095654, power=2545.29, imported=3844751.0318659646, exported=0)
2024-01-16 04:04:01,030 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:04:01,032 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:04:01,039 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:04: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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[239.66, 238.77, 238.57]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1c1fb8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:04: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-16 04:04: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=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:04:01,049 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1033.0, 764.0, 795.0], currents=[4.4, 3.5, 3.3], voltages=[238.25, 239.38, 238.31], power_factors=[0.94, 0.84, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6037.0, imported=8015853.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2593.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21407.0, raw_currents_left=[30.6, 31.6, 31.7], surplus_power_left=0, state_str=''))
2024-01-16 04:04:01,051 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2545.29, invalid_home_consumption=0, daily_yield_home_consumption=5771.1511533336, imported_home_consumption=3844751.0318659646, disengageable_smarthome_power=0))
2024-01-16 04:04:01,052 - {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-16 04:04:01,053 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:04:01,058 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:04:01,069 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:04:01,070 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:04:01,070 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:04:01,070 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:04:01,071 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:04:01,071 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:04:01,072 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:04:01,072 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:04:01,072 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-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-16 04:04:01,073 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:04:01,073 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:04:01,074 - {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 0x6c1cf028>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:04:01,074 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:04:01,074 - {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=8126702.66, fault_state=0, fault_str='Kein Fehler.', power=47.71))
2024-01-16 04:04:01,075 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8425518.335, power=47.71))
2024-01-16 04:04:01,075 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374231, 'time': '04:03:51', 'grid': 2.593, 'house-power': 2.545, 'charging-all': 0.0, 'pv-all': -0.048, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:04:01,076 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:04:01,077 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:04:01,078 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:04:01,080 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:04:01,085 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:04:01,085 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:04:01,087 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:04:01,088 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:04:01,089 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:04:01,092 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:04:01,096 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:04:01,099 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:04:01,100 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2693.0W
2024-01-16 04:04:01,110 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2693.0W
2024-01-16 04:04:01,111 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:04:01,112 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:04:01,114 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:04:01,129 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:04:01,143 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:04:01,166 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:04:01,401 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:04:05,418 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:04:05,419 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:04:10,431 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:04:10,432 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:04:10,475 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:04:10,476 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:04:10,478 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:04:10,485 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:04:10,490 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:04:10,529 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:04:10,531 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":238.4, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374249},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:04","unixtime":1705374251,"uptime":4733628,"ram_size":248948,"ram_free":144540,"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":-73},"ws":{"connected":false}}

2024-01-16 04:04:10,539 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374240.6377518, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:04:10,540 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00275045, power1: 0, power2: 0
2024-01-16 04:04:10,541 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:04:10,542 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374250.5393872, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:04:10,545 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:04:11,293 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-32768, -32768, -32768, -32768], Scale -32768
2024-01-16 04:04:11,661 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-32768, -32768, -32768], Scale -32768
2024-01-16 04:04:11,938 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-32768, -32768, -32768, -32768, -32768, -32768, -32768], Scale -32768
2024-01-16 04:04:12,202 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-32768], Scale -32768
2024-01-16 04:04:12,434 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-32768, -32768, -32768], Scale -32768
2024-01-16 04:04:12,725 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0, 0, 0, 0, 0, 0, 0, 0], Scale 0
2024-01-16 04:04:12,726 - {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-16 04:04:12,728 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:04:12,832 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2024-01-16 04:04:12,929 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:04:13,038 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [26, 29, 29], Scale -2
2024-01-16 04:04:13,083 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2024-01-16 04:04:13,083 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [0.26, 0.29, 0.29]
2024-01-16 04:04:13,084 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.26, 0.29, 0.29], power=-0.0, exported=7896155.0, dc_power=-0.0)
2024-01-16 04:04:13,088 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:04:13,204 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374190.7876503, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:04:13,205 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.0173381, power1: 0, power2: 0
2024-01-16 04:04:13,205 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:04:13,206 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374253.2046657, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:04:13,207 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=-3.4028234663852886e+38)
2024-01-16 04:04:13,213 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:04:13,216 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=-3.4028234663852886e+38)
2024-01-16 04:04:13,236 - {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-16 04:04:13,264 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:04:13,266 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:04:13,269 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:04:13,271 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=7934579.61, dc_power=None)
2024-01-16 04:04:13,272 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:04:13,273 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=7934579.61, dc_power=None)
2024-01-16 04:04:13,275 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:04:13,341 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:04:13,342 - {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-16 04:04:13,655 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:04:13,657 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:04:13,660 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [35.0, 35.1, 35.0]A
2024-01-16 04:04:13,662 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 24000.0W
2024-01-16 04:04:13,664 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:04:13,666 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:04:13,667 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:04:13,669 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:04:13.668916
2024-01-16 04:04:13,670 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 904.591954s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:04:13,671 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:04:13.670981
2024-01-16 04:04:13,672 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176730.676845s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:04:13,673 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:04:13.672838
2024-01-16 04:04:13,674 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8778.890229s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:04:13,676 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:04:13.675870
2024-01-16 04:04:13,677 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173099.367608s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:04:13,680 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:04:13,704 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:04:13,710 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:04:13,715 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374241.0095654, power=2545.29, imported=3844751.0318659646, exported=0)
2024-01-16 04:04:13,716 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00352942, power1: 2545.29, power2: 0
2024-01-16 04:04:13,718 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 4.4917
2024-01-16 04:04:13,719 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 4.4917 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374253.7154796, power=0.0, imported=3844755.523565479, exported=0)
2024-01-16 04:04:13,722 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:04:13,723 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:04:13,724 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:04:13,725 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[238.47, 239.04, 238.16]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1f89e8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:04:13,727 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:04:13,728 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:04:13,730 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), 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=6037.0, imported=0.0, exported=0.0, fault_state=0, fault_str='Kein Fehler.', power=0.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=24000.0, raw_currents_left=[35.0, 35.1, 35.0], surplus_power_left=0, state_str=''))
2024-01-16 04:04:13,731 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=0.0, invalid_home_consumption=0, daily_yield_home_consumption=5771.1511533336, imported_home_consumption=3844755.523565479, disengageable_smarthome_power=0))
2024-01-16 04:04:13,733 - {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-16 04:04:13,734 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:04:13,735 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:04:13,737 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:04:13,738 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:04:13,739 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:04:13,740 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:04:13,740 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:04:13,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-16 04:04:13,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-16 04:04:13,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=1, keep_charge_active_duration=40)
2024-01-16 04:04:13,746 - {control.data:245} - {INFO:MainThread} - general_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-16 04:04:13,746 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:04:13,747 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:04:13,749 - {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 0x6f7ca508>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:04:13,750 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:04:13,751 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:04:13,752 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=0))
2024-01-16 04:04:13,753 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374241, 'time': '04:04:01', 'grid': 2.593, 'house-power': 2.545, 'charging-all': 0.0, 'pv-all': -0.048, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:04:13,754 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:04:13,755 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:04:13,756 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:04:13,757 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:04:13,759 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:04:13,760 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:04:13,760 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:04:13,761 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:04:13,763 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:04:13,765 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:04:13,768 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:04:13,770 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:04:13,770 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -100.0W
2024-01-16 04:04:13,771 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -100.0W
2024-01-16 04:04:13,772 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:04:13,773 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:04:13,774 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:04:13,778 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:04:13,781 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:04:13,798 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:04:14,213 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:04:14,216 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:04:15,220 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:04:15,222 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:04:20,234 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:04:20,234 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:04:20,276 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:04:20,277 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:04:20,278 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:04:20,285 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:04:20,288 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:04:20,329 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:04:20,332 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":239.9, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374258},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:04","unixtime":1705374260,"uptime":4733638,"ram_size":248948,"ram_free":144540,"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-16 04:04:20,335 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374250.5393872, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:04:20,336 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00272108, power1: 0, power2: 0
2024-01-16 04:04:20,336 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:04:20,337 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374260.3352575, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:04:20,339 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:04:20,374 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-32768, -32768, -32768, -32768], Scale -32768
2024-01-16 04:04:20,420 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-32768, -32768, -32768], Scale -32768
2024-01-16 04:04:20,461 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-32768, -32768, -32768, -32768, -32768, -32768, -32768], Scale -32768
2024-01-16 04:04:20,480 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-32768], Scale -32768
2024-01-16 04:04:20,501 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-32768, -32768, -32768], Scale -32768
2024-01-16 04:04:20,522 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0, 0, 0, 0, 0, 0, 0, 0], Scale 0
2024-01-16 04:04:20,523 - {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-16 04:04:20,524 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:04:20,541 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2024-01-16 04:04:20,560 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:04:20,580 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 32, 29], Scale -2
2024-01-16 04:04:20,599 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2024-01-16 04:04:20,600 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [0.27, 0.32, 0.29]
2024-01-16 04:04:20,600 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.32, 0.29], power=-0.0, exported=7896155.0, dc_power=-0.0)
2024-01-16 04:04:20,602 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:04:20,660 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374253.2046657, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:04:20,660 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00207092, power1: 0, power2: 0
2024-01-16 04:04:20,661 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:04:20,661 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374260.6599953, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:04:20,662 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:04:20,669 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:04:20,677 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:04:20,712 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:04:20,713 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:04:20,714 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:04:20,716 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=7934579.61, dc_power=None)
2024-01-16 04:04:20,717 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:04:20,718 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=7934579.61, dc_power=None)
2024-01-16 04:04:20,719 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:04:20,774 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:04:20,774 - {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-16 04:04:20,985 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:04:20,995 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:04:21,003 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [35.0, 35.1, 35.0]A
2024-01-16 04:04:21,008 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 24000.0W
2024-01-16 04:04:21,009 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:04:21,010 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:04:21,015 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:04:21,015 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:04:21.015556
2024-01-16 04:04:21,017 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 897.245314s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:04:21,019 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:04:21.018527
2024-01-16 04:04:21,020 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176723.329299s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:04:21,022 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:04:21.021432
2024-01-16 04:04:21,025 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8786.238823s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:04:21,026 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:04:21.026457
2024-01-16 04:04:21,027 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173092.017021s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:04:21,029 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:04:21,033 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:04:21,035 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:04:21,042 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374253.7154796, power=0.0, imported=3844755.523565479, exported=0)
2024-01-16 04:04:21,047 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00203503, power1: 0, power2: 0
2024-01-16 04:04:21,050 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 0
2024-01-16 04:04:21,053 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374261.041582, power=0.0, imported=3844755.523565479, exported=0)
2024-01-16 04:04:21,059 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:04:21,061 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:04:21,071 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:04:21,072 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[239.93, 238.75, 238.16]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1c4f40>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:04:21,075 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:04:21,078 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:04:21,079 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), 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=6037.0, imported=0.0, exported=0.0, fault_state=0, fault_str='Kein Fehler.', power=0.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=24000.0, raw_currents_left=[35.0, 35.1, 35.0], surplus_power_left=0, state_str=''))
2024-01-16 04:04:21,080 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=0.0, invalid_home_consumption=0, daily_yield_home_consumption=5771.1511533336, imported_home_consumption=3844755.523565479, disengageable_smarthome_power=0))
2024-01-16 04:04:21,083 - {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-16 04:04:21,090 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:04:21,091 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:04:21,093 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:04:21,093 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:04:21,095 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:04:21,097 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:04:21,099 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:04:21,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-16 04:04:21,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-16 04:04:21,100 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:04:21,101 - {control.data:245} - {INFO:MainThread} - general_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-16 04:04:21,101 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:04:21,102 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:04:21,102 - {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 0x6f7b5b80>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:04:21,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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:04:21,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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:04:21,103 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=0))
2024-01-16 04:04:21,104 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374253, 'time': '04:04:13', 'grid': 0.0, 'house-power': 0.0, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:04:21,104 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:04:21,104 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:04:21,105 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:04:21,105 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:04:21,106 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:04:21,107 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:04:21,108 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:04:21,108 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:04:21,110 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:04:21,112 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:04:21,115 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:04:21,118 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:04:21,118 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -100.0W
2024-01-16 04:04:21,119 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -100.0W
2024-01-16 04:04:21,119 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:04:21,119 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:04:21,120 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:04:21,122 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:04:21,124 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:04:21,140 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:04:21,374 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:04:25,395 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:04:25,396 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:04:30,410 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:04:30,410 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:04:30,453 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:04:30,454 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:04:30,461 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:04:30,463 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:04:30,464 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:04:30,513 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:04:30,515 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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.0, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374269},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:04","unixtime":1705374271,"uptime":4733648,"ram_size":249000,"ram_free":145116,"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-16 04:04:30,519 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374260.3352575, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:04:30,521 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2665, -1083, -776, -805], Scale 0
2024-01-16 04:04:30,522 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0028289, power1: 0, power2: 0
2024-01-16 04:04:30,525 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:04:30,526 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374270.519284, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:04:30,528 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:04:30,540 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [48, 38, 36], Scale -1
2024-01-16 04:04:30,560 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23786, 23962, 23843, 0, 0, 0, 0], Scale -2
2024-01-16 04:04:30,580 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:04:30,633 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9459, 8489, 9369], Scale -2
2024-01-16 04:04:30,691 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015919, 3302487, 2344326, 2924271], Scale 0
2024-01-16 04:04:30,692 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.800000000000001, 3.8000000000000003, 3.6], powers=[1083.0, 776.0, 805.0], voltages=[237.86, 239.62, 238.43], power_factors=[0.9459000000000001, 0.8489, 0.9369], imported=8015919.0, exported=4871567.0, power=2665.0, frequency=50.0)
2024-01-16 04:04:30,700 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:04:30,720 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2024-01-16 04:04:30,742 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:04:30,800 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 30], Scale -2
2024-01-16 04:04:30,822 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2024-01-16 04:04:30,822 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [0.28, 0.31, 0.3]
2024-01-16 04:04:30,823 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.3], power=-0.0, exported=7896155.0, dc_power=-0.0)
2024-01-16 04:04:30,835 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:04:30,891 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374260.6599953, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:04:30,891 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00284193, power1: 0, power2: 0
2024-01-16 04:04:30,892 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:04:30,892 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374270.8909607, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:04:30,897 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:04:30,913 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:04:30,914 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:04:30,963 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:04:30,965 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:04:30,966 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=7934579.61, dc_power=None)
2024-01-16 04:04:30,976 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=7934579.61, dc_power=None)
2024-01-16 04:04:30,974 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:04:30,980 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:04:30,982 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:04:31,054 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:04:31,055 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.800000000000001, 3.8000000000000003, 3.6], powers=[1083.0, 776.0, 805.0], voltages=[237.86, 239.62, 238.43], power_factors=[0.9459000000000001, 0.8489, 0.9369], imported=8015919.0, exported=4871567.0, power=2665.0, frequency=50.0)
2024-01-16 04:04:31,238 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:04:31,241 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:04:31,244 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.2, 31.3, 31.4]A
2024-01-16 04:04:31,245 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21335.0W
2024-01-16 04:04:31,246 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:04:31,248 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:04:31,249 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:04:31,251 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:04:31.250548
2024-01-16 04:04:31,252 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 887.010322s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:04:31,253 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:04:31.253292
2024-01-16 04:04:31,254 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176713.094534s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:04:31,256 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:04:31.256048
2024-01-16 04:04:31,257 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8796.473439s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:04:31,259 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:04:31.258667
2024-01-16 04:04:31,260 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173081.784811s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:04:31,261 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:04:31,266 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:04:31,268 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:04:31,289 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374261.041582, power=0.0, imported=3844755.523565479, exported=0)
2024-01-16 04:04:31,292 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00284662, power1: 0, power2: 2665
2024-01-16 04:04:31,295 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 3.79313
2024-01-16 04:04:31,298 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 3.79313 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374271.2894282, power=2665.0, imported=3844759.3166918578, exported=0)
2024-01-16 04:04:31,302 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:04:31,304 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:04:31,305 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:04:31,306 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.02, 238.84, 238.23]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1c4f28>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:04:31,307 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:04:31,308 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:04:31,310 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1083.0, 776.0, 805.0], currents=[4.8, 3.8, 3.6], voltages=[237.86, 239.62, 238.43], power_factors=[0.95, 0.85, 0.94], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6037.0, imported=8015919.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2665.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21335.0, raw_currents_left=[30.2, 31.3, 31.4], surplus_power_left=0, state_str=''))
2024-01-16 04:04:31,312 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2665.0, invalid_home_consumption=0, daily_yield_home_consumption=5771.1511533336, imported_home_consumption=3844759.3166918578, disengageable_smarthome_power=0))
2024-01-16 04:04:31,314 - {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-16 04:04:31,315 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:04:31,316 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:04:31,318 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:04:31,319 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:04:31,322 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:04:31,323 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:04:31,325 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:04:31,326 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-16 04:04:31,328 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-16 04:04:31,329 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:04:31,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-16 04:04:31,332 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:04:31,333 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:04:31,334 - {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 0x6c1d11a8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:04:31,335 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:04:31,337 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:04:31,339 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=0))
2024-01-16 04:04:31,340 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374261, 'time': '04:04:21', 'grid': 0.0, 'house-power': 0.0, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:04:31,341 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:04:31,343 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:04:31,345 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:04:31,346 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:04:31,347 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:04:31,348 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:04:31,348 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:04:31,349 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:04:31,351 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:04:31,353 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:04:31,356 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:04:31,358 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:04:31,359 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2765.0W
2024-01-16 04:04:31,361 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2765.0W
2024-01-16 04:04:31,362 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:04:31,363 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:04:31,364 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:04:31,367 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:04:31,372 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:04:31,396 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:04:31,694 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:04:31,695 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:04:35,715 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:04:40,729 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:04:40,730 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:04:40,770 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:04:40,771 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:04:40,772 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:04:40,778 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:04:40,782 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:04:40,825 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:04:40,827 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":239.2, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374279},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:04","unixtime":1705374281,"uptime":4733659,"ram_size":249000,"ram_free":145116,"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-16 04:04:40,829 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374270.519284, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:04:40,830 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00286396, power1: 0, power2: 0
2024-01-16 04:04:40,831 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:04:40,832 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374280.8295364, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:04:40,836 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:04:40,837 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2781, -1075, -907, -798], Scale 0
2024-01-16 04:04:40,972 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [48, 38, 35], Scale -1
2024-01-16 04:04:40,991 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23788, 23967, 23850, 0, 0, 0, 0], Scale -2
2024-01-16 04:04:41,010 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:04:41,031 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9440, 8450, 9350], Scale -2
2024-01-16 04:04:41,102 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015931, 3302491, 2344328, 2924274], Scale 0
2024-01-16 04:04:41,103 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.800000000000001, 3.8000000000000003, 3.5], powers=[1075.0, 907.0, 798.0], voltages=[237.88, 239.67000000000002, 238.5], power_factors=[0.9440000000000001, 0.845, 0.935], imported=8015931.0, exported=4871567.0, power=2781.0, frequency=50.0)
2024-01-16 04:04:41,113 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:04:41,161 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2024-01-16 04:04:41,180 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:04:41,200 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 31], Scale -2
2024-01-16 04:04:41,220 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [0], Scale 0
2024-01-16 04:04:41,221 - {modules.common.component_state:105} - {DEBUG:device0} - currents sign wrong [0.28, 0.31, 0.31]
2024-01-16 04:04:41,222 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.31], power=-0.0, exported=7896155.0, dc_power=-0.0)
2024-01-16 04:04:41,226 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:04:41,312 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374270.8909607, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:04:41,313 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00289486, power1: 0, power2: 0
2024-01-16 04:04:41,313 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:04:41,314 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374281.3124695, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:04:41,316 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:04:41,324 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:04:41,325 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:04:41,374 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:04:41,375 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:04:41,375 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:04:41,377 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=7934579.61, dc_power=None)
2024-01-16 04:04:41,379 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:04:41,380 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=7934579.61, dc_power=None)
2024-01-16 04:04:41,384 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:04:41,450 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:04:41,451 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.800000000000001, 3.8000000000000003, 3.5], powers=[1075.0, 907.0, 798.0], voltages=[237.88, 239.67000000000002, 238.5], power_factors=[0.9440000000000001, 0.845, 0.935], imported=8015931.0, exported=4871567.0, power=2781.0, frequency=50.0)
2024-01-16 04:04:41,642 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:04:41,647 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:04:41,658 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.2, 31.3, 31.5]A
2024-01-16 04:04:41,660 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21219.0W
2024-01-16 04:04:41,663 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:04:41,672 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:04:41,675 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:04:41,677 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:04:41.677204
2024-01-16 04:04:41,678 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 876.583666s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:04:41,680 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:04:41.680216
2024-01-16 04:04:41,682 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176702.66761s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:04:41,685 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:04:41.684787
2024-01-16 04:04:41,687 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8806.902178s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:04:41,690 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:04:41.689750
2024-01-16 04:04:41,692 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173071.353728s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:04:41,693 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:04:41,714 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:04:41,724 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:04:41,743 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374271.2894282, power=2665.0, imported=3844759.3166918578, exported=0)
2024-01-16 04:04:41,748 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00290387, power1: 2665, power2: 2781
2024-01-16 04:04:41,750 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.90724
2024-01-16 04:04:41,751 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.90724 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374281.7433655, power=2781.0, imported=3844767.2239338704, exported=0)
2024-01-16 04:04:41,755 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:04:41,758 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:04:41,760 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:04:41,762 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[238.53, 239.01, 238.16]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1c4118>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:04:41,766 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:04:41,767 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:04:41,772 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1075.0, 907.0, 798.0], currents=[4.8, 3.8, 3.5], voltages=[237.88, 239.67, 238.5], power_factors=[0.94, 0.84, 0.94], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6037.0, imported=8015931.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2781.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21219.0, raw_currents_left=[30.2, 31.3, 31.5], surplus_power_left=0, state_str=''))
2024-01-16 04:04:41,773 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2781.0, invalid_home_consumption=0, daily_yield_home_consumption=5771.1511533336, imported_home_consumption=3844767.2239338704, disengageable_smarthome_power=0))
2024-01-16 04:04:41,775 - {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-16 04:04:41,777 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:04:41,778 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:04:41,780 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:04:41,780 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:04:41,786 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:04:41,787 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:04:41,789 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:04:41,790 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:04:41,792 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:04:41,793 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:04:41,796 - {control.data:245} - {INFO:MainThread} - general_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-16 04:04:41,798 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:04:41,799 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:04:41,802 - {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 0x6c1eb2f8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:04:41,804 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:04:41,805 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:04:41,806 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=0))
2024-01-16 04:04:41,808 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374271, 'time': '04:04:31', 'grid': 2.665, 'house-power': 2.665, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:04:41,808 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:04:41,810 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:04:41,810 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:04:41,812 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:04:41,813 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:04:41,814 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:04:41,815 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:04:41,815 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:04:41,816 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:04:41,818 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:04:41,820 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:04:41,822 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:04:41,822 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2881.0W
2024-01-16 04:04:41,823 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2881.0W
2024-01-16 04:04:41,823 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:04:41,824 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:04:41,824 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:04:41,841 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:04:41,852 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:04:41,885 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:04:42,296 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:04:42,299 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:04:45,311 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:04:45,312 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:04:50,323 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:04:50,324 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:04:50,360 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:04:50,361 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:04:50,368 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:04:50,373 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:04:50,375 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:04:50,421 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:04:50,424 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":238.5, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374289},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:04","unixtime":1705374290,"uptime":4733668,"ram_size":249000,"ram_free":145116,"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-16 04:04:50,425 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374280.8295364, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:04:50,426 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00266563, power1: 0, power2: 0
2024-01-16 04:04:50,427 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:04:50,427 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374290.4258149, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:04:50,428 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:04:50,450 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4492, -1079, -2615, -797], Scale 0
2024-01-16 04:04:50,470 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [48, 113, 35], Scale -1
2024-01-16 04:04:50,540 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23796, 23847, 23875, 0, 0, 0, 0], Scale -2
2024-01-16 04:04:50,559 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:04:50,583 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9440, 9829, 9409], Scale -2
2024-01-16 04:04:50,622 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015938, 3302493, 2344331, 2924276], Scale 0
2024-01-16 04:04:50,623 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.800000000000001, 11.3, 3.5], powers=[1079.0, 2615.0, 797.0], voltages=[237.96, 238.47, 238.75], power_factors=[0.9440000000000001, 0.9829000000000001, 0.9409000000000001], imported=8015938.0, exported=4871567.0, power=4492.0, frequency=50.0)
2024-01-16 04:04:50,624 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:04:50,740 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5740], Scale -2
2024-01-16 04:04:50,820 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:04:50,850 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 30], Scale -2
2024-01-16 04:04:50,891 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6053], Scale -2
2024-01-16 04:04:50,891 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.3], power=57.4, exported=7896155.0, dc_power=60.53)
2024-01-16 04:04:50,896 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:04:51,000 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374281.3124695, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:04:51,001 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00269116, power1: 0, power2: 0
2024-01-16 04:04:51,002 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:04:51,003 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374291.000645, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:04:51,007 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:04:51,016 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:04:51,019 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:04:51,082 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:04:51,086 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:04:51,088 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=57.4, exported=7934579.61, dc_power=None)
2024-01-16 04:04:51,089 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:04:51,099 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:04:51,091 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=57.4, exported=7934579.61, dc_power=None)
2024-01-16 04:04:51,100 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:04:51,169 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:04:51,170 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.800000000000001, 11.3, 3.5], powers=[1079.0, 2615.0, 797.0], voltages=[237.96, 238.47, 238.75], power_factors=[0.9440000000000001, 0.9829000000000001, 0.9409000000000001], imported=8015938.0, exported=4871567.0, power=4492.0, frequency=50.0)
2024-01-16 04:04:51,329 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:04:51,332 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:04:51,334 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.2, 23.799999999999997, 31.5]A
2024-01-16 04:04:51,335 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 19508.0W
2024-01-16 04:04:51,336 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:04:51,338 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:04:51,338 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:04:51,340 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:04:51.339585
2024-01-16 04:04:51,340 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 866.921285s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:04:51,341 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:04:51.341424
2024-01-16 04:04:51,342 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176693.006402s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:04:51,343 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:04:51.342894
2024-01-16 04:04:51,343 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8816.560285s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:04:51,344 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:04:51.344051
2024-01-16 04:04:51,344 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173061.699427s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:04:51,345 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:04:51,348 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:04:51,348 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:04:51,352 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374281.7433655, power=2781.0, imported=3844767.2239338704, exported=0)
2024-01-16 04:04:51,353 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00266903, power1: 2781, power2: 4434.6
2024-01-16 04:04:51,354 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 9.62933
2024-01-16 04:04:51,354 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 9.62933 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374291.3518739, power=4434.6, imported=3844776.8532606536, exported=0)
2024-01-16 04:04:51,356 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:04:51,357 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:04:51,357 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:04:51,359 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[238.53, 239.13, 238.78]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1ef910>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:04:51,359 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:04:51,359 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:04:51,360 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1079.0, 2615.0, 797.0], currents=[4.8, 11.3, 3.5], voltages=[237.96, 238.47, 238.75], power_factors=[0.94, 0.98, 0.94], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6037.0, imported=8015938.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=4492.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=19508.0, raw_currents_left=[30.2, 23.799999999999997, 31.5], surplus_power_left=0, state_str=''))
2024-01-16 04:04:51,361 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=4434.6, invalid_home_consumption=0, daily_yield_home_consumption=5771.1511533336, imported_home_consumption=3844776.8532606536, disengageable_smarthome_power=0))
2024-01-16 04:04:51,361 - {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-16 04:04:51,362 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:04:51,362 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:04:51,363 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:04:51,363 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:04:51,364 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:04:51,364 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:04:51,364 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:04:51,365 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-16 04:04: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-16 04:04:51,366 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:04:51,366 - {control.data:245} - {INFO:MainThread} - general_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-16 04:04:51,367 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:04:51,367 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:04:51,367 - {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 0x6c1cf8e0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:04:51,368 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:04:51,368 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=57.4))
2024-01-16 04:04:51,369 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=57.4))
2024-01-16 04:04:51,369 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374281, 'time': '04:04:41', 'grid': 2.781, 'house-power': 2.781, 'charging-all': 0.0, 'pv-all': -0.0, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:04:51,369 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:04:51,370 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:04:51,370 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:04:51,371 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:04:51,371 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:04:51,371 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:04:51,372 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:04:51,372 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:04:51,373 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:04:51,375 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:04:51,378 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:04:51,381 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:04:51,383 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -4592.0W
2024-01-16 04:04:51,385 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -4592.0W
2024-01-16 04:04:51,387 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:04:51,399 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:04:51,400 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:04:51,404 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:04:51,411 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:04:51,432 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:04:51,707 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:04:55,766 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:04:55,767 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:05:00,780 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:05:00,781 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:05:00,819 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:05:00,821 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:05:00,825 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:05:00,832 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:05:00,881 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:05:00,884 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":239.0, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374299},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:05","unixtime":1705374301,"uptime":4733679,"ram_size":248948,"ram_free":144540,"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-16 04:05:00,886 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374290.4258149, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:05:00,887 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00290562, power1: 0, power2: 0
2024-01-16 04:05:00,887 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:05:00,887 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374300.8860562, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:05:00,898 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:05:00,902 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:05:00,977 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-3408, -1071, -1545, -791], Scale 0
2024-01-16 04:05:01,015 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 117, 35], Scale -1
2024-01-16 04:05:01,061 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23816, 23795, 23858, 0, 0, 0, 0], Scale -2
2024-01-16 04:05:01,082 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:05:01,102 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9440, 9589, 9440], Scale -2
2024-01-16 04:05:01,161 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015948, 3302495, 2344337, 2924277], Scale 0
2024-01-16 04:05:01,162 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 11.700000000000001, 3.5], powers=[1071.0, 1545.0, 791.0], voltages=[238.16, 237.95000000000002, 238.58], power_factors=[0.9440000000000001, 0.9589, 0.9440000000000001], imported=8015948.0, exported=4871567.0, power=3408.0, frequency=50.0)
2024-01-16 04:05:01,164 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:05:01,180 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5895], Scale -2
2024-01-16 04:05:01,200 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:05:01,311 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 30], Scale -2
2024-01-16 04:05:01,331 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5984], Scale -2
2024-01-16 04:05:01,331 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.3], power=58.95, exported=7896155.0, dc_power=59.84)
2024-01-16 04:05:01,333 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:05:01,371 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374291.000645, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:05:01,372 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00288088, power1: 0, power2: 0
2024-01-16 04:05:01,373 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:05:01,373 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374301.3718016, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:05:01,374 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:05:01,391 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:05:01,394 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:05:01,442 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:05:01,452 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:05:01,453 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:05:01,453 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=58.95, exported=7934579.61, dc_power=None)
2024-01-16 04:05:01,455 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:05:01,455 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=58.95, exported=7934579.61, dc_power=None)
2024-01-16 04:05:01,457 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:05:01,526 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:05:01,527 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 11.700000000000001, 3.5], powers=[1071.0, 1545.0, 791.0], voltages=[238.16, 237.95000000000002, 238.58], power_factors=[0.9440000000000001, 0.9589, 0.9440000000000001], imported=8015948.0, exported=4871567.0, power=3408.0, frequency=50.0)
2024-01-16 04:05:01,736 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:05:01,738 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:05:01,742 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 23.4, 31.5]A
2024-01-16 04:05:01,743 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 20592.0W
2024-01-16 04:05:01,745 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:05:01,747 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:05:01,749 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:05:01,750 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:05:01.750212
2024-01-16 04:05:01,751 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 856.510658s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:05:01,752 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:05:01.752396
2024-01-16 04:05:01,754 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176682.59543s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:05:01,755 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:05:01.755219
2024-01-16 04:05:01,757 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8826.97261s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:05:01,759 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:05:01.758588
2024-01-16 04:05:01,760 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173051.28489s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:05:01,761 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:05:01,765 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:05:01,767 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:05:01,780 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374291.3518739, power=4434.6, imported=3844776.8532606536, exported=0)
2024-01-16 04:05:01,789 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0028967, power1: 4434.6, power2: 3349.05
2024-01-16 04:05:01,790 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 11.2735
2024-01-16 04:05:01,791 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 11.2735 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374301.7800105, power=3349.05, imported=3844788.126728063, exported=0)
2024-01-16 04:05:01,800 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:05:01,802 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:05:01,803 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:05:01,805 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[238.62, 238.92, 238.65]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1fa4c0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:05:01,806 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:05:01,808 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:05:01,810 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1071.0, 1545.0, 791.0], currents=[4.7, 11.7, 3.5], voltages=[238.16, 237.95, 238.58], power_factors=[0.94, 0.96, 0.94], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6037.0, imported=8015948.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=3408.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=20592.0, raw_currents_left=[30.3, 23.4, 31.5], surplus_power_left=0, state_str=''))
2024-01-16 04:05:01,811 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=3349.05, invalid_home_consumption=0, daily_yield_home_consumption=5771.1511533336, imported_home_consumption=3844788.126728063, disengageable_smarthome_power=0))
2024-01-16 04:05:01,813 - {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-16 04:05:01,814 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:05:01,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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:05:01,819 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:05:01,820 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:05:01,822 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:05:01,824 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:05:01,826 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:05:01,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-16 04:05:01,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-16 04:05:01,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=1, keep_charge_active_duration=40)
2024-01-16 04:05:01,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-16 04:05:01,833 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:05:01,834 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:05:01,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 0x6c1ebb50>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:05:01,837 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:05:01,840 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=58.95))
2024-01-16 04:05:01,840 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=58.95))
2024-01-16 04:05:01,842 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374291, 'time': '04:04:51', 'grid': 4.492, 'house-power': 4.435, 'charging-all': 0.0, 'pv-all': -0.057, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:05:01,843 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:05:01,844 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:05:01,845 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:05:01,847 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:05:01,849 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:05:01,850 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:05:01,851 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:05:01,853 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:05:01,855 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:05:01,858 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:05:01,860 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:05:01,863 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:05:01,864 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -3508.0W
2024-01-16 04:05:01,866 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -3508.0W
2024-01-16 04:05:01,867 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:05:01,868 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:05:01,869 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:05:01,873 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:05:01,875 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:05:01,898 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:05:02,300 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:05:02,301 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:05:02,302 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2024-01-16 04:05:02,336 - {root:107} - {DEBUG:MainThread} - 5 Minuten Handler ausführen.
2024-01-16 04:05:02,416 - {helpermodules.system:74} - {INFO:MainThread} - my IP: 192.168.1.31
2024-01-16 04:05:02,417 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2024-01-16 04:05:05,794 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:05:05,795 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:05:10,808 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:05:10,808 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:05:10,846 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:05:10,852 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:05:10,854 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:05:10,859 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:05:10,861 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:05:10,905 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:05:10,910 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":239.0, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374309},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:05","unixtime":1705374311,"uptime":4733689,"ram_size":248936,"ram_free":144412,"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-16 04:05:10,918 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374300.8860562, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:05:10,920 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00278683, power1: 0, power2: 0
2024-01-16 04:05:10,922 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:05:10,923 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374310.918653, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:05:10,928 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:05:10,991 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-3878, -1071, -2012, -794], Scale 0
2024-01-16 04:05:11,010 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 79, 35], Scale -1
2024-01-16 04:05:11,030 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23815, 23846, 23835, 0, 0, 0, 0], Scale -2
2024-01-16 04:05:11,091 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:05:11,164 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9449, 9419, 9419], Scale -2
2024-01-16 04:05:11,201 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015957, 3302498, 2344342, 2924279], Scale 0
2024-01-16 04:05:11,202 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 7.9, 3.5], powers=[1071.0, 2012.0, 794.0], voltages=[238.15, 238.46, 238.35], power_factors=[0.9449, 0.9419, 0.9419], imported=8015957.0, exported=4871567.0, power=3878.0, frequency=50.0)
2024-01-16 04:05:11,203 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:05:11,221 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6430], Scale -2
2024-01-16 04:05:11,240 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:05:11,473 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 32], Scale -2
2024-01-16 04:05:11,592 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-6528], Scale -2
2024-01-16 04:05:11,592 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.32], power=64.3, exported=7896155.0, dc_power=65.28)
2024-01-16 04:05:11,593 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:05:11,690 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374301.3718016, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:05:11,692 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00286638, power1: 0, power2: 0
2024-01-16 04:05:11,692 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:05:11,693 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374311.6907723, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:05:11,695 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:05:11,704 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:05:11,706 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:05:11,784 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:05:11,786 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:05:11,788 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:05:11,792 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=64.3, exported=7934579.61, dc_power=None)
2024-01-16 04:05:11,802 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:05:11,802 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=64.3, exported=7934579.61, dc_power=None)
2024-01-16 04:05:11,803 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:05:11,859 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:05:11,860 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 7.9, 3.5], powers=[1071.0, 2012.0, 794.0], voltages=[238.15, 238.46, 238.35], power_factors=[0.9449, 0.9419, 0.9419], imported=8015957.0, exported=4871567.0, power=3878.0, frequency=50.0)
2024-01-16 04:05:12,063 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:05:12,067 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:05:12,072 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 27.2, 31.5]A
2024-01-16 04:05:12,073 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 20122.0W
2024-01-16 04:05:12,075 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:05:12,077 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:05:12,078 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:05:12,080 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:05:12.079865
2024-01-16 04:05:12,087 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 846.181005s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:05:12,092 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:05:12.092002
2024-01-16 04:05:12,094 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176672.255824s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:05:12,097 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:05:12.097514
2024-01-16 04:05:12,101 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8837.314905s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:05:12,103 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:05:12.102769
2024-01-16 04:05:12,104 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173040.940709s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:05:12,105 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:05:12,111 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:05:12,113 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:05:12,125 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374301.7800105, power=3349.05, imported=3844788.126728063, exported=0)
2024-01-16 04:05:12,127 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00287384, power1: 3349.05, power2: 3813.7
2024-01-16 04:05:12,128 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 10.2923
2024-01-16 04:05:12,130 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 10.2923 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374312.1258485, power=3813.7, imported=3844798.4190407903, exported=0)
2024-01-16 04:05:12,132 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:05:12,133 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:05:12,136 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:05:12,139 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[239.03, 239.05, 238.72]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1e3d60>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:05:12,140 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:05:12,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=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:05:12,143 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1071.0, 2012.0, 794.0], currents=[4.7, 7.9, 3.5], voltages=[238.15, 238.46, 238.35], power_factors=[0.94, 0.94, 0.94], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6155.0, imported=8015957.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=3878.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=20122.0, raw_currents_left=[30.3, 27.2, 31.5], surplus_power_left=0, state_str=''))
2024-01-16 04:05:12,144 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=3813.7, invalid_home_consumption=0, daily_yield_home_consumption=5867.998512481, imported_home_consumption=3844798.4190407903, disengageable_smarthome_power=0))
2024-01-16 04:05:12,146 - {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-16 04:05:12,148 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:05:12,154 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:05:12,157 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:05:12,159 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:05:12,164 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:05:12,170 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:05:12,172 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:05:12,174 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:05:12,176 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:05:12,178 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:05:12,179 - {control.data:245} - {INFO:MainThread} - general_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-16 04:05:12,181 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:05:12,183 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:05:12,184 - {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 0x6c1e12c8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:05:12,186 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:05:12,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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=64.3))
2024-01-16 04:05:12,190 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=64.3))
2024-01-16 04:05:12,191 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374301, 'time': '04:05:01', 'grid': 3.408, 'house-power': 3.349, 'charging-all': 0.0, 'pv-all': -0.059, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:05:12,192 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:05:12,194 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:05:12,195 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:05:12,196 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:05:12,199 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:05:12,201 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:05:12,201 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:05:12,202 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:05:12,203 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:05:12,206 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:05:12,211 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:05:12,215 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:05:12,216 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -3978.0W
2024-01-16 04:05:12,217 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -3978.0W
2024-01-16 04:05:12,219 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:05:12,221 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:05:12,222 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:05:12,229 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:05:12,233 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:05:12,260 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:05:12,583 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:05:15,619 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:05:15,620 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:05:20,633 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:05:20,634 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:05:20,684 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:05:20,687 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:05:20,693 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:05:20,695 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:05:20,696 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:05:20,742 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:05:20,744 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":239.0, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374319},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:05","unixtime":1705374321,"uptime":4733699,"ram_size":248936,"ram_free":144408,"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":-72},"ws":{"connected":false}}

2024-01-16 04:05:20,749 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374310.918653, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:05:20,750 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00273066, power1: 0, power2: 0
2024-01-16 04:05:20,750 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:05:20,751 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374320.749039, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:05:20,758 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:05:20,830 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-3638, -1060, -1794, -784], Scale 0
2024-01-16 04:05:20,850 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 87, 35], Scale -1
2024-01-16 04:05:20,871 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23836, 23860, 23868, 0, 0, 0, 0], Scale -2
2024-01-16 04:05:20,890 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:05:20,910 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9419, 9639, 9369], Scale -2
2024-01-16 04:05:20,931 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015973, 3302503, 2344349, 2924283], Scale 0
2024-01-16 04:05:20,932 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 8.700000000000001, 3.5], powers=[1060.0, 1794.0, 784.0], voltages=[238.36, 238.6, 238.68], power_factors=[0.9419, 0.9639, 0.9369], imported=8015973.0, exported=4871567.0, power=3638.0, frequency=50.0)
2024-01-16 04:05:20,933 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:05:20,985 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4937], Scale -2
2024-01-16 04:05:21,021 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:05:21,061 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 30], Scale -2
2024-01-16 04:05:21,202 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5158], Scale -2
2024-01-16 04:05:21,202 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.3], power=49.370000000000005, exported=7896155.0, dc_power=51.58)
2024-01-16 04:05:21,204 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:05:21,281 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374311.6907723, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:05:21,282 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00266398, power1: 0, power2: 0
2024-01-16 04:05:21,282 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:05:21,282 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374321.2811167, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:05:21,284 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:05:21,290 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:05:21,293 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:05:21,350 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:05:21,352 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:05:21,353 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=49.370000000000005, exported=7934579.61, dc_power=None)
2024-01-16 04:05:21,355 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=49.370000000000005, exported=7934579.61, dc_power=None)
2024-01-16 04:05:21,358 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:05:21,362 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:05:21,363 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:05:21,426 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:05:21,427 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 8.700000000000001, 3.5], powers=[1060.0, 1794.0, 784.0], voltages=[238.36, 238.6, 238.68], power_factors=[0.9419, 0.9639, 0.9369], imported=8015973.0, exported=4871567.0, power=3638.0, frequency=50.0)
2024-01-16 04:05:21,615 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:05:21,621 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:05:21,624 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 26.4, 31.5]A
2024-01-16 04:05:21,628 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 20362.0W
2024-01-16 04:05:21,633 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:05:21,639 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:05:21,642 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:05:21,649 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:05:21.648961
2024-01-16 04:05:21,653 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 836.611909s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:05:21,657 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:05:21.656674
2024-01-16 04:05:21,658 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176662.691152s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:05:21,663 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:05:21.662689
2024-01-16 04:05:21,664 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8846.88008s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:05:21,666 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:05:21.665900
2024-01-16 04:05:21,667 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173031.377578s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:05:21,668 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:05:21,690 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:05:21,700 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:05:21,714 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374312.1258485, power=3813.7, imported=3844798.4190407903, exported=0)
2024-01-16 04:05:21,716 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0026636, power1: 3813.7, power2: 3588.63
2024-01-16 04:05:21,717 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 9.85841
2024-01-16 04:05:21,719 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 9.85841 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374321.7148, power=3588.63, imported=3844808.2774549904, exported=0)
2024-01-16 04:05:21,725 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:05:21,727 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:05:21,729 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:05:21,731 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[239.06, 239.2, 238.87]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1e3058>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:05:21,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-16 04:05:21,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=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:05:21,737 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1060.0, 1794.0, 784.0], currents=[4.7, 8.7, 3.5], voltages=[238.36, 238.6, 238.68], power_factors=[0.94, 0.96, 0.94], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6155.0, imported=8015973.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=3638.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=20362.0, raw_currents_left=[30.3, 26.4, 31.5], surplus_power_left=0, state_str=''))
2024-01-16 04:05:21,739 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=3588.63, invalid_home_consumption=0, daily_yield_home_consumption=5867.998512481, imported_home_consumption=3844808.2774549904, disengageable_smarthome_power=0))
2024-01-16 04:05:21,742 - {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-16 04:05:21,744 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:05:21,745 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:05:21,747 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:05:21,749 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:05:21,751 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705359930.68317, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:05:21,752 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:05:21,754 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:05:21,755 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:05:21,757 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:05:21,761 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:05:21,763 - {control.data:245} - {INFO:MainThread} - general_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-16 04:05:21,764 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:05:21,765 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:05:21,767 - {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 0x6c1e7c40>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:05:21,771 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:05:21,772 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=49.37))
2024-01-16 04:05:21,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=8233395.285, power=49.37))
2024-01-16 04:05:21,776 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374312, 'time': '04:05:12', 'grid': 3.878, 'house-power': 3.814, 'charging-all': 0.0, 'pv-all': -0.064, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:05:21,777 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:05:21,779 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:05:21,780 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:05:21,782 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:05:21,783 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:05:21,785 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:05:21,786 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:05:21,788 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:05:21,790 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:05:21,794 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:05:21,798 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:05:21,801 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:05:21,803 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -3738.0W
2024-01-16 04:05:21,806 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -3738.0W
2024-01-16 04:05:21,808 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:05:21,809 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:05:21,810 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:05:21,814 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:05:21,829 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:05:21,863 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:05:22,189 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:05:22,190 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:05:25,206 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:05:25,207 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:05:30,226 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:05:30,228 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:05:30,292 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:05:30,297 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:05:30,300 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:05:30,311 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:05:30,324 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:05:30,370 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2618, -1055, -787, -774], Scale 0
2024-01-16 04:05:30,376 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:05:30,378 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":239.8, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374329},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:05","unixtime":1705374330,"uptime":4733708,"ram_size":249000,"ram_free":145116,"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-16 04:05:30,381 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374320.749039, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:05:30,383 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00267579, power1: 0, power2: 0
2024-01-16 04:05:30,383 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:05:30,384 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374330.3818784, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:05:30,387 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:05:30,393 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 40, 34], Scale -1
2024-01-16 04:05:30,530 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23838, 23942, 23850, 0, 0, 0, 0], Scale -2
2024-01-16 04:05:30,579 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:05:30,600 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9419, 8259, 9319], Scale -2
2024-01-16 04:05:30,621 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015979, 3302505, 2344352, 2924284], Scale 0
2024-01-16 04:05:30,621 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 4.0, 3.4000000000000004], powers=[1055.0, 787.0, 774.0], voltages=[238.38, 239.42000000000002, 238.5], power_factors=[0.9419, 0.8259000000000001, 0.9319], imported=8015979.0, exported=4871567.0, power=2618.0, frequency=50.0)
2024-01-16 04:05:30,623 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:05:30,639 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4612], Scale -2
2024-01-16 04:05:30,660 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:05:30,679 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 29], Scale -2
2024-01-16 04:05:30,740 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4683], Scale -2
2024-01-16 04:05:30,741 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.29], power=46.12, exported=7896155.0, dc_power=46.83)
2024-01-16 04:05:30,742 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:05:30,784 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374321.2811167, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:05:30,785 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00263981, power1: 0, power2: 0
2024-01-16 04:05:30,785 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:05:30,785 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374330.7844353, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:05:30,786 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:05:30,792 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:05:30,794 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:05:30,839 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:05:30,840 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:05:30,841 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.12, exported=7934579.61, dc_power=None)
2024-01-16 04:05:30,842 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:05:30,843 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.12, exported=7934579.61, dc_power=None)
2024-01-16 04:05:30,847 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:05:30,857 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:05:30,905 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:05:30,906 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 4.0, 3.4000000000000004], powers=[1055.0, 787.0, 774.0], voltages=[238.38, 239.42000000000002, 238.5], power_factors=[0.9419, 0.8259000000000001, 0.9319], imported=8015979.0, exported=4871567.0, power=2618.0, frequency=50.0)
2024-01-16 04:05:31,087 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:05:31,090 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:05:31,092 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 31.1, 31.6]A
2024-01-16 04:05:31,094 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21382.0W
2024-01-16 04:05:31,096 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:05:31,098 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:05:31,100 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:05:31,101 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:05:31.101327
2024-01-16 04:05:31,107 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 827.159543s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:05:31,111 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:05:31.110427
2024-01-16 04:05:31,112 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176653.237399s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:05:31,116 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:05:31.116166
2024-01-16 04:05:31,121 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8856.333557s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:05:31,126 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:05:31.125999
2024-01-16 04:05:31,129 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173021.917479s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:05:31,131 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:05:31,143 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:05:31,146 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:05:31,163 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374321.7148, power=3588.63, imported=3844808.2774549904, exported=0)
2024-01-16 04:05:31,165 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00262464, power1: 3588.63, power2: 2571.88
2024-01-16 04:05:31,166 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 8.08456
2024-01-16 04:05:31,167 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 8.08456 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374331.1635017, power=2571.88, imported=3844816.3620136413, exported=0)
2024-01-16 04:05:31,170 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:05:31,171 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:05:31,172 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:05:31,178 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[239.85, 239.08, 238.86]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1e3b98>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:05:31,179 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:05:31,180 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:05:31,181 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1055.0, 787.0, 774.0], currents=[4.7, 4.0, 3.4], voltages=[238.38, 239.42, 238.5], power_factors=[0.94, 0.83, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6155.0, imported=8015979.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2618.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21382.0, raw_currents_left=[30.3, 31.1, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:05:31,184 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2571.88, invalid_home_consumption=0, daily_yield_home_consumption=5867.998512481, imported_home_consumption=3844816.3620136413, disengageable_smarthome_power=0))
2024-01-16 04:05:31,186 - {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-16 04:05:31,188 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:05:31,193 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:05:31,198 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:05:31,202 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:05:31,204 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.84, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:05:31,205 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:05:31,205 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:05:31,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-16 04:05:31,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-16 04:05:31,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=1, keep_charge_active_duration=40)
2024-01-16 04:05:31,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-16 04:05:31,211 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:05:31,213 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:05:31,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 0x6c1c2fd0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:05:31,216 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:05:31,217 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=46.12))
2024-01-16 04:05:31,218 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=46.12))
2024-01-16 04:05:31,219 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374321, 'time': '04:05:21', 'grid': 3.638, 'house-power': 3.589, 'charging-all': 0.0, 'pv-all': -0.049, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:05:31,221 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:05:31,222 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:05:31,224 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:05:31,224 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:05:31,226 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:05:31,227 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:05:31,228 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:05:31,229 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:05:31,229 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:05:31,233 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:05:31,235 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:05:31,238 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:05:31,243 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2718.0W
2024-01-16 04:05:31,244 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2718.0W
2024-01-16 04:05:31,245 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:05:31,245 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:05:31,246 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:05:31,249 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:05:31,252 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:05:31,286 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:05:31,518 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:05:35,536 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:05:35,537 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:05:40,549 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:05:40,550 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:05:40,595 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:05:40,596 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:05:40,604 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:05:40,604 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:05:40,625 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:05:40,651 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:05:40,654 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":239.8, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374339},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:05","unixtime":1705374341,"uptime":4733719,"ram_size":249000,"ram_free":145116,"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":-72},"ws":{"connected":false}}

2024-01-16 04:05:40,665 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374330.3818784, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:05:40,665 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00285639, power1: 0, power2: 0
2024-01-16 04:05:40,666 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:05:40,667 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374340.664892, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:05:40,669 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:05:40,680 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2560, -1053, -735, -771], Scale 0
2024-01-16 04:05:40,791 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [46, 36, 34], Scale -1
2024-01-16 04:05:40,810 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23829, 23935, 23850, 0, 0, 0, 0], Scale -2
2024-01-16 04:05:40,830 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:05:40,850 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9399, 8320, 9309], Scale -2
2024-01-16 04:05:40,941 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015985, 3302508, 2344354, 2924287], Scale 0
2024-01-16 04:05:40,942 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.6000000000000005, 3.6, 3.4000000000000004], powers=[1053.0, 735.0, 771.0], voltages=[238.29, 239.35, 238.5], power_factors=[0.9399, 0.8320000000000001, 0.9309000000000001], imported=8015985.0, exported=4871567.0, power=2560.0, frequency=50.0)
2024-01-16 04:05:40,943 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:05:41,000 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4930], Scale -2
2024-01-16 04:05:41,020 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:05:41,040 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 30], Scale -2
2024-01-16 04:05:41,174 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5005], Scale -2
2024-01-16 04:05:41,175 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.3], power=49.300000000000004, exported=7896155.0, dc_power=50.050000000000004)
2024-01-16 04:05:41,177 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:05:41,262 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374330.7844353, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:05:41,262 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00291044, power1: 0, power2: 0
2024-01-16 04:05:41,263 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:05:41,263 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374341.2620127, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:05:41,264 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:05:41,287 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:05:41,290 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:05:41,337 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:05:41,347 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:05:41,348 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=49.300000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:05:41,351 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:05:41,360 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=49.300000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:05:41,360 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:05:41,363 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:05:41,418 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:05:41,419 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.6000000000000005, 3.6, 3.4000000000000004], powers=[1053.0, 735.0, 771.0], voltages=[238.29, 239.35, 238.5], power_factors=[0.9399, 0.8320000000000001, 0.9309000000000001], imported=8015985.0, exported=4871567.0, power=2560.0, frequency=50.0)
2024-01-16 04:05:41,599 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:05:41,600 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:05:41,604 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.4, 31.5, 31.6]A
2024-01-16 04:05:41,605 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21440.0W
2024-01-16 04:05:41,606 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:05:41,609 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:05:41,611 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:05:41,613 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:05:41.613352
2024-01-16 04:05:41,615 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 816.647518s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:05:41,616 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:05:41.616512
2024-01-16 04:05:41,618 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176642.731314s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:05:41,620 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:05:41.619955
2024-01-16 04:05:41,621 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8866.837346s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:05:41,623 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:05:41.622705
2024-01-16 04:05:41,624 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173011.420773s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:05:41,626 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:05:41,630 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:05:41,632 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:05:41,645 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374331.1635017, power=2571.88, imported=3844816.3620136413, exported=0)
2024-01-16 04:05:41,655 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00291166, power1: 2571.88, power2: 2510.7
2024-01-16 04:05:41,655 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.39936
2024-01-16 04:05:41,656 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.39936 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374341.645462, power=2510.7, imported=3844823.7613749974, exported=0)
2024-01-16 04:05:41,658 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:05:41,659 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:05:41,660 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:05:41,661 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[239.79, 238.97, 238.71]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1de3a0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:05:41,666 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:05:41,677 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:05:41,679 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1053.0, 735.0, 771.0], currents=[4.6, 3.6, 3.4], voltages=[238.29, 239.35, 238.5], power_factors=[0.94, 0.83, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6155.0, imported=8015985.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2560.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21440.0, raw_currents_left=[30.4, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:05:41,680 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2510.7, invalid_home_consumption=0, daily_yield_home_consumption=5867.998512481, imported_home_consumption=3844823.7613749974, disengageable_smarthome_power=0))
2024-01-16 04:05:41,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-16 04:05:41,683 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:05:41,685 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:05:41,687 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:05:41,689 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:05:41,690 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:05:41,692 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:05:41,693 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:05:41,694 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-16 04:05:41,695 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:05:41,697 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:05:41,698 - {control.data:245} - {INFO:MainThread} - general_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-16 04:05:41,702 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:05:41,704 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:05:41,706 - {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 0x6c1ec670>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:05:41,707 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:05:41,709 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=49.3))
2024-01-16 04:05:41,711 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=49.3))
2024-01-16 04:05:41,712 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374331, 'time': '04:05:31', 'grid': 2.618, 'house-power': 2.572, 'charging-all': 0.0, 'pv-all': -0.046, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:05:41,714 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:05:41,715 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:05:41,716 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:05:41,718 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:05:41,719 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:05:41,721 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:05:41,723 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:05:41,724 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:05:41,725 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:05:41,727 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:05:41,730 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:05:41,732 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:05:41,734 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2660.0W
2024-01-16 04:05:41,735 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2660.0W
2024-01-16 04:05:41,737 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:05:41,738 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:05:41,742 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:05:41,749 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:05:41,754 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:05:41,802 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:05:42,086 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:05:42,089 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:05:45,097 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:05:45,098 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:05:50,112 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:05:50,113 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:05:50,184 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:05:50,185 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:05:50,186 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:05:50,193 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:05:50,196 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:05:50,254 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:05:50,260 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":239.9, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374348},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:05","unixtime":1705374350,"uptime":4733728,"ram_size":249000,"ram_free":145116,"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-16 04:05:50,261 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2558, -1051, -734, -772], Scale 0
2024-01-16 04:05:50,265 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374340.664892, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:05:50,268 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00266685, power1: 0, power2: 0
2024-01-16 04:05:50,270 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:05:50,278 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374350.2655454, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:05:50,280 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:05:50,344 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [46, 36, 34], Scale -1
2024-01-16 04:05:50,362 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23832, 23943, 23862, 0, 0, 0, 0], Scale -2
2024-01-16 04:05:50,381 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:05:50,540 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9399, 8339, 9319], Scale -2
2024-01-16 04:05:50,591 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8015991, 3302511, 2344356, 2924289], Scale 0
2024-01-16 04:05:50,592 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.6000000000000005, 3.6, 3.4000000000000004], powers=[1051.0, 734.0, 772.0], voltages=[238.32, 239.43, 238.62], power_factors=[0.9399, 0.8339, 0.9319], imported=8015991.0, exported=4871567.0, power=2558.0, frequency=50.0)
2024-01-16 04:05:50,593 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:05:50,679 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4748], Scale -2
2024-01-16 04:05:50,739 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:05:50,760 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 29], Scale -2
2024-01-16 04:05:50,779 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4820], Scale -2
2024-01-16 04:05:50,780 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.29], power=47.480000000000004, exported=7896155.0, dc_power=48.2)
2024-01-16 04:05:50,781 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:05:51,012 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374341.2620127, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:05:51,013 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00270843, power1: 0, power2: 0
2024-01-16 04:05:51,014 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:05:51,014 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374351.0123649, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:05:51,016 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:05:51,029 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:05:51,035 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:05:51,096 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:05:51,097 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:05:51,100 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.480000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:05:51,102 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.480000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:05:51,103 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:05:51,107 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:05:51,110 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:05:51,181 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:05:51,182 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.6000000000000005, 3.6, 3.4000000000000004], powers=[1051.0, 734.0, 772.0], voltages=[238.32, 239.43, 238.62], power_factors=[0.9399, 0.8339, 0.9319], imported=8015991.0, exported=4871567.0, power=2558.0, frequency=50.0)
2024-01-16 04:05:51,343 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:05:51,345 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:05:51,348 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.4, 31.5, 31.6]A
2024-01-16 04:05:51,348 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21442.0W
2024-01-16 04:05:51,350 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:05:51,351 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:05:51,352 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:05:51,353 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:05:51.353270
2024-01-16 04:05:51,355 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 806.9076s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:05:51,356 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:05:51.356321
2024-01-16 04:05:51,357 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176632.991505s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:05:51,358 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:05:51.358250
2024-01-16 04:05:51,359 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8876.575641s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:05:51,360 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:05:51.360518
2024-01-16 04:05:51,362 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 173001.68296s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:05:51,362 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:05:51,367 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:05:51,371 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:05:51,374 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374341.645462, power=2510.7, imported=3844823.7613749974, exported=0)
2024-01-16 04:05:51,375 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00270244, power1: 2510.7, power2: 2510.52
2024-01-16 04:05:51,376 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.78476
2024-01-16 04:05:51,377 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.78476 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374351.37423, power=2510.52, imported=3844830.546136638, exported=0)
2024-01-16 04:05:51,379 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:05:51,380 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:05:51,381 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:05:51,382 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[239.93, 239.02, 238.78]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1c5df0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:05:51,383 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:05:51,383 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:05:51,384 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1051.0, 734.0, 772.0], currents=[4.6, 3.6, 3.4], voltages=[238.32, 239.43, 238.62], power_factors=[0.94, 0.83, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6155.0, imported=8015991.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2558.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21442.0, raw_currents_left=[30.4, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:05:51,385 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2510.52, invalid_home_consumption=0, daily_yield_home_consumption=5867.998512481, imported_home_consumption=3844830.546136638, disengageable_smarthome_power=0))
2024-01-16 04:05:51,385 - {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-16 04:05:51,386 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:05:51,386 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:05:51,387 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:05:51,387 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:05:51,388 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:05:51,388 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:05:51,388 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:05:51,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-16 04:05:51,389 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:05:51,390 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:05:51,390 - {control.data:245} - {INFO:MainThread} - general_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-16 04:05:51,390 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:05:51,391 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:05:51,391 - {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 0x6c1c2430>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:05:51,392 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:05:51,392 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=47.48))
2024-01-16 04:05:51,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=8233395.285, power=47.48))
2024-01-16 04:05:51,393 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374341, 'time': '04:05:41', 'grid': 2.56, 'house-power': 2.511, 'charging-all': 0.0, 'pv-all': -0.049, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:05:51,393 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:05:51,394 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:05:51,394 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:05:51,394 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:05:51,395 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:05:51,395 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:05:51,395 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:05:51,396 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:05:51,398 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:05:51,401 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:05:51,403 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:05:51,406 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:05:51,407 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2658.0W
2024-01-16 04:05:51,408 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2658.0W
2024-01-16 04:05:51,410 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:05:51,411 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:05:51,412 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:05:51,416 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:05:51,419 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:05:51,443 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:05:51,717 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:05:55,760 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:05:55,761 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:06:00,773 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:06:00,774 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:06:00,821 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:06:00,823 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:06:00,832 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:06:00,832 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:06:00,834 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:06:00,852 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2559, -1051, -739, -768], Scale 0
2024-01-16 04:06:00,877 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:06:00,880 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":239.8, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374359},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:06","unixtime":1705374361,"uptime":4733739,"ram_size":248948,"ram_free":144540,"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-16 04:06:00,883 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374350.2655454, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:06:00,884 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00294939, power1: 0, power2: 0
2024-01-16 04:06:00,886 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:06:00,886 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374360.8833642, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:06:00,889 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:06:00,942 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [46, 36, 34], Scale -1
2024-01-16 04:06:00,964 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23850, 23968, 23816, 0, 0, 0, 0], Scale -2
2024-01-16 04:06:00,992 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:06:01,012 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9409, 8299, 9340], Scale -2
2024-01-16 04:06:01,044 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016002, 3302514, 2344359, 2924291], Scale 0
2024-01-16 04:06:01,044 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.6000000000000005, 3.6, 3.4000000000000004], powers=[1051.0, 739.0, 768.0], voltages=[238.5, 239.68, 238.16], power_factors=[0.9409000000000001, 0.8299, 0.934], imported=8016002.0, exported=4871567.0, power=2559.0, frequency=50.0)
2024-01-16 04:06:01,046 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:06:01,082 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4794], Scale -2
2024-01-16 04:06:01,120 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:06:01,175 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 29], Scale -2
2024-01-16 04:06:01,211 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4903], Scale -2
2024-01-16 04:06:01,212 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.29], power=47.94, exported=7896155.0, dc_power=49.03)
2024-01-16 04:06:01,213 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:06:01,311 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374351.0123649, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:06:01,312 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00286092, power1: 0, power2: 0
2024-01-16 04:06:01,313 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:06:01,313 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374361.3116856, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:06:01,314 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:06:01,318 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:06:01,319 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:06:01,372 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:06:01,374 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:06:01,375 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:06:01,376 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.94, exported=7934579.61, dc_power=None)
2024-01-16 04:06:01,378 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:06:01,379 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.94, exported=7934579.61, dc_power=None)
2024-01-16 04:06:01,381 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:06:01,454 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:06:01,454 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.6000000000000005, 3.6, 3.4000000000000004], powers=[1051.0, 739.0, 768.0], voltages=[238.5, 239.68, 238.16], power_factors=[0.9409000000000001, 0.8299, 0.934], imported=8016002.0, exported=4871567.0, power=2559.0, frequency=50.0)
2024-01-16 04:06:01,668 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:06:01,670 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:06:01,673 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.4, 31.5, 31.6]A
2024-01-16 04:06:01,675 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21441.0W
2024-01-16 04:06:01,676 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:06:01,678 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:06:01,680 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:06:01,682 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:06:01.681549
2024-01-16 04:06:01,683 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 796.579321s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:06:01,684 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:06:01.683954
2024-01-16 04:06:01,685 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176622.663872s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:06:01,687 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:06:01.687264
2024-01-16 04:06:01,688 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8886.904655s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:06:01,692 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:06:01.691826
2024-01-16 04:06:01,693 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172991.351652s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:06:01,694 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:06:01,698 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:06:01,699 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:06:01,731 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374351.37423, power=2510.52, imported=3844830.546136638, exported=0)
2024-01-16 04:06:01,732 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00287692, power1: 2510.52, power2: 2511.06
2024-01-16 04:06:01,733 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.22335
2024-01-16 04:06:01,735 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.22335 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374361.7311502, power=2511.06, imported=3844837.7694843533, exported=0)
2024-01-16 04:06:01,740 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:06:01,741 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:06:01,742 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:06:01,744 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[239.78, 238.83, 238.6]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1be280>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:06:01,746 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:06:01,748 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:06:01,749 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1051.0, 739.0, 768.0], currents=[4.6, 3.6, 3.4], voltages=[238.5, 239.68, 238.16], power_factors=[0.94, 0.83, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6155.0, imported=8016002.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2559.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21441.0, raw_currents_left=[30.4, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:06:01,751 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2511.06, invalid_home_consumption=0, daily_yield_home_consumption=5867.998512481, imported_home_consumption=3844837.7694843533, disengageable_smarthome_power=0))
2024-01-16 04:06:01,752 - {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-16 04:06:01,754 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:06:01,756 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:06:01,757 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:06:01,759 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:06:01,760 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:06:01,761 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:06:01,763 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:06:01,764 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:06:01,765 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:06:01,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=1, keep_charge_active_duration=40)
2024-01-16 04:06:01,768 - {control.data:245} - {INFO:MainThread} - general_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-16 04:06:01,770 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:06:01,772 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:06:01,773 - {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 0x6c1bd640>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:06:01,774 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:06:01,776 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=47.94))
2024-01-16 04:06:01,777 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=47.94))
2024-01-16 04:06:01,778 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374351, 'time': '04:05:51', 'grid': 2.558, 'house-power': 2.511, 'charging-all': 0.0, 'pv-all': -0.047, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:06:01,779 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:06:01,781 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:06:01,782 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:06:01,783 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:06:01,784 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:06:01,785 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:06:01,787 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:06:01,788 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:06:01,789 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:06:01,791 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:06:01,794 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:06:01,797 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:06:01,798 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2659.0W
2024-01-16 04:06:01,799 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2659.0W
2024-01-16 04:06:01,802 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:06:01,803 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:06:01,805 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:06:01,807 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:06:01,810 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:06:01,837 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:06:02,165 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:06:02,184 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:06:05,194 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:06:05,196 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:06:10,209 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:06:10,210 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:06:10,245 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:06:10,247 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:06:10,254 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:06:10,257 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:06:10,261 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:06:10,307 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:06:10,309 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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.0, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374368},"temperature":{"tC":26.5, "tF":79.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:06","unixtime":1705374370,"uptime":4733748,"ram_size":248948,"ram_free":144540,"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-16 04:06:10,310 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374360.8833642, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:06:10,311 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00261876, power1: 0, power2: 0
2024-01-16 04:06:10,312 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:06:10,312 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374370.3109, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:06:10,313 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:06:10,321 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2555, -1049, -737, -768], Scale 0
2024-01-16 04:06:10,352 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [46, 36, 34], Scale -1
2024-01-16 04:06:10,395 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23816, 23938, 23835, 0, 0, 0, 0], Scale -2
2024-01-16 04:06:10,531 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:06:10,551 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9399, 8330, 9300], Scale -2
2024-01-16 04:06:10,572 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016008, 3302516, 2344360, 2924293], Scale 0
2024-01-16 04:06:10,572 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.6000000000000005, 3.6, 3.4000000000000004], powers=[1049.0, 737.0, 768.0], voltages=[238.16, 239.38, 238.35], power_factors=[0.9399, 0.833, 0.93], imported=8016008.0, exported=4871567.0, power=2555.0, frequency=50.0)
2024-01-16 04:06:10,574 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:06:10,603 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4289], Scale -2
2024-01-16 04:06:10,670 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:06:10,692 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [26, 30, 28], Scale -2
2024-01-16 04:06:10,750 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4354], Scale -2
2024-01-16 04:06:10,751 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.26, 0.3, 0.28], power=42.89, exported=7896155.0, dc_power=43.54)
2024-01-16 04:06:10,752 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:06:10,789 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374361.3116856, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:06:10,790 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00263272, power1: 0, power2: 0
2024-01-16 04:06:10,790 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:06:10,790 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374370.7894607, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:06:10,791 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:06:10,797 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:06:10,799 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:06:10,864 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:06:10,865 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:06:10,867 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:06:10,868 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=42.89, exported=7934579.61, dc_power=None)
2024-01-16 04:06:10,869 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:06:10,881 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=42.89, exported=7934579.61, dc_power=None)
2024-01-16 04:06:10,884 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:06:10,954 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:06:10,955 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.6000000000000005, 3.6, 3.4000000000000004], powers=[1049.0, 737.0, 768.0], voltages=[238.16, 239.38, 238.35], power_factors=[0.9399, 0.833, 0.93], imported=8016008.0, exported=4871567.0, power=2555.0, frequency=50.0)
2024-01-16 04:06:11,109 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:06:11,111 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:06:11,114 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.4, 31.5, 31.6]A
2024-01-16 04:06:11,115 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21445.0W
2024-01-16 04:06:11,117 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:06:11,118 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:06:11,119 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:06:11,121 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:06:11.120805
2024-01-16 04:06:11,122 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 787.140065s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:06:11,123 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:06:11.123538
2024-01-16 04:06:11,125 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176613.224288s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:06:11,126 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:06:11.126150
2024-01-16 04:06:11,127 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8896.343541s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:06:11,130 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:06:11.129976
2024-01-16 04:06:11,131 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172981.913502s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:06:11,133 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:06:11,140 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:06:11,141 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:06:11,149 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374361.7311502, power=2511.06, imported=3844837.7694843533, exported=0)
2024-01-16 04:06:11,150 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00261613, power1: 2511.06, power2: 2512.11
2024-01-16 04:06:11,152 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.57062
2024-01-16 04:06:11,153 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.57062 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374371.1492035, power=2512.11, imported=3844844.3401070256, exported=0)
2024-01-16 04:06:11,158 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:06:11,159 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:06:11,160 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:06:11,162 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.01, 239.07, 238.8]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7e64c0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:06:11,164 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-16 04:06:11,165 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:06:11,167 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1049.0, 737.0, 768.0], currents=[4.6, 3.6, 3.4], voltages=[238.16, 239.38, 238.35], power_factors=[0.94, 0.83, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6155.0, imported=8016008.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2555.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21445.0, raw_currents_left=[30.4, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:06:11,168 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2512.11, invalid_home_consumption=0, daily_yield_home_consumption=5867.998512481, imported_home_consumption=3844844.3401070256, disengageable_smarthome_power=0))
2024-01-16 04:06:11,170 - {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-16 04:06:11,171 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:06:11,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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:06:11,175 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:06:11,176 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:06:11,178 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:06:11,178 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:06:11,180 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:06:11,180 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:06:11,182 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:06:11,183 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:06:11,184 - {control.data:245} - {INFO:MainThread} - general_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-16 04:06:11,185 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:06:11,186 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:06:11,188 - {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 0x6c1dc088>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:06:11,190 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:06:11,192 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=42.89))
2024-01-16 04:06:11,193 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=42.89))
2024-01-16 04:06:11,194 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374361, 'time': '04:06:01', 'grid': 2.559, 'house-power': 2.511, 'charging-all': 0.0, 'pv-all': -0.048, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:06:11,197 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:06:11,197 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:06:11,198 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:06:11,199 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:06:11,200 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:06:11,200 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:06:11,202 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:06:11,202 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:06:11,203 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:06:11,205 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:06:11,206 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:06:11,208 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:06:11,209 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2655.0W
2024-01-16 04:06:11,211 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2655.0W
2024-01-16 04:06:11,213 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:06:11,215 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:06:11,221 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:06:11,227 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:06:11,229 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:06:11,252 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:06:11,504 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:06:15,536 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:06:15,537 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:06:20,549 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:06:20,550 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:06:20,594 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:06:20,595 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:06:20,602 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:06:20,605 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:06:20,621 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:06:20,646 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:06:20,649 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":239.9, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374379},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:06","unixtime":1705374381,"uptime":4733759,"ram_size":248936,"ram_free":144408,"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-16 04:06:20,654 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374370.3109, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:06:20,655 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00287319, power1: 0, power2: 0
2024-01-16 04:06:20,655 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:06:20,656 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374380.6544018, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:06:20,657 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:06:20,732 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2565, -1060, -735, -768], Scale 0
2024-01-16 04:06:20,770 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 36, 34], Scale -1
2024-01-16 04:06:20,790 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23840, 23960, 23864, 0, 0, 0, 0], Scale -2
2024-01-16 04:06:20,822 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:06:20,871 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9399, 8320, 9290], Scale -2
2024-01-16 04:06:20,901 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016014, 3302519, 2344362, 2924295], Scale 0
2024-01-16 04:06:20,902 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1060.0, 735.0, 768.0], voltages=[238.4, 239.6, 238.64000000000001], power_factors=[0.9399, 0.8320000000000001, 0.929], imported=8016014.0, exported=4871567.0, power=2565.0, frequency=50.0)
2024-01-16 04:06:20,904 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:06:20,921 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5243], Scale -2
2024-01-16 04:06:21,015 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:06:21,042 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [26, 30, 29], Scale -2
2024-01-16 04:06:21,071 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4452], Scale -2
2024-01-16 04:06:21,072 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.26, 0.3, 0.29], power=52.43, exported=7896155.0, dc_power=44.52)
2024-01-16 04:06:21,073 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:06:21,110 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374370.7894607, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:06:21,111 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00286696, power1: 0, power2: 0
2024-01-16 04:06:21,111 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:06:21,112 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374381.1105258, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:06:21,113 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:06:21,128 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:06:21,129 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:06:21,171 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:06:21,174 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:06:21,176 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=52.43, exported=7934579.61, dc_power=None)
2024-01-16 04:06:21,177 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:06:21,184 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=52.43, exported=7934579.61, dc_power=None)
2024-01-16 04:06:21,189 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:06:21,191 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:06:21,274 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:06:21,275 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1060.0, 735.0, 768.0], voltages=[238.4, 239.6, 238.64000000000001], power_factors=[0.9399, 0.8320000000000001, 0.929], imported=8016014.0, exported=4871567.0, power=2565.0, frequency=50.0)
2024-01-16 04:06:21,470 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:06:21,472 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:06:21,477 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 31.5, 31.6]A
2024-01-16 04:06:21,479 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21435.0W
2024-01-16 04:06:21,480 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:06:21,482 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:06:21,483 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:06:21,485 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:06:21.484695
2024-01-16 04:06:21,486 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 776.776175s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:06:21,489 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:06:21.489525
2024-01-16 04:06:21,491 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176602.858301s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:06:21,492 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:06:21.492194
2024-01-16 04:06:21,494 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8906.709585s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:06:21,497 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:06:21.497342
2024-01-16 04:06:21,499 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172971.546136s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:06:21,501 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:06:21,504 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:06:21,506 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:06:21,544 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374371.1492035, power=2512.11, imported=3844844.3401070256, exported=0)
2024-01-16 04:06:21,546 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00288766, power1: 2512.11, power2: 2512.57
2024-01-16 04:06:21,548 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.25478
2024-01-16 04:06:21,551 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.25478 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374381.5447805, power=2512.57, imported=3844851.5948914154, exported=0)
2024-01-16 04:06:21,554 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:06:21,557 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:06:21,558 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:06:21,560 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[239.99, 239.02, 238.75]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1eb388>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:06:21,561 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:06:21,562 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:06:21,564 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1060.0, 735.0, 768.0], currents=[4.7, 3.6, 3.4], voltages=[238.4, 239.6, 238.64], power_factors=[0.94, 0.83, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6155.0, imported=8016014.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2565.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21435.0, raw_currents_left=[30.3, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:06:21,566 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2512.57, invalid_home_consumption=0, daily_yield_home_consumption=5867.998512481, imported_home_consumption=3844851.5948914154, disengageable_smarthome_power=0))
2024-01-16 04:06:21,568 - {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-16 04:06:21,571 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:06:21,573 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:06:21,575 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:06:21,577 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:06:21,578 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:06:21,579 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:06:21,583 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:06:21,584 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-16 04:06:21,586 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:06:21,587 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:06:21,590 - {control.data:245} - {INFO:MainThread} - general_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-16 04:06:21,592 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:06:21,593 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:06:21,594 - {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 0x6c1e98b0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:06:21,596 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:06:21,597 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=52.43))
2024-01-16 04:06:21,599 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=52.43))
2024-01-16 04:06:21,601 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374371, 'time': '04:06:11', 'grid': 2.555, 'house-power': 2.512, 'charging-all': 0.0, 'pv-all': -0.043, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:06:21,602 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:06:21,607 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:06:21,608 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:06:21,610 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:06:21,611 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:06:21,613 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:06:21,616 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:06:21,617 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:06:21,619 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:06:21,622 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:06:21,624 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:06:21,628 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:06:21,629 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2665.0W
2024-01-16 04:06:21,632 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2665.0W
2024-01-16 04:06:21,634 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:06:21,635 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:06:21,639 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:06:21,642 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:06:21,649 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:06:21,698 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:06:21,942 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:06:21,945 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:06:25,955 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:06:30,973 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:06:30,974 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:06:31,021 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:06:31,023 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:06:31,030 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:06:31,033 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:06:31,034 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:06:31,073 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2560, -1052, -739, -768], Scale 0
2024-01-16 04:06:31,093 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 36, 34], Scale -1
2024-01-16 04:06:31,121 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23841, 23956, 23853, 0, 0, 0, 0], Scale -2
2024-01-16 04:06:31,125 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:06:31,129 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":240.3, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374389},"temperature":{"tC":26.4, "tF":79.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:06","unixtime":1705374391,"uptime":4733769,"ram_size":249000,"ram_free":145116,"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-16 04:06:31,131 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374380.6544018, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:06:31,133 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00291025, power1: 0, power2: 0
2024-01-16 04:06:31,135 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:06:31,139 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374391.1313198, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:06:31,141 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:06:31,151 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:06:31,266 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9409, 8330, 9319], Scale -2
2024-01-16 04:06:31,292 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016020, 3302521, 2344363, 2924296], Scale 0
2024-01-16 04:06:31,292 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1052.0, 739.0, 768.0], voltages=[238.41, 239.56, 238.53], power_factors=[0.9409000000000001, 0.833, 0.9319], imported=8016020.0, exported=4871567.0, power=2560.0, frequency=50.0)
2024-01-16 04:06:31,295 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:06:31,311 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4416], Scale -2
2024-01-16 04:06:31,333 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:06:31,361 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [26, 30, 29], Scale -2
2024-01-16 04:06:31,401 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4484], Scale -2
2024-01-16 04:06:31,402 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.26, 0.3, 0.29], power=44.160000000000004, exported=7896155.0, dc_power=44.84)
2024-01-16 04:06:31,403 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:06:31,481 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374381.1105258, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:06:31,482 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00288093, power1: 0, power2: 0
2024-01-16 04:06:31,483 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:06:31,483 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374391.4818602, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:06:31,484 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:06:31,500 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:06:31,503 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:06:31,545 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:06:31,547 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:06:31,549 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=44.160000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:06:31,550 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=44.160000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:06:31,554 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:06:31,555 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:06:31,557 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:06:31,623 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:06:31,624 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1052.0, 739.0, 768.0], voltages=[238.41, 239.56, 238.53], power_factors=[0.9409000000000001, 0.833, 0.9319], imported=8016020.0, exported=4871567.0, power=2560.0, frequency=50.0)
2024-01-16 04:06:31,808 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:06:31,815 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:06:31,818 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 31.5, 31.6]A
2024-01-16 04:06:31,819 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21440.0W
2024-01-16 04:06:31,822 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:06:31,830 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:06:31,834 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:06:31,841 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:06:31.841030
2024-01-16 04:06:31,844 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 766.41984s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:06:31,845 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:06:31.845398
2024-01-16 04:06:31,849 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176592.502428s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:06:31,851 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:06:31.850702
2024-01-16 04:06:31,852 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8917.068093s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:06:31,854 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:06:31.853502
2024-01-16 04:06:31,855 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172961.189976s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:06:31,857 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:06:31,883 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:06:31,898 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:06:31,929 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374381.5447805, power=2512.57, imported=3844851.5948914154, exported=0)
2024-01-16 04:06:31,931 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00288468, power1: 2512.57, power2: 2515.84
2024-01-16 04:06:31,936 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.25268
2024-01-16 04:06:31,938 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.25268 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374391.9296322, power=2515.84, imported=3844858.8475708747, exported=0)
2024-01-16 04:06:31,946 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:06:31,949 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:06:31,954 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:06:31,961 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.27, 239.0, 238.3]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1c10d0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:06:31,964 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:06:31,983 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:06:31,992 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1052.0, 739.0, 768.0], currents=[4.7, 3.6, 3.4], voltages=[238.41, 239.56, 238.53], power_factors=[0.94, 0.83, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6155.0, imported=8016020.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2560.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21440.0, raw_currents_left=[30.3, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:06:31,998 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2515.84, invalid_home_consumption=0, daily_yield_home_consumption=5867.998512481, imported_home_consumption=3844858.8475708747, disengageable_smarthome_power=0))
2024-01-16 04:06:32,008 - {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-16 04:06:32,022 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:06:32,035 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:06:32,044 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:06:32,055 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:06:32,057 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:06:32,059 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:06:32,064 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:06:32,065 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=82000, efficiency=90, nominal_difference=0.5, keep_charge_active_duration=40)
2024-01-16 04:06:32,068 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:06:32,068 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:06:32,069 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-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-16 04:06:32,070 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:06:32,071 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:06:32,072 - {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 0x6c1e39a0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:06:32,073 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:06:32,075 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=44.16))
2024-01-16 04:06:32,076 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=44.16))
2024-01-16 04:06:32,077 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374381, 'time': '04:06:21', 'grid': 2.565, 'house-power': 2.513, 'charging-all': 0.0, 'pv-all': -0.052, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:06:32,079 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:06:32,092 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:06:32,098 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:06:32,099 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:06:32,100 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:06:32,101 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:06:32,103 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:06:32,104 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:06:32,105 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:06:32,107 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:06:32,109 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:06:32,112 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:06:32,113 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2660.0W
2024-01-16 04:06:32,115 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2660.0W
2024-01-16 04:06:32,128 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:06:32,129 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:06:32,131 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:06:32,139 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:06:32,144 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:06:32,175 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:06:32,543 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:06:32,546 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:06:35,555 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:06:35,555 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:06:40,568 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:06:40,569 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:06:40,641 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:06:40,642 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:06:40,645 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:06:40,654 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:06:40,657 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:06:40,704 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:06:40,706 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374399},"temperature":{"tC":26.5, "tF":79.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:06","unixtime":1705374401,"uptime":4733779,"ram_size":249000,"ram_free":145116,"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":-72},"ws":{"connected":false}}

2024-01-16 04:06:40,709 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374391.1313198, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:06:40,713 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0026607, power1: 0, power2: 0
2024-01-16 04:06:40,714 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:06:40,715 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374400.7098267, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:06:40,717 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:06:40,730 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2566, -1053, -741, -771], Scale 0
2024-01-16 04:06:40,790 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [46, 36, 34], Scale -1
2024-01-16 04:06:40,810 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23795, 23997, 23854, 0, 0, 0, 0], Scale -2
2024-01-16 04:06:40,829 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:06:40,889 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9440, 8379, 9330], Scale -2
2024-01-16 04:06:40,940 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016031, 3302526, 2344367, 2924300], Scale 0
2024-01-16 04:06:40,941 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.6000000000000005, 3.6, 3.4000000000000004], powers=[1053.0, 741.0, 771.0], voltages=[237.95000000000002, 239.97, 238.54], power_factors=[0.9440000000000001, 0.8379000000000001, 0.9329999999999999], imported=8016031.0, exported=4871567.0, power=2566.0, frequency=50.0)
2024-01-16 04:06:40,943 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:06:40,959 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4716], Scale -2
2024-01-16 04:06:41,125 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:06:41,161 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 28], Scale -2
2024-01-16 04:06:41,181 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4481], Scale -2
2024-01-16 04:06:41,181 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.28], power=47.160000000000004, exported=7896155.0, dc_power=44.81)
2024-01-16 04:06:41,183 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:06:41,301 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374391.4818602, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:06:41,301 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00272753, power1: 0, power2: 0
2024-01-16 04:06:41,302 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:06:41,302 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374401.3009741, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:06:41,303 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:06:41,308 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:06:41,310 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:06:41,358 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:06:41,359 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:06:41,360 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.160000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:06:41,362 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.160000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:06:41,371 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:06:41,373 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:06:41,374 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:06:41,447 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:06:41,447 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.6000000000000005, 3.6, 3.4000000000000004], powers=[1053.0, 741.0, 771.0], voltages=[237.95000000000002, 239.97, 238.54], power_factors=[0.9440000000000001, 0.8379000000000001, 0.9329999999999999], imported=8016031.0, exported=4871567.0, power=2566.0, frequency=50.0)
2024-01-16 04:06:41,661 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:06:41,664 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:06:41,669 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.4, 31.5, 31.6]A
2024-01-16 04:06:41,670 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21434.0W
2024-01-16 04:06:41,671 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:06:41,673 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:06:41,675 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:06:41,676 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:06:41.676021
2024-01-16 04:06:41,679 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 756.584849s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:06:41,688 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:06:41.688218
2024-01-16 04:06:41,690 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176582.659608s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:06:41,694 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:06:41.693635
2024-01-16 04:06:41,697 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8926.911026s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:06:41,699 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:06:41.698755
2024-01-16 04:06:41,702 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172951.344723s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:06:41,709 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:06:41,712 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:06:41,714 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:06:41,721 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374391.9296322, power=2515.84, imported=3844858.8475708747, exported=0)
2024-01-16 04:06:41,723 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00272, power1: 2515.84, power2: 2518.84
2024-01-16 04:06:41,724 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.84716
2024-01-16 04:06:41,726 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.84716 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374401.7216263, power=2518.84, imported=3844865.6947315456, exported=0)
2024-01-16 04:06:41,730 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:06:41,733 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:06:41,734 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:06:41,736 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.42, 239.06, 238.44]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1c5ce8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:06:41,737 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:06:41,738 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:06:41,740 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1053.0, 741.0, 771.0], currents=[4.6, 3.6, 3.4], voltages=[237.95, 239.97, 238.54], power_factors=[0.94, 0.84, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6155.0, imported=8016031.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2566.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21434.0, raw_currents_left=[30.4, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:06:41,741 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2518.84, invalid_home_consumption=0, daily_yield_home_consumption=5867.998512481, imported_home_consumption=3844865.6947315456, disengageable_smarthome_power=0))
2024-01-16 04:06:41,743 - {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-16 04:06:41,744 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:06:41,745 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:06:41,747 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:06:41,748 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:06:41,749 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:06:41,750 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:06:41,751 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:06:41,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-16 04:06:41,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-16 04:06:41,755 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:06:41,756 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-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-16 04:06:41,758 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:06:41,759 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:06:41,761 - {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 0x6c1c2040>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:06:41,762 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:06:41,765 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=47.16))
2024-01-16 04:06:41,766 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=47.16))
2024-01-16 04:06:41,769 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374392, 'time': '04:06:32', 'grid': 2.56, 'house-power': 2.516, 'charging-all': 0.0, 'pv-all': -0.044, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:06:41,770 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:06:41,772 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:06:41,780 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:06:41,786 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:06:41,788 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:06:41,789 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:06:41,790 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:06:41,791 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:06:41,792 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:06:41,796 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:06:41,800 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:06:41,803 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:06:41,804 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2666.0W
2024-01-16 04:06:41,804 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2666.0W
2024-01-16 04:06:41,805 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:06:41,807 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:06:41,808 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:06:41,811 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:06:41,816 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:06:41,843 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:06:42,180 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:06:45,245 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:06:45,246 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:06:50,264 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:06:50,265 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:06:50,309 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:06:50,311 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:06:50,318 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:06:50,319 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:06:50,324 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:06:50,352 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2562, -1051, -737, -773], Scale 0
2024-01-16 04:06:50,375 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:06:50,378 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374409},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:06","unixtime":1705374410,"uptime":4733788,"ram_size":249000,"ram_free":145116,"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-16 04:06:50,381 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374400.7098267, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:06:50,382 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00268645, power1: 0, power2: 0
2024-01-16 04:06:50,383 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:06:50,383 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374410.3810334, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:06:50,385 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:06:50,570 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [46, 36, 34], Scale -1
2024-01-16 04:06:50,610 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23785, 23990, 23851, 0, 0, 0, 0], Scale -2
2024-01-16 04:06:50,629 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:06:50,649 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9440, 8399, 9330], Scale -2
2024-01-16 04:06:50,701 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016037, 3302528, 2344369, 2924301], Scale 0
2024-01-16 04:06:50,702 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.6000000000000005, 3.6, 3.4000000000000004], powers=[1051.0, 737.0, 773.0], voltages=[237.85, 239.9, 238.51], power_factors=[0.9440000000000001, 0.8399, 0.9329999999999999], imported=8016037.0, exported=4871567.0, power=2562.0, frequency=50.0)
2024-01-16 04:06:50,704 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:06:50,720 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4603], Scale -2
2024-01-16 04:06:50,740 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:06:50,870 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 29], Scale -2
2024-01-16 04:06:50,910 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4673], Scale -2
2024-01-16 04:06:50,911 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.29], power=46.03, exported=7896155.0, dc_power=46.730000000000004)
2024-01-16 04:06:50,912 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:06:50,951 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374401.3009741, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:06:50,952 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00268079, power1: 0, power2: 0
2024-01-16 04:06:50,953 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:06:50,953 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374410.9518032, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:06:50,954 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:06:50,958 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:06:50,959 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:06:51,011 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:06:51,012 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:06:51,014 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.03, exported=7934579.61, dc_power=None)
2024-01-16 04:06:51,015 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.03, exported=7934579.61, dc_power=None)
2024-01-16 04:06:51,028 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:06:51,030 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:06:51,033 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:06:51,091 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:06:51,092 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.6000000000000005, 3.6, 3.4000000000000004], powers=[1051.0, 737.0, 773.0], voltages=[237.85, 239.9, 238.51], power_factors=[0.9440000000000001, 0.8399, 0.9329999999999999], imported=8016037.0, exported=4871567.0, power=2562.0, frequency=50.0)
2024-01-16 04:06:51,273 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:06:51,279 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:06:51,292 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.4, 31.5, 31.6]A
2024-01-16 04:06:51,298 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21438.0W
2024-01-16 04:06:51,300 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:06:51,309 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:06:51,313 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:06:51,315 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:06:51.314790
2024-01-16 04:06:51,322 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 746.94608s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:06:51,325 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:06:51.325073
2024-01-16 04:06:51,327 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176573.022753s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:06:51,329 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:06:51.328818
2024-01-16 04:06:51,332 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8936.546209s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:06:51,333 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:06:51.333282
2024-01-16 04:06:51,336 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172941.710196s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:06:51,337 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:06:51,352 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:06:51,355 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:06:51,374 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374401.7216263, power=2518.84, imported=3844865.6947315456, exported=0)
2024-01-16 04:06:51,375 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00268134, power1: 2518.84, power2: 2515.97
2024-01-16 04:06:51,375 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.75003
2024-01-16 04:06:51,376 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.75003 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374411.3744643, power=2515.97, imported=3844872.4447600525, exported=0)
2024-01-16 04:06:51,378 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:06:51,379 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:06:51,379 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:06:51,380 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.34, 239.12, 238.29]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1c2a48>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:06:51,381 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-16 04:06:51,381 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:06:51,382 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1051.0, 737.0, 773.0], currents=[4.6, 3.6, 3.4], voltages=[237.85, 239.9, 238.51], power_factors=[0.94, 0.84, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6155.0, imported=8016037.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2562.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21438.0, raw_currents_left=[30.4, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:06:51,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=2515.97, invalid_home_consumption=0, daily_yield_home_consumption=5867.998512481, imported_home_consumption=3844872.4447600525, disengageable_smarthome_power=0))
2024-01-16 04:06:51,383 - {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-16 04:06:51,384 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:06:51,385 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:06:51,386 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:06:51,386 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:06:51,387 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:06:51,388 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:06:51,388 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:06:51,388 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:06:51,389 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:06:51,389 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:06:51,390 - {control.data:245} - {INFO:MainThread} - general_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-16 04:06:51,390 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:06:51,391 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:06:51,392 - {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 0x6c1c21c0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:06:51,392 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:06:51,393 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=46.03))
2024-01-16 04:06:51,394 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=46.03))
2024-01-16 04:06:51,394 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374401, 'time': '04:06:41', 'grid': 2.566, 'house-power': 2.519, 'charging-all': 0.0, 'pv-all': -0.047, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:06:51,395 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:06:51,395 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:06:51,396 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:06:51,396 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:06:51,397 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:06:51,397 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:06:51,398 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:06:51,398 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:06:51,399 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:06:51,401 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:06:51,402 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:06:51,405 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:06:51,405 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2662.0W
2024-01-16 04:06:51,406 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2662.0W
2024-01-16 04:06:51,407 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:06:51,411 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:06:51,412 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:06:51,418 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:06:51,424 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:06:51,471 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:06:51,749 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:06:51,751 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:06:55,764 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:06:55,764 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:07:00,777 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:07:00,777 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:07:00,815 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:07:00,819 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:07:00,831 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:07:00,836 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:07:00,840 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:07:00,890 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:07:00,892 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374419},"temperature":{"tC":26.5, "tF":79.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:07","unixtime":1705374421,"uptime":4733799,"ram_size":248948,"ram_free":144540,"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-16 04:07:00,895 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374410.3810334, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:07:00,897 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00292068, power1: 0, power2: 0
2024-01-16 04:07:00,898 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:07:00,900 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374420.8954706, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:07:00,907 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:07:00,949 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2560, -1050, -737, -772], Scale 0
2024-01-16 04:07:00,970 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [46, 36, 34], Scale -1
2024-01-16 04:07:00,990 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23785, 23987, 23864, 0, 0, 0, 0], Scale -2
2024-01-16 04:07:01,009 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:07:01,029 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9449, 8420, 9350], Scale -2
2024-01-16 04:07:01,074 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016042, 3302531, 2344370, 2924303], Scale 0
2024-01-16 04:07:01,074 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.6000000000000005, 3.6, 3.4000000000000004], powers=[1050.0, 737.0, 772.0], voltages=[237.85, 239.87, 238.64000000000001], power_factors=[0.9449, 0.8420000000000001, 0.935], imported=8016042.0, exported=4871567.0, power=2560.0, frequency=50.0)
2024-01-16 04:07:01,076 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:07:01,129 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4472], Scale -2
2024-01-16 04:07:01,149 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:07:01,179 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 29, 30], Scale -2
2024-01-16 04:07:01,280 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4540], Scale -2
2024-01-16 04:07:01,281 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.29, 0.3], power=44.72, exported=7896155.0, dc_power=45.4)
2024-01-16 04:07:01,285 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:07:01,352 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374410.9518032, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:07:01,352 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00288893, power1: 0, power2: 0
2024-01-16 04:07:01,353 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:07:01,353 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374421.3519454, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:07:01,354 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:07:01,364 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:07:01,365 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:07:01,405 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:07:01,407 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:07:01,408 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:07:01,410 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=44.72, exported=7934579.61, dc_power=None)
2024-01-16 04:07:01,412 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:07:01,414 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=44.72, exported=7934579.61, dc_power=None)
2024-01-16 04:07:01,421 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:07:01,480 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:07:01,481 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.6000000000000005, 3.6, 3.4000000000000004], powers=[1050.0, 737.0, 772.0], voltages=[237.85, 239.87, 238.64000000000001], power_factors=[0.9449, 0.8420000000000001, 0.935], imported=8016042.0, exported=4871567.0, power=2560.0, frequency=50.0)
2024-01-16 04:07:01,662 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:07:01,666 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:07:01,670 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.4, 31.5, 31.6]A
2024-01-16 04:07:01,673 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21440.0W
2024-01-16 04:07:01,675 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:07:01,678 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:07:01,681 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:07:01,684 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:07:01.684354
2024-01-16 04:07:01,688 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 736.576516s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:07:01,692 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:07:01.692219
2024-01-16 04:07:01,694 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176562.655607s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:07:01,695 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:07:01.695103
2024-01-16 04:07:01,699 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8946.912494s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:07:01,702 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:07:01.702234
2024-01-16 04:07:01,704 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172931.341244s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:07:01,706 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:07:01,715 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:07:01,723 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:07:01,731 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374411.3744643, power=2515.97, imported=3844872.4447600525, exported=0)
2024-01-16 04:07:01,734 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00287683, power1: 2515.97, power2: 2515.28
2024-01-16 04:07:01,737 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.23702
2024-01-16 04:07:01,739 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.23702 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374421.7310405, power=2515.28, imported=3844879.6817772784, exported=0)
2024-01-16 04:07:01,742 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:07:01,744 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:07:01,745 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:07:01,747 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.38, 239.23, 238.42]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1edce8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:07:01,749 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:07:01,751 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:07:01,752 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1050.0, 737.0, 772.0], currents=[4.6, 3.6, 3.4], voltages=[237.85, 239.87, 238.64], power_factors=[0.94, 0.84, 0.94], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6155.0, imported=8016042.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2560.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21440.0, raw_currents_left=[30.4, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:07:01,754 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2515.28, invalid_home_consumption=0, daily_yield_home_consumption=5867.998512481, imported_home_consumption=3844879.6817772784, disengageable_smarthome_power=0))
2024-01-16 04:07:01,755 - {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-16 04:07:01,759 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:07:01,761 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:07:01,762 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:07:01,766 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:07:01,767 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:07:01,769 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:07:01,775 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:07:01,775 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:07:01,776 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-16 04:07:01,777 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:07:01,779 - {control.data:245} - {INFO:MainThread} - general_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-16 04:07:01,780 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:07:01,781 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:07:01,782 - {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 0x6c1c10b8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:07:01,783 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:07:01,784 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=44.72))
2024-01-16 04:07:01,785 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=44.72))
2024-01-16 04:07:01,786 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374411, 'time': '04:06:51', 'grid': 2.562, 'house-power': 2.516, 'charging-all': 0.0, 'pv-all': -0.046, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:07:01,787 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:07:01,788 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:07:01,790 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:07:01,791 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:07:01,795 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:07:01,796 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:07:01,797 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:07:01,799 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:07:01,800 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:07:01,803 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:07:01,806 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:07:01,808 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:07:01,809 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2660.0W
2024-01-16 04:07:01,809 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2660.0W
2024-01-16 04:07:01,810 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:07:01,811 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:07:01,812 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:07:01,815 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:07:01,817 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:07:01,840 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:07:02,147 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:07:05,214 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:07:05,215 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:07:10,229 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:07:10,230 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:07:10,278 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:07:10,280 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:07:10,287 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:07:10,289 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:07:10,290 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:07:10,333 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:07:10,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.2, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374428},"temperature":{"tC":26.4, "tF":79.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:07","unixtime":1705374430,"uptime":4733808,"ram_size":248948,"ram_free":144540,"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-16 04:07:10,341 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374420.8954706, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:07:10,344 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00262383, power1: 0, power2: 0
2024-01-16 04:07:10,346 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:07:10,348 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374430.3412662, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:07:10,350 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:07:10,512 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2553, -1055, -733, -764], Scale 0
2024-01-16 04:07:10,540 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [46, 36, 34], Scale -1
2024-01-16 04:07:10,559 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23802, 24004, 23877, 0, 0, 0, 0], Scale -2
2024-01-16 04:07:10,604 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:07:10,650 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9430, 8410, 9340], Scale -2
2024-01-16 04:07:10,681 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016048, 3302533, 2344372, 2924305], Scale 0
2024-01-16 04:07:10,682 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.6000000000000005, 3.6, 3.4000000000000004], powers=[1055.0, 733.0, 764.0], voltages=[238.02, 240.04, 238.77], power_factors=[0.943, 0.8410000000000001, 0.934], imported=8016048.0, exported=4871567.0, power=2553.0, frequency=50.0)
2024-01-16 04:07:10,684 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:07:10,703 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4796], Scale -2
2024-01-16 04:07:10,745 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:07:10,822 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 30], Scale -2
2024-01-16 04:07:10,850 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4950], Scale -2
2024-01-16 04:07:10,851 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.3], power=47.96, exported=7896155.0, dc_power=49.5)
2024-01-16 04:07:10,852 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:07:10,891 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374421.3519454, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:07:10,891 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00264977, power1: 0, power2: 0
2024-01-16 04:07:10,892 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:07:10,892 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374430.8911126, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:07:10,893 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:07:10,908 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:07:10,909 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:07:10,956 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:07:10,959 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:07:10,963 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.96, exported=7934579.61, dc_power=None)
2024-01-16 04:07:10,965 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.96, exported=7934579.61, dc_power=None)
2024-01-16 04:07:10,960 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:07:10,982 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:07:10,984 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:07:11,036 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:07:11,038 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.6000000000000005, 3.6, 3.4000000000000004], powers=[1055.0, 733.0, 764.0], voltages=[238.02, 240.04, 238.77], power_factors=[0.943, 0.8410000000000001, 0.934], imported=8016048.0, exported=4871567.0, power=2553.0, frequency=50.0)
2024-01-16 04:07:11,224 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:07:11,227 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:07:11,230 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.4, 31.5, 31.6]A
2024-01-16 04:07:11,232 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21447.0W
2024-01-16 04:07:11,234 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:07:11,236 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:07:11,237 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:07:11,239 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:07:11.239217
2024-01-16 04:07:11,242 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 727.021653s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:07:11,245 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:07:11.245301
2024-01-16 04:07:11,247 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176553.102525s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:07:11,249 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:07:11.248908
2024-01-16 04:07:11,250 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8956.466299s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:07:11,253 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:07:11.252454
2024-01-16 04:07:11,255 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172921.791024s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:07:11,257 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:07:11,261 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:07:11,262 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:07:11,278 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374421.7310405, power=2515.28, imported=3844879.6817772784, exported=0)
2024-01-16 04:07:11,280 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00265208, power1: 2515.28, power2: 2505.04
2024-01-16 04:07:11,287 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.65715
2024-01-16 04:07:11,288 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.65715 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374431.2785392, power=2505.04, imported=3844886.338929874, exported=0)
2024-01-16 04:07:11,296 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:07:11,298 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:07:11,301 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:07:11,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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.17, 239.18, 238.92]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1e7958>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:07:11,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-16 04:07:11,307 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:07:11,308 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1055.0, 733.0, 764.0], currents=[4.6, 3.6, 3.4], voltages=[238.02, 240.04, 238.77], power_factors=[0.94, 0.84, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6155.0, imported=8016048.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2553.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21447.0, raw_currents_left=[30.4, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:07:11,309 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2505.04, invalid_home_consumption=0, daily_yield_home_consumption=5867.998512481, imported_home_consumption=3844886.338929874, disengageable_smarthome_power=0))
2024-01-16 04:07:11,311 - {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-16 04:07:11,311 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:07:11,313 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:07:11,314 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:07:11,316 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:07:11,317 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:07:11,318 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:07:11,321 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:07:11,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-16 04:07:11,324 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-16 04:07:11,330 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:07:11,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-16 04:07:11,332 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:07:11,333 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:07:11,337 - {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 0x6c1e31f0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:07:11,338 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:07:11,338 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=47.96))
2024-01-16 04:07:11,340 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=47.96))
2024-01-16 04:07:11,341 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374421, 'time': '04:07:01', 'grid': 2.56, 'house-power': 2.515, 'charging-all': 0.0, 'pv-all': -0.045, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:07:11,344 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:07:11,346 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:07:11,347 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:07:11,348 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:07:11,349 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:07:11,351 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:07:11,352 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:07:11,353 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:07:11,357 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:07:11,361 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:07:11,363 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:07:11,365 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:07:11,366 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2653.0W
2024-01-16 04:07:11,367 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2653.0W
2024-01-16 04:07:11,368 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:07:11,369 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:07:11,370 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:07:11,376 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:07:11,379 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:07:11,407 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:07:11,691 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:07:11,692 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:07:15,701 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:07:15,702 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:07:20,717 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:07:20,718 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:07:20,780 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:07:20,781 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:07:20,783 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:07:20,791 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:07:20,830 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:07:20,837 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:07: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":240.1, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374439},"temperature":{"tC":26.5, "tF":79.7}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:07","unixtime":1705374441,"uptime":4733819,"ram_size":248948,"ram_free":144540,"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-16 04:07:20,843 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374430.3412662, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:07:20,845 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00291739, power1: 0, power2: 0
2024-01-16 04:07:20,846 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:07:20,848 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374440.843887, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:07:20,850 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:07:20,922 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2564, -1057, -737, -770], Scale 0
2024-01-16 04:07:20,976 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 36, 34], Scale -1
2024-01-16 04:07:21,011 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23857, 23985, 23876, 0, 0, 0, 0], Scale -2
2024-01-16 04:07:21,062 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:07:21,090 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9440, 8389, 9380], Scale -2
2024-01-16 04:07:21,110 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016060, 3302538, 2344375, 2924308], Scale 0
2024-01-16 04:07:21,111 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1057.0, 737.0, 770.0], voltages=[238.57, 239.85, 238.76], power_factors=[0.9440000000000001, 0.8389, 0.938], imported=8016060.0, exported=4871567.0, power=2564.0, frequency=50.0)
2024-01-16 04:07:21,112 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:07:21,232 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4321], Scale -2
2024-01-16 04:07:21,260 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:07:21,289 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 29], Scale -2
2024-01-16 04:07:21,309 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4386], Scale -2
2024-01-16 04:07:21,310 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.29], power=43.21, exported=7896155.0, dc_power=43.86)
2024-01-16 04:07:21,311 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:07:21,431 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374430.8911126, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:07:21,431 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00292779, power1: 0, power2: 0
2024-01-16 04:07:21,432 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:07:21,432 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374441.4311454, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:07:21,433 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:07:21,438 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:07:21,440 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:07:21,485 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:07:21,487 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:07:21,488 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=43.21, exported=7934579.61, dc_power=None)
2024-01-16 04:07:21,489 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=43.21, exported=7934579.61, dc_power=None)
2024-01-16 04:07:21,490 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:07:21,496 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:07:21,515 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:07:21,557 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:07:21,558 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1057.0, 737.0, 770.0], voltages=[238.57, 239.85, 238.76], power_factors=[0.9440000000000001, 0.8389, 0.938], imported=8016060.0, exported=4871567.0, power=2564.0, frequency=50.0)
2024-01-16 04:07:21,741 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:07:21,748 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:07:21,751 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 31.5, 31.6]A
2024-01-16 04:07:21,755 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21436.0W
2024-01-16 04:07:21,757 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:07:21,760 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:07:21,762 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:07:21,763 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:07:21.763332
2024-01-16 04:07:21,764 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 716.497538s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:07:21,765 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:07:21.765515
2024-01-16 04:07:21,767 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176542.582311s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:07:21,768 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:07:21.767828
2024-01-16 04:07:21,769 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8966.985219s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:07:21,771 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:07:21.771447
2024-01-16 04:07:21,772 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172911.272031s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:07:21,776 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:07:21,783 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:07:21,784 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:07:21,800 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374431.2785392, power=2505.04, imported=3844886.338929874, exported=0)
2024-01-16 04:07:21,802 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00292288, power1: 2505.04, power2: 2520.79
2024-01-16 04:07:21,803 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.34495
2024-01-16 04:07:21,806 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.34495 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374441.800913, power=2520.79, imported=3844893.683882998, exported=0)
2024-01-16 04:07:21,815 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:07:21,816 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:07:21,817 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:07:21,819 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.21, 239.21, 238.96]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1cf340>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:07:21,820 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:07:21,821 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:07:21,822 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1057.0, 737.0, 770.0], currents=[4.7, 3.6, 3.4], voltages=[238.57, 239.85, 238.76], power_factors=[0.94, 0.84, 0.94], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6155.0, imported=8016060.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2564.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21436.0, raw_currents_left=[30.3, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:07:21,824 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2520.79, invalid_home_consumption=0, daily_yield_home_consumption=5867.998512481, imported_home_consumption=3844893.683882998, disengageable_smarthome_power=0))
2024-01-16 04:07:21,825 - {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-16 04:07:21,826 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:07:21,828 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:07:21,829 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:07:21,831 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:07:21,832 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:07:21,834 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:07:21,835 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:07:21,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-16 04:07:21,839 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:07:21,841 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:07:21,843 - {control.data:245} - {INFO:MainThread} - general_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-16 04:07:21,844 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:07:21,846 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:07:21,848 - {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 0x6c1e9bc8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:07:21,849 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:07:21,850 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=43.21))
2024-01-16 04:07:21,857 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=43.21))
2024-01-16 04:07:21,859 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374431, 'time': '04:07:11', 'grid': 2.553, 'house-power': 2.505, 'charging-all': 0.0, 'pv-all': -0.048, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:07:21,863 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:07:21,865 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:07:21,866 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:07:21,868 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:07:21,873 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:07:21,874 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:07:21,876 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:07:21,882 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:07:21,883 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:07:21,887 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:07:21,889 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:07:21,891 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:07:21,893 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2664.0W
2024-01-16 04:07:21,895 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2664.0W
2024-01-16 04:07:21,896 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:07:21,898 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:07:21,899 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:07:21,907 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:07:21,910 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:07:21,951 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:07:22,266 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:07:25,315 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:07:25,315 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:07:30,329 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:07:30,330 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:07:30,377 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:07:30,378 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:07:30,386 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:07:30,387 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:07:30,396 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:07:30,433 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2564, -1057, -736, -770], Scale 0
2024-01-16 04:07:30,437 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:07:30,440 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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.1, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374449},"temperature":{"tC":26.4, "tF":79.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:07","unixtime":1705374450,"uptime":4733828,"ram_size":249000,"ram_free":145116,"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-16 04:07:30,443 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374440.843887, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:07:30,444 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00266642, power1: 0, power2: 0
2024-01-16 04:07:30,445 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:07:30,445 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374450.4429924, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:07:30,448 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:07:30,451 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [46, 36, 34], Scale -1
2024-01-16 04:07:30,480 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23850, 23983, 23873, 0, 0, 0, 0], Scale -2
2024-01-16 04:07:30,500 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:07:30,531 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9449, 8399, 9359], Scale -2
2024-01-16 04:07:30,604 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016065, 3302540, 2344377, 2924310], Scale 0
2024-01-16 04:07:30,604 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.6000000000000005, 3.6, 3.4000000000000004], powers=[1057.0, 736.0, 770.0], voltages=[238.5, 239.83, 238.73000000000002], power_factors=[0.9449, 0.8399, 0.9359000000000001], imported=8016065.0, exported=4871567.0, power=2564.0, frequency=50.0)
2024-01-16 04:07:30,606 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:07:30,630 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4853], Scale -2
2024-01-16 04:07:30,653 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:07:30,729 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 30], Scale -2
2024-01-16 04:07:30,761 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4927], Scale -2
2024-01-16 04:07:30,761 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.3], power=48.53, exported=7896155.0, dc_power=49.27)
2024-01-16 04:07:30,763 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:07:30,810 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374441.4311454, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:07:30,811 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00260537, power1: 0, power2: 0
2024-01-16 04:07:30,811 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:07:30,811 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374450.8104672, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:07:30,812 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:07:30,818 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:07:30,818 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:07:30,869 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:07:30,874 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:07:30,877 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=48.53, exported=7934579.61, dc_power=None)
2024-01-16 04:07:30,878 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=48.53, exported=7934579.61, dc_power=None)
2024-01-16 04:07:30,885 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:07:30,888 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:07:30,890 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:07:30,963 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:07:30,963 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.6000000000000005, 3.6, 3.4000000000000004], powers=[1057.0, 736.0, 770.0], voltages=[238.5, 239.83, 238.73000000000002], power_factors=[0.9449, 0.8399, 0.9359000000000001], imported=8016065.0, exported=4871567.0, power=2564.0, frequency=50.0)
2024-01-16 04:07:31,152 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:07:31,153 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:07:31,156 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.4, 31.5, 31.6]A
2024-01-16 04:07:31,157 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21436.0W
2024-01-16 04:07:31,159 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:07:31,161 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:07:31,162 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:07:31,163 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:07:31.163126
2024-01-16 04:07:31,165 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 707.097744s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:07:31,167 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:07:31.166898
2024-01-16 04:07:31,169 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176533.180928s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:07:31,182 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:07:31.182096
2024-01-16 04:07:31,183 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8976.399487s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:07:31,188 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:07:31.188423
2024-01-16 04:07:31,190 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172901.855055s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:07:31,191 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:07:31,203 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:07:31,223 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:07:31,243 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374441.800913, power=2520.79, imported=3844893.683882998, exported=0)
2024-01-16 04:07:31,244 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00262296, power1: 2520.79, power2: 2515.47
2024-01-16 04:07:31,246 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.60494
2024-01-16 04:07:31,247 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.60494 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374451.2435522, power=2515.47, imported=3844900.28882545, exported=0)
2024-01-16 04:07:31,249 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:07:31,250 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:07:31,252 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:07:31,255 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.11, 239.1, 238.85]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7dc598>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:07:31,259 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:07:31,262 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:07:31,264 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1057.0, 736.0, 770.0], currents=[4.6, 3.6, 3.4], voltages=[238.5, 239.83, 238.73], power_factors=[0.94, 0.84, 0.94], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6155.0, imported=8016065.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2564.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21436.0, raw_currents_left=[30.4, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:07:31,265 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2515.47, invalid_home_consumption=0, daily_yield_home_consumption=5867.998512481, imported_home_consumption=3844900.28882545, disengageable_smarthome_power=0))
2024-01-16 04:07:31,267 - {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-16 04:07:31,270 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:07:31,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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:07:31,279 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:07:31,281 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:07:31,285 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:07:31,286 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:07:31,291 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:07:31,293 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:07:31,303 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-16 04:07:31,304 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:07:31,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-16 04:07:31,306 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:07:31,309 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:07:31,317 - {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 0x6c1cf2e0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:07:31,319 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:07:31,319 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=48.53))
2024-01-16 04:07:31,321 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=48.53))
2024-01-16 04:07:31,322 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374441, 'time': '04:07:21', 'grid': 2.564, 'house-power': 2.521, 'charging-all': 0.0, 'pv-all': -0.043, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:07:31,325 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:07:31,326 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:07:31,327 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:07:31,328 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:07:31,329 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:07:31,331 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:07:31,332 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:07:31,333 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:07:31,334 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:07:31,337 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:07:31,339 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:07:31,341 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:07:31,342 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2664.0W
2024-01-16 04:07:31,342 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2664.0W
2024-01-16 04:07:31,343 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:07:31,343 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:07:31,344 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:07:31,348 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:07:31,355 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:07:31,407 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:07:31,669 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:07:31,671 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:07:35,690 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:07:35,691 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:07:40,708 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:07:40,709 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:07:40,781 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:07:40,783 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:07:40,784 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:07:40,792 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:07:40,795 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:07:40,838 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:07:40,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":240.1, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374459},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:07","unixtime":1705374461,"uptime":4733839,"ram_size":249000,"ram_free":145116,"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-16 04:07:40,843 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374450.4429924, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:07:40,846 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00288909, power1: 0, power2: 0
2024-01-16 04:07:40,849 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2572, -1061, -737, -773], Scale 0
2024-01-16 04:07:40,850 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:07:40,856 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374460.8437238, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:07:40,857 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:07:40,895 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [46, 36, 34], Scale -1
2024-01-16 04:07:40,941 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23832, 23971, 23864, 0, 0, 0, 0], Scale -2
2024-01-16 04:07:40,970 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:07:40,990 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9449, 8399, 9380], Scale -2
2024-01-16 04:07:41,012 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016071, 3302542, 2344378, 2924312], Scale 0
2024-01-16 04:07:41,013 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.6000000000000005, 3.6, 3.4000000000000004], powers=[1061.0, 737.0, 773.0], voltages=[238.32, 239.71, 238.64000000000001], power_factors=[0.9449, 0.8399, 0.938], imported=8016071.0, exported=4871567.0, power=2572.0, frequency=50.0)
2024-01-16 04:07:41,014 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:07:41,040 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4735], Scale -2
2024-01-16 04:07:41,070 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:07:41,150 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 29], Scale -2
2024-01-16 04:07:41,170 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4807], Scale -2
2024-01-16 04:07:41,170 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.29], power=47.35, exported=7896155.0, dc_power=48.07)
2024-01-16 04:07:41,171 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:07:41,241 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374450.8104672, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:07:41,242 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00289759, power1: 0, power2: 0
2024-01-16 04:07:41,242 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:07:41,243 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374461.2417934, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:07:41,244 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:07:41,249 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:07:41,253 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:07:41,299 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:07:41,300 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:07:41,301 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:07:41,302 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.35, exported=7934579.61, dc_power=None)
2024-01-16 04:07:41,305 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:07:41,306 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.35, exported=7934579.61, dc_power=None)
2024-01-16 04:07:41,307 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:07:41,368 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:07:41,369 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.6000000000000005, 3.6, 3.4000000000000004], powers=[1061.0, 737.0, 773.0], voltages=[238.32, 239.71, 238.64000000000001], power_factors=[0.9449, 0.8399, 0.938], imported=8016071.0, exported=4871567.0, power=2572.0, frequency=50.0)
2024-01-16 04:07:41,533 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:07:41,535 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:07:41,537 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.4, 31.5, 31.6]A
2024-01-16 04:07:41,538 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21428.0W
2024-01-16 04:07:41,539 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:07:41,541 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:07:41,542 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:07:41,544 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:07:41.544010
2024-01-16 04:07:41,545 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 696.71686s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:07:41,548 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:07:41.547498
2024-01-16 04:07:41,549 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176522.800328s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:07:41,554 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:07:41.554329
2024-01-16 04:07:41,559 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8986.77172s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:07:41,561 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:07:41.561266
2024-01-16 04:07:41,566 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172891.482212s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:07:41,568 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:07:41,573 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:07:41,577 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:07:41,604 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374451.2435522, power=2515.47, imported=3844900.28882545, exported=0)
2024-01-16 04:07:41,606 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00287804, power1: 2515.47, power2: 2524.65
2024-01-16 04:07:41,612 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.25284
2024-01-16 04:07:41,614 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.25284 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374461.6045, power=2524.65, imported=3844907.5416616257, exported=0)
2024-01-16 04:07:41,625 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:07:41,627 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:07:41,629 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:07:41,631 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.1, 239.18, 238.82]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7e32e0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:07:41,633 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:07:41,634 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:07:41,636 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1061.0, 737.0, 773.0], currents=[4.6, 3.6, 3.4], voltages=[238.32, 239.71, 238.64], power_factors=[0.94, 0.84, 0.94], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6155.0, imported=8016071.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2572.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21428.0, raw_currents_left=[30.4, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:07:41,638 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2524.65, invalid_home_consumption=0, daily_yield_home_consumption=5867.998512481, imported_home_consumption=3844907.5416616257, disengageable_smarthome_power=0))
2024-01-16 04:07:41,641 - {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-16 04:07:41,642 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:07:41,644 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:07:41,647 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:07:41,648 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:07:41,649 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:07:41,650 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:07:41,651 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:07:41,652 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:07:41,653 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:07:41,659 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:07:41,661 - {control.data:245} - {INFO:MainThread} - general_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-16 04:07:41,662 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:07:41,663 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:07:41,665 - {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 0x6c1e9bc8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:07:41,671 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:07:41,672 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=47.35))
2024-01-16 04:07:41,673 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=47.35))
2024-01-16 04:07:41,678 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374451, 'time': '04:07:31', 'grid': 2.564, 'house-power': 2.515, 'charging-all': 0.0, 'pv-all': -0.049, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:07:41,681 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:07:41,687 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:07:41,688 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:07:41,689 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:07:41,689 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:07:41,690 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:07:41,693 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:07:41,694 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:07:41,696 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:07:41,701 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:07:41,703 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:07:41,705 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:07:41,706 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2672.0W
2024-01-16 04:07:41,711 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2672.0W
2024-01-16 04:07:41,712 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:07:41,713 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:07:41,725 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:07:41,727 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:07:41,732 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:07:41,793 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:07:42,097 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:07:45,119 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:07:45,120 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:07:50,131 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:07:50,132 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:07:50,180 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:07:50,182 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:07:50,189 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:07:50,192 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:07:50,193 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:07:50,251 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2560, -1056, -733, -770], Scale 0
2024-01-16 04:07:50,298 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:07:50,300 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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.1, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374468},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:07","unixtime":1705374470,"uptime":4733848,"ram_size":249000,"ram_free":145116,"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-16 04:07:50,303 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374460.8437238, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:07:50,303 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00262759, power1: 0, power2: 0
2024-01-16 04:07:50,304 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:07:50,304 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374470.3030417, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:07:50,306 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:07:50,328 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 36, 34], Scale -1
2024-01-16 04:07:50,348 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23851, 23981, 23880, 0, 0, 0, 0], Scale -2
2024-01-16 04:07:50,368 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:07:50,570 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9399, 8299, 9309], Scale -2
2024-01-16 04:07:50,621 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016080, 3302547, 2344381, 2924315], Scale 0
2024-01-16 04:07:50,622 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1056.0, 733.0, 770.0], voltages=[238.51, 239.81, 238.8], power_factors=[0.9399, 0.8299, 0.9309000000000001], imported=8016080.0, exported=4871567.0, power=2560.0, frequency=50.0)
2024-01-16 04:07:50,623 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:07:50,638 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5177], Scale -2
2024-01-16 04:07:50,658 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:07:50,719 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 30], Scale -2
2024-01-16 04:07:50,741 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5256], Scale -2
2024-01-16 04:07:50,742 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.3], power=51.77, exported=7896155.0, dc_power=52.56)
2024-01-16 04:07:50,743 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:07:50,939 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374461.2417934, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:07:50,940 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00269385, power1: 0, power2: 0
2024-01-16 04:07:50,941 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:07:50,941 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374470.939638, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:07:50,942 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:07:50,947 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:07:50,951 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:07:51,010 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:07:51,012 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:07:51,014 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=51.77, exported=7934579.61, dc_power=None)
2024-01-16 04:07:51,015 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:07:51,016 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=51.77, exported=7934579.61, dc_power=None)
2024-01-16 04:07:51,017 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:07:51,021 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:07:51,098 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:07:51,099 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1056.0, 733.0, 770.0], voltages=[238.51, 239.81, 238.8], power_factors=[0.9399, 0.8299, 0.9309000000000001], imported=8016080.0, exported=4871567.0, power=2560.0, frequency=50.0)
2024-01-16 04:07:51,296 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:07:51,304 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:07:51,318 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 31.5, 31.6]A
2024-01-16 04:07:51,323 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21440.0W
2024-01-16 04:07:51,325 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:07:51,331 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:07:51,336 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:07:51,338 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:07:51.338146
2024-01-16 04:07:51,339 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 686.922724s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:07:51,341 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:07:51.341017
2024-01-16 04:07:51,342 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176513.006809s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:07:51,344 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:07:51.343622
2024-01-16 04:07:51,345 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -8996.561013s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:07:51,347 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:07:51.347140
2024-01-16 04:07:51,350 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172881.696338s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:07:51,350 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:07:51,375 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:07:51,378 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:07:51,384 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374461.6045, power=2524.65, imported=3844907.5416616257, exported=0)
2024-01-16 04:07:51,385 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00271671, power1: 2524.65, power2: 2508.23
2024-01-16 04:07:51,385 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.83643
2024-01-16 04:07:51,386 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.83643 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374471.384651, power=2508.23, imported=3844914.3780957665, exported=0)
2024-01-16 04:07:51,388 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:07:51,389 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:07:51,389 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:07:51,390 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.24, 239.28, 239.0]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1bdb80>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:07:51,391 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:07:51,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=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:07:51,392 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1056.0, 733.0, 770.0], currents=[4.7, 3.6, 3.4], voltages=[238.51, 239.81, 238.8], power_factors=[0.94, 0.83, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6155.0, imported=8016080.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2560.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21440.0, raw_currents_left=[30.3, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:07:51,392 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2508.23, invalid_home_consumption=0, daily_yield_home_consumption=5867.998512481, imported_home_consumption=3844914.3780957665, disengageable_smarthome_power=0))
2024-01-16 04:07:51,393 - {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-16 04:07:51,394 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:07:51,394 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:07:51,395 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:07:51,396 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:07:51,396 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:07:51,397 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:07:51,397 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:07:51,398 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:07:51,398 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:07:51,398 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:07:51,399 - {control.data:245} - {INFO:MainThread} - general_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-16 04:07:51,399 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:07:51,400 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:07:51,400 - {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 0x6c1c2bf8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:07:51,401 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:07:51,401 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=51.77))
2024-01-16 04:07:51,402 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=51.77))
2024-01-16 04:07:51,402 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374461, 'time': '04:07:41', 'grid': 2.572, 'house-power': 2.525, 'charging-all': 0.0, 'pv-all': -0.047, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:07:51,403 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:07:51,403 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:07:51,403 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:07:51,404 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:07:51,404 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:07:51,405 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:07:51,405 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:07:51,405 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:07:51,406 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:07:51,409 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:07:51,411 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:07:51,414 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:07:51,415 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2660.0W
2024-01-16 04:07:51,416 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2660.0W
2024-01-16 04:07:51,418 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:07:51,420 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:07:51,421 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:07:51,434 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:07:51,445 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:07:51,526 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:07:51,963 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:07:51,979 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:07:55,993 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:07:55,994 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:08:00,006 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:08:00,006 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:08:00,042 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:08:00,044 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:08:00,050 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:08:00,052 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:08:00,062 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:08:00,094 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:08:00,097 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374478},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:08","unixtime":1705374480,"uptime":4733858,"ram_size":249000,"ram_free":145116,"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-16 04:08:00,104 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374470.3030417, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:08:00,105 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00272255, power1: 0, power2: 0
2024-01-16 04:08:00,105 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:08:00,105 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374480.104231, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:08:00,107 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:08:00,110 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2551, -1055, -729, -767], Scale 0
2024-01-16 04:08:00,128 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [46, 36, 34], Scale -1
2024-01-16 04:08:00,168 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23866, 23986, 23892, 0, 0, 0, 0], Scale -2
2024-01-16 04:08:00,188 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-16 04:08:00,309 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9430, 8379, 9380], Scale -2
2024-01-16 04:08:00,351 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016085, 3302548, 2344382, 2924316], Scale 0
2024-01-16 04:08:00,352 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.6000000000000005, 3.6, 3.4000000000000004], powers=[1055.0, 729.0, 767.0], voltages=[238.66, 239.86, 238.92000000000002], power_factors=[0.943, 0.8379000000000001, 0.938], imported=8016085.0, exported=4871567.0, power=2551.0, frequency=49.99)
2024-01-16 04:08:00,354 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:08:00,370 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4687], Scale -2
2024-01-16 04:08:00,400 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:08:00,419 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [26, 30, 29], Scale -2
2024-01-16 04:08:00,449 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4475], Scale -2
2024-01-16 04:08:00,449 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.26, 0.3, 0.29], power=46.87, exported=7896155.0, dc_power=44.75)
2024-01-16 04:08:00,451 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:08:00,520 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374470.939638, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:08:00,521 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00266123, power1: 0, power2: 0
2024-01-16 04:08:00,521 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:08:00,522 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374480.5200481, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:08:00,523 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:08:00,531 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:08:00,533 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:08:00,594 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:08:00,595 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:08:00,597 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:08:00,609 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:08:00,613 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:08:00,598 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.87, exported=7934579.61, dc_power=None)
2024-01-16 04:08:00,616 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.87, exported=7934579.61, dc_power=None)
2024-01-16 04:08:00,686 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:08:00,687 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.6000000000000005, 3.6, 3.4000000000000004], powers=[1055.0, 729.0, 767.0], voltages=[238.66, 239.86, 238.92000000000002], power_factors=[0.943, 0.8379000000000001, 0.938], imported=8016085.0, exported=4871567.0, power=2551.0, frequency=49.99)
2024-01-16 04:08:00,853 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:08:00,856 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:08:00,859 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.4, 31.5, 31.6]A
2024-01-16 04:08:00,860 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21449.0W
2024-01-16 04:08:00,863 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:08:00,865 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:08:00,866 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:08:00,868 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:08:00.868080
2024-01-16 04:08:00,869 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 677.39279s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:08:00,870 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:08:00.870265
2024-01-16 04:08:00,875 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176503.477561s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:08:00,876 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:08:00.875865
2024-01-16 04:08:00,880 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9006.093256s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:08:00,882 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:08:00.881711
2024-01-16 04:08:00,883 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172872.161767s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:08:00,884 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:08:00,887 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:08:00,891 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:08:00,904 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374471.384651, power=2508.23, imported=3844914.3780957665, exported=0)
2024-01-16 04:08:00,906 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0026445, power1: 2508.23, power2: 2504.13
2024-01-16 04:08:00,909 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.62758
2024-01-16 04:08:00,911 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.62758 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374480.904835, power=2504.13, imported=3844921.005677666, exported=0)
2024-01-16 04:08:00,913 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:08:00,916 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:08:00,917 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:08:00,919 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.29, 239.38, 239.04]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1bd238>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:08:00,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-16 04:08:00,922 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:08:00,927 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1055.0, 729.0, 767.0], currents=[4.6, 3.6, 3.4], voltages=[238.66, 239.86, 238.92], power_factors=[0.94, 0.84, 0.94], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=6155.0, imported=8016085.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2551.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21449.0, raw_currents_left=[30.4, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:08:00,929 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2504.13, invalid_home_consumption=0, daily_yield_home_consumption=5867.998512481, imported_home_consumption=3844921.005677666, disengageable_smarthome_power=0))
2024-01-16 04:08:00,931 - {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-16 04:08:00,932 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:08:00,935 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:08:00,936 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:08:00,937 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:08:00,937 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:08:00,938 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:08:00,940 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:08:00,942 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:08:00,943 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:08:00,944 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:08:00,946 - {control.data:245} - {INFO:MainThread} - general_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-16 04:08:00,947 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:08:00,948 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:08:00,949 - {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 0x6c1e1880>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:08:00,950 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:08:00,951 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=46.87))
2024-01-16 04:08:00,952 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=46.87))
2024-01-16 04:08:00,953 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374471, 'time': '04:07:51', 'grid': 2.56, 'house-power': 2.508, 'charging-all': 0.0, 'pv-all': -0.052, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:08:00,954 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:08:00,957 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:08:00,958 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:08:00,959 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:08:00,961 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:08:00,962 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:08:00,965 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:08:00,967 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:08:00,968 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:08:00,971 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:08:00,973 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:08:00,975 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:08:00,976 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2651.0W
2024-01-16 04:08:00,977 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2651.0W
2024-01-16 04:08:00,978 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:08:00,978 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:08:00,979 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:08:00,982 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:08:00,985 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:08:01,006 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:08:01,256 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:08:05,286 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:08:05,287 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:08:10,297 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:08:10,298 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:08:10,344 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:08:10,345 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:08:10,352 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:08:10,354 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:08:10,355 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:08:10,395 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:08:10,398 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374489},"temperature":{"tC":26.5, "tF":79.7}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:08","unixtime":1705374490,"uptime":4733868,"ram_size":248948,"ram_free":144540,"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-16 04:08:10,403 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374480.104231, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:08:10,404 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00286101, power1: 0, power2: 0
2024-01-16 04:08:10,405 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:08:10,407 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374490.4038706, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:08:10,409 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:08:10,575 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2564, -1071, -728, -764], Scale 0
2024-01-16 04:08:10,617 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 36, 34], Scale -1
2024-01-16 04:08:10,638 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23869, 23994, 23896, 0, 0, 0, 0], Scale -2
2024-01-16 04:08:10,789 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:08:10,840 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9449, 8360, 9369], Scale -2
2024-01-16 04:08:10,860 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016091, 3302551, 2344384, 2924318], Scale 0
2024-01-16 04:08:10,861 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1071.0, 728.0, 764.0], voltages=[238.69, 239.94, 238.96], power_factors=[0.9449, 0.8360000000000001, 0.9369], imported=8016091.0, exported=4871567.0, power=2564.0, frequency=50.0)
2024-01-16 04:08:10,863 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:08:10,898 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4102], Scale -2
2024-01-16 04:08:10,950 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:08:10,998 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [26, 31, 29], Scale -2
2024-01-16 04:08:11,020 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4165], Scale -2
2024-01-16 04:08:11,020 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.26, 0.31, 0.29], power=41.02, exported=7896155.0, dc_power=41.65)
2024-01-16 04:08:11,024 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:08:11,059 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374480.5200481, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:08:11,060 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00292765, power1: 0, power2: 0
2024-01-16 04:08:11,060 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:08:11,061 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374491.0595748, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:08:11,062 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:08:11,075 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:08:11,076 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:08:11,129 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:08:11,132 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:08:11,133 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=41.02, exported=7934579.61, dc_power=None)
2024-01-16 04:08:11,135 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=41.02, exported=7934579.61, dc_power=None)
2024-01-16 04:08:11,139 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:08:11,144 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:08:11,146 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:08:11,211 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:08:11,213 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1071.0, 728.0, 764.0], voltages=[238.69, 239.94, 238.96], power_factors=[0.9449, 0.8360000000000001, 0.9369], imported=8016091.0, exported=4871567.0, power=2564.0, frequency=50.0)
2024-01-16 04:08:11,393 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:08:11,394 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:08:11,397 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 31.5, 31.6]A
2024-01-16 04:08:11,399 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21436.0W
2024-01-16 04:08:11,401 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:08:11,402 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:08:11,404 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:08:11,406 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:08:11.406358
2024-01-16 04:08:11,408 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 666.854512s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:08:11,412 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:08:11.412167
2024-01-16 04:08:11,413 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176492.935659s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:08:11,418 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:08:11.418356
2024-01-16 04:08:11,420 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9016.635747s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:08:11,424 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:08:11.423587
2024-01-16 04:08:11,425 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172861.619891s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:08:11,427 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:08:11,438 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:08:11,465 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:08:11,478 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374480.904835, power=2504.13, imported=3844921.005677666, exported=0)
2024-01-16 04:08:11,482 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.0029372, power1: 2504.13, power2: 2522.98
2024-01-16 04:08:11,484 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.38281
2024-01-16 04:08:11,489 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.38281 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374491.4787543, power=2522.98, imported=3844928.388490921, exported=0)
2024-01-16 04:08:11,492 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:08:11,493 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:08:11,494 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:08:11,496 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.17, 239.29, 239.02]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7dca00>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:08:11,497 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:08:11,498 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:08:11,499 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1071.0, 728.0, 764.0], currents=[4.7, 3.6, 3.4], voltages=[238.69, 239.94, 238.96], power_factors=[0.94, 0.84, 0.94], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6155.0, imported=8016091.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2564.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21436.0, raw_currents_left=[30.3, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:08:11,500 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2522.98, invalid_home_consumption=0, daily_yield_home_consumption=5867.998512481, imported_home_consumption=3844928.388490921, disengageable_smarthome_power=0))
2024-01-16 04:08:11,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-16 04:08:11,503 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:08:11,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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:08:11,505 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:08:11,509 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:08:11,511 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:08:11,512 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:08:11,514 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:08:11,515 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:08:11,517 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:08:11,518 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:08:11,525 - {control.data:245} - {INFO:MainThread} - general_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-16 04:08:11,527 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:08:11,529 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:08:11,531 - {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 0x6c1c21a8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:08:11,533 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:08:11,534 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=41.02))
2024-01-16 04:08:11,536 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=41.02))
2024-01-16 04:08:11,542 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374481, 'time': '04:08:01', 'grid': 2.551, 'house-power': 2.504, 'charging-all': 0.0, 'pv-all': -0.047, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:08:11,544 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:08:11,549 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:08:11,553 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:08:11,555 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:08:11,556 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:08:11,558 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:08:11,559 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:08:11,560 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:08:11,562 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:08:11,564 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:08:11,567 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:08:11,571 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:08:11,573 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2664.0W
2024-01-16 04:08:11,575 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2664.0W
2024-01-16 04:08:11,577 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:08:11,578 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:08:11,581 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:08:11,584 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:08:11,590 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:08:11,633 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:08:12,019 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:08:12,021 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:08:15,030 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:08:15,031 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:08:20,043 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:08:20,044 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:08:20,081 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:08:20,087 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:08:20,093 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:08:20,095 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:08:20,096 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:08:20,136 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:08:20,138 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374498},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:08","unixtime":1705374500,"uptime":4733878,"ram_size":248948,"ram_free":144540,"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-16 04:08:20,143 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2563, -1069, -729, -764], Scale 0
2024-01-16 04:08:20,144 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374490.4038706, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:08:20,146 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00270565, power1: 0, power2: 0
2024-01-16 04:08:20,147 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:08:20,148 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374500.1441956, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:08:20,150 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:08:20,178 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 36, 34], Scale -1
2024-01-16 04:08:20,202 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23859, 23984, 23888, 0, 0, 0, 0], Scale -2
2024-01-16 04:08:20,320 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:08:20,364 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9440, 8339, 9350], Scale -2
2024-01-16 04:08:20,422 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016103, 3302555, 2344387, 2924321], Scale 0
2024-01-16 04:08:20,423 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1069.0, 729.0, 764.0], voltages=[238.59, 239.84, 238.88], power_factors=[0.9440000000000001, 0.8339, 0.935], imported=8016103.0, exported=4871567.0, power=2563.0, frequency=50.0)
2024-01-16 04:08:20,425 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:08:20,452 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5132], Scale -2
2024-01-16 04:08:20,489 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:08:20,564 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 29], Scale -2
2024-01-16 04:08:20,598 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5211], Scale -2
2024-01-16 04:08:20,599 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.29], power=51.32, exported=7896155.0, dc_power=52.11)
2024-01-16 04:08:20,601 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:08:20,693 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374491.0595748, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:08:20,694 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00267597, power1: 0, power2: 0
2024-01-16 04:08:20,694 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:08:20,695 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374500.693062, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:08:20,697 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:08:20,704 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:08:20,705 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:08:20,772 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:08:20,774 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:08:20,776 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=51.32, exported=7934579.61, dc_power=None)
2024-01-16 04:08:20,777 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:08:20,779 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=51.32, exported=7934579.61, dc_power=None)
2024-01-16 04:08:20,784 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:08:20,795 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:08:20,870 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:08:20,871 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1069.0, 729.0, 764.0], voltages=[238.59, 239.84, 238.88], power_factors=[0.9440000000000001, 0.8339, 0.935], imported=8016103.0, exported=4871567.0, power=2563.0, frequency=50.0)
2024-01-16 04:08:21,065 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:08:21,066 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:08:21,070 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 31.5, 31.6]A
2024-01-16 04:08:21,071 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21437.0W
2024-01-16 04:08:21,072 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:08:21,074 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:08:21,075 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:08:21,078 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:08:21.078349
2024-01-16 04:08:21,079 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 657.182521s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:08:21,081 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:08:21.081340
2024-01-16 04:08:21,082 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176483.266486s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:08:21,083 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:08:21.083456
2024-01-16 04:08:21,084 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9026.300847s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:08:21,086 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:08:21.086339
2024-01-16 04:08:21,088 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172851.957139s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:08:21,089 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:08:21,093 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:08:21,094 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:08:21,102 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374491.4787543, power=2522.98, imported=3844928.388490921, exported=0)
2024-01-16 04:08:21,105 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00267314, power1: 2522.98, power2: 2511.68
2024-01-16 04:08:21,108 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.72917
2024-01-16 04:08:21,113 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.72917 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374501.1020439, power=2511.68, imported=3844935.1176563576, exported=0)
2024-01-16 04:08:21,114 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:08:21,115 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:08:21,116 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:08:21,133 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.23, 239.3, 239.02]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7e1400>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:08: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-16 04:08: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=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:08:21,137 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1069.0, 729.0, 764.0], currents=[4.7, 3.6, 3.4], voltages=[238.59, 239.84, 238.88], power_factors=[0.94, 0.83, 0.94], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6155.0, imported=8016103.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2563.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21437.0, raw_currents_left=[30.3, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:08:21,139 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2511.68, invalid_home_consumption=0, daily_yield_home_consumption=5867.998512481, imported_home_consumption=3844935.1176563576, disengageable_smarthome_power=0))
2024-01-16 04:08: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-16 04:08:21,141 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:08:21,142 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:08:21,144 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:08:21,145 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:08:21,146 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:08:21,148 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:08:21,149 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:08: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-16 04:08: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-16 04:08: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=1, keep_charge_active_duration=40)
2024-01-16 04:08:21,156 - {control.data:245} - {INFO:MainThread} - general_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-16 04:08:21,158 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:08:21,159 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:08:21,163 - {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 0x701541c0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:08:21,164 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:08:21,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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=51.32))
2024-01-16 04:08:21,168 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=51.32))
2024-01-16 04:08:21,169 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374491, 'time': '04:08:11', 'grid': 2.564, 'house-power': 2.523, 'charging-all': 0.0, 'pv-all': -0.041, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:08:21,171 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:08:21,172 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:08:21,173 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:08:21,174 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:08:21,174 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:08:21,175 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:08:21,176 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:08:21,178 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:08:21,179 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:08:21,182 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:08:21,185 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:08:21,187 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:08:21,188 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2663.0W
2024-01-16 04:08:21,190 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2663.0W
2024-01-16 04:08:21,194 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:08:21,197 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:08:21,199 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:08:21,208 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:08:21,210 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:08:21,233 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:08:21,489 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:08:25,567 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:08:25,569 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:08:30,582 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:08:30,583 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:08:30,627 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:08:30,628 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:08:30,635 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:08:30,637 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:08:30,679 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:08:30,684 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:08:30,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.2, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374509},"temperature":{"tC":26.4, "tF":79.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:08","unixtime":1705374511,"uptime":4733889,"ram_size":249000,"ram_free":145116,"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-16 04:08:30,695 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374500.1441956, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:08:30,695 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00293077, power1: 0, power2: 0
2024-01-16 04:08:30,696 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:08:30,696 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374510.6949747, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:08:30,698 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:08:30,748 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2565, -1069, -729, -766], Scale 0
2024-01-16 04:08:30,800 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 36, 34], Scale -1
2024-01-16 04:08:30,820 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23863, 23987, 23897, 0, 0, 0, 0], Scale -2
2024-01-16 04:08:30,839 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:08:30,859 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9419, 8330, 9340], Scale -2
2024-01-16 04:08:30,923 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016108, 3302558, 2344389, 2924323], Scale 0
2024-01-16 04:08:30,925 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1069.0, 729.0, 766.0], voltages=[238.63, 239.87, 238.97], power_factors=[0.9419, 0.833, 0.934], imported=8016108.0, exported=4871567.0, power=2565.0, frequency=50.0)
2024-01-16 04:08:30,930 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:08:31,000 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4912], Scale -2
2024-01-16 04:08:31,019 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:08:31,140 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 29], Scale -2
2024-01-16 04:08:31,158 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4995], Scale -2
2024-01-16 04:08:31,159 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.29], power=49.120000000000005, exported=7896155.0, dc_power=49.95)
2024-01-16 04:08:31,165 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:08:31,210 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374500.693062, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:08:31,211 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00292143, power1: 0, power2: 0
2024-01-16 04:08:31,211 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:08:31,212 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374511.2101994, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:08:31,215 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:08:31,232 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:08:31,233 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:08:31,279 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:08:31,280 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:08:31,284 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=49.120000000000005, exported=7934579.61, dc_power=None)
2024-01-16 04:08:31,285 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:08:31,287 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=49.120000000000005, exported=7934579.61, dc_power=None)
2024-01-16 04:08:31,290 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:08:31,297 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:08:31,347 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:08:31,348 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1069.0, 729.0, 766.0], voltages=[238.63, 239.87, 238.97], power_factors=[0.9419, 0.833, 0.934], imported=8016108.0, exported=4871567.0, power=2565.0, frequency=50.0)
2024-01-16 04:08:31,530 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:08:31,534 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:08:31,545 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 31.5, 31.6]A
2024-01-16 04:08:31,548 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21435.0W
2024-01-16 04:08:31,554 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:08:31,569 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:08:31,576 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:08:31,585 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:08:31.585015
2024-01-16 04:08:31,586 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 646.675855s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:08:31,600 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:08:31.600474
2024-01-16 04:08:31,601 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176472.747352s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:08:31,609 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:08:31.608680
2024-01-16 04:08:31,612 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9036.826071s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:08:31,625 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:08:31.624624
2024-01-16 04:08:31,630 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172841.418854s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:08:31,631 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:08:31,634 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:08:31,641 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:08:31,645 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374501.1020439, power=2511.68, imported=3844935.1176563576, exported=0)
2024-01-16 04:08:31,648 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00292874, power1: 2511.68, power2: 2515.88
2024-01-16 04:08:31,650 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.36221
2024-01-16 04:08:31,653 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.36221 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374511.6455157, power=2515.88, imported=3844942.4798698504, exported=0)
2024-01-16 04:08:31,698 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:08:31,699 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:08:31,705 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:08:31,707 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.27, 239.28, 239.06]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1cb688>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:08:31,709 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:08:31,718 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:08:31,723 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1069.0, 729.0, 766.0], currents=[4.7, 3.6, 3.4], voltages=[238.63, 239.87, 238.97], power_factors=[0.94, 0.83, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6155.0, imported=8016108.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2565.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21435.0, raw_currents_left=[30.3, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:08:31,725 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2515.88, invalid_home_consumption=0, daily_yield_home_consumption=5867.998512481, imported_home_consumption=3844942.4798698504, disengageable_smarthome_power=0))
2024-01-16 04:08:31,726 - {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-16 04:08:31,728 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:08:31,730 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:08:31,731 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:08:31,733 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:08:31,735 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:08:31,736 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:08:31,737 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:08:31,738 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:08:31,738 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:08:31,740 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:08:31,742 - {control.data:245} - {INFO:MainThread} - general_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-16 04:08:31,743 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:08:31,744 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:08:31,746 - {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 0x6c1c87a8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:08:31,748 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:08:31,750 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=49.12))
2024-01-16 04:08:31,751 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=49.12))
2024-01-16 04:08:31,752 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374501, 'time': '04:08:21', 'grid': 2.563, 'house-power': 2.512, 'charging-all': 0.0, 'pv-all': -0.051, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:08:31,754 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:08:31,756 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:08:31,767 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:08:31,768 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:08:31,769 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:08:31,771 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:08:31,773 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:08:31,775 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:08:31,777 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:08:31,780 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:08:31,782 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:08:31,785 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:08:31,786 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2665.0W
2024-01-16 04:08:31,787 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2665.0W
2024-01-16 04:08:31,789 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:08:31,790 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:08:31,792 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:08:31,798 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:08:31,805 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:08:31,850 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:08:32,204 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:08:32,206 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:08:35,214 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:08:40,227 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:08:40,228 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:08:40,267 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:08:40,268 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:08:40,277 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:08:40,282 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:08:40,285 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:08:40,333 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:08:40,336 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":240.3, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374518},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:08","unixtime":1705374520,"uptime":4733898,"ram_size":249000,"ram_free":145116,"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-16 04:08:40,340 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374510.6949747, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:08:40,342 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2561, -1066, -728, -766], Scale 0
2024-01-16 04:08:40,343 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00267938, power1: 0, power2: 0
2024-01-16 04:08:40,345 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:08:40,346 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374520.3407404, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:08:40,348 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:08:40,390 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 36, 34], Scale -1
2024-01-16 04:08:40,418 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23867, 23982, 23885, 0, 0, 0, 0], Scale -2
2024-01-16 04:08:40,438 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:08:40,532 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9419, 8299, 9319], Scale -2
2024-01-16 04:08:40,570 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016114, 3302560, 2344390, 2924325], Scale 0
2024-01-16 04:08:40,571 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1066.0, 728.0, 766.0], voltages=[238.67000000000002, 239.82, 238.85], power_factors=[0.9419, 0.8299, 0.9319], imported=8016114.0, exported=4871567.0, power=2561.0, frequency=50.0)
2024-01-16 04:08:40,572 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:08:40,603 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4758], Scale -2
2024-01-16 04:08:40,642 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:08:40,669 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 29, 29], Scale -2
2024-01-16 04:08:40,688 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4456], Scale -2
2024-01-16 04:08:40,689 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.29, 0.29], power=47.58, exported=7896155.0, dc_power=44.56)
2024-01-16 04:08:40,691 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:08:40,761 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374511.2101994, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:08:40,762 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00265307, power1: 0, power2: 0
2024-01-16 04:08:40,762 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:08:40,762 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374520.7612505, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:08:40,763 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:08:40,782 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:08:40,782 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:08:40,823 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:08:40,825 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:08:40,828 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:08:40,840 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:08:40,842 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:08:40,832 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.58, exported=7934579.61, dc_power=None)
2024-01-16 04:08:40,847 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.58, exported=7934579.61, dc_power=None)
2024-01-16 04:08:40,903 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:08:40,904 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1066.0, 728.0, 766.0], voltages=[238.67000000000002, 239.82, 238.85], power_factors=[0.9419, 0.8299, 0.9319], imported=8016114.0, exported=4871567.0, power=2561.0, frequency=50.0)
2024-01-16 04:08:41,109 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:08:41,115 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:08:41,128 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 31.5, 31.6]A
2024-01-16 04:08:41,130 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21439.0W
2024-01-16 04:08:41,132 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:08:41,138 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:08:41,144 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:08:41,148 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:08:41.148366
2024-01-16 04:08:41,150 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 637.112504s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:08:41,151 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:08:41.151464
2024-01-16 04:08:41,153 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176463.196362s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:08:41,154 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:08:41.154493
2024-01-16 04:08:41,159 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9046.371884s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:08:41,162 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:08:41.162192
2024-01-16 04:08:41,164 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172831.881286s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:08:41,164 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:08:41,170 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:08:41,197 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:08:41,218 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374511.6455157, power=2515.88, imported=3844942.4798698504, exported=0)
2024-01-16 04:08:41,223 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00265922, power1: 2515.88, power2: 2513.42
2024-01-16 04:08:41,224 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.687
2024-01-16 04:08:41,226 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.687 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374521.2186937, power=2513.42, imported=3844949.1668676813, exported=0)
2024-01-16 04:08:41,231 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:08:41,234 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:08:41,236 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:08:41,237 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.28, 239.29, 239.06]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1ca568>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:08:41,238 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:08:41,241 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:08:41,245 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1066.0, 728.0, 766.0], currents=[4.7, 3.6, 3.4], voltages=[238.67, 239.82, 238.85], power_factors=[0.94, 0.83, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6155.0, imported=8016114.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2561.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21439.0, raw_currents_left=[30.3, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:08:41,247 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2513.42, invalid_home_consumption=0, daily_yield_home_consumption=5867.998512481, imported_home_consumption=3844949.1668676813, disengageable_smarthome_power=0))
2024-01-16 04:08:41,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-16 04:08:41,253 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:08:41,255 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:08:41,260 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:08:41,262 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:08:41,263 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:08:41,264 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:08:41,266 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:08:41,271 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:08:41,274 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:08:41,277 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:08:41,278 - {control.data:245} - {INFO:MainThread} - general_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-16 04:08:41,279 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:08:41,280 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:08:41,281 - {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 0x6c1e9760>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:08:41,282 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:08:41,283 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=47.58))
2024-01-16 04:08:41,284 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=47.58))
2024-01-16 04:08:41,285 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374511, 'time': '04:08:31', 'grid': 2.565, 'house-power': 2.516, 'charging-all': 0.0, 'pv-all': -0.049, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:08:41,285 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:08:41,286 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:08:41,286 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:08:41,288 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:08:41,289 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:08:41,289 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:08:41,290 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:08:41,290 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:08:41,291 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:08:41,293 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:08:41,294 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:08:41,297 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:08:41,297 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2661.0W
2024-01-16 04:08:41,298 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2661.0W
2024-01-16 04:08:41,298 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:08:41,299 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:08:41,299 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:08:41,304 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:08:41,327 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:08:41,351 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:08:41,624 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:08:41,626 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:08:45,652 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:08:45,653 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:08:50,666 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:08:50,667 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:08:50,744 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:08:50,746 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:08:50,747 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:08:50,754 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:08:50,758 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:08:50,781 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2568, -1071, -728, -768], Scale 0
2024-01-16 04:08:50,799 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 36, 34], Scale -1
2024-01-16 04:08:50,800 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:08:50,806 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374529},"temperature":{"tC":26.5, "tF":79.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:08","unixtime":1705374531,"uptime":4733909,"ram_size":249000,"ram_free":145116,"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-16 04:08:50,808 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374520.3407404, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:08:50,808 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00290759, power1: 0, power2: 0
2024-01-16 04:08:50,809 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:08:50,809 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374530.8080597, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:08:50,810 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:08:50,824 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23862, 23981, 23884, 0, 0, 0, 0], Scale -2
2024-01-16 04:08:50,869 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:08:50,889 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9409, 8309, 9319], Scale -2
2024-01-16 04:08:50,921 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016120, 3302562, 2344392, 2924326], Scale 0
2024-01-16 04:08:50,922 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1071.0, 728.0, 768.0], voltages=[238.62, 239.81, 238.84], power_factors=[0.9409000000000001, 0.8309000000000001, 0.9319], imported=8016120.0, exported=4871567.0, power=2568.0, frequency=50.0)
2024-01-16 04:08:50,924 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:08:50,950 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4173], Scale -2
2024-01-16 04:08:50,975 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:08:51,000 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 30, 30], Scale -2
2024-01-16 04:08:51,019 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5391], Scale -2
2024-01-16 04:08:51,019 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.3, 0.3], power=41.730000000000004, exported=7896155.0, dc_power=53.910000000000004)
2024-01-16 04:08:51,022 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:08:51,059 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374520.7612505, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:08:51,060 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00286059, power1: 0, power2: 0
2024-01-16 04:08:51,060 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:08:51,060 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374531.0593698, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:08:51,062 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:08:51,073 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:08:51,074 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:08:51,118 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:08:51,119 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:08:51,120 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=41.730000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:08:51,122 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:08:51,123 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=41.730000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:08:51,124 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:08:51,127 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:08:51,188 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:08:51,190 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1071.0, 728.0, 768.0], voltages=[238.62, 239.81, 238.84], power_factors=[0.9409000000000001, 0.8309000000000001, 0.9319], imported=8016120.0, exported=4871567.0, power=2568.0, frequency=50.0)
2024-01-16 04:08:51,355 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:08:51,357 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:08:51,359 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 31.5, 31.6]A
2024-01-16 04:08:51,360 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21432.0W
2024-01-16 04:08:51,362 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:08:51,363 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:08:51,365 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:08:51,366 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:08:51.365952
2024-01-16 04:08:51,367 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 626.894918s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:08:51,368 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:08:51.368013
2024-01-16 04:08:51,369 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176452.979813s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:08:51,370 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:08:51.370173
2024-01-16 04:08:51,371 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9056.587564s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:08:51,372 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:08:51.372402
2024-01-16 04:08:51,373 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172821.671076s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:08:51,374 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:08:51,381 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:08:51,381 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:08:51,386 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374521.2186937, power=2513.42, imported=3844949.1668676813, exported=0)
2024-01-16 04:08:51,387 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00282437, power1: 2513.42, power2: 2526.27
2024-01-16 04:08:51,388 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.11697
2024-01-16 04:08:51,388 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.11697 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374531.38642, power=2526.27, imported=3844956.283838299, exported=0)
2024-01-16 04:08:51,391 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:08:51,392 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:08:51,393 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:08:51,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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.27, 239.28, 239.08]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1bd940>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:08:51,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-16 04:08:51,396 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:08:51,397 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1071.0, 728.0, 768.0], currents=[4.7, 3.6, 3.4], voltages=[238.62, 239.81, 238.84], power_factors=[0.94, 0.83, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6155.0, imported=8016120.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2568.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21432.0, raw_currents_left=[30.3, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:08:51,398 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2526.27, invalid_home_consumption=0, daily_yield_home_consumption=5867.998512481, imported_home_consumption=3844956.283838299, disengageable_smarthome_power=0))
2024-01-16 04:08:51,399 - {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-16 04:08:51,400 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:08:51,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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:08:51,403 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:08:51,403 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:08:51,405 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:08:51,406 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:08:51,407 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:08:51,408 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:08:51,409 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:08:51,412 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:08:51,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-16 04:08:51,417 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:08:51,421 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:08:51,424 - {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 0x6c1bf2c8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:08:51,429 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:08:51,430 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=41.73))
2024-01-16 04:08:51,430 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=41.73))
2024-01-16 04:08:51,431 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374521, 'time': '04:08:41', 'grid': 2.561, 'house-power': 2.513, 'charging-all': 0.0, 'pv-all': -0.048, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:08:51,435 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:08:51,440 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:08:51,445 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:08:51,450 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:08:51,452 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:08:51,453 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:08:51,454 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:08:51,468 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:08:51,472 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:08:51,481 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:08:51,484 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:08:51,488 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:08:51,489 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2668.0W
2024-01-16 04:08:51,491 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2668.0W
2024-01-16 04:08:51,492 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:08:51,493 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:08:51,502 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:08:51,508 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:08:51,511 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:08:51,539 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:08:51,800 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:08:55,890 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:08:55,893 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:09:00,906 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:09:00,908 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:09:00,976 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:09:00,977 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:09:00,979 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:09:00,985 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:09:00,988 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:09:01,029 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:09:01,032 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374539},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:09","unixtime":1705374541,"uptime":4733919,"ram_size":248944,"ram_free":142840,"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-16 04:09:01,041 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374530.8080597, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:09:01,045 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00284254, power1: 0, power2: 0
2024-01-16 04:09:01,049 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:09:01,049 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374541.041216, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:09:01,053 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:09:01,210 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2571, -1070, -731, -769], Scale 0
2024-01-16 04:09:01,235 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 36, 34], Scale -1
2024-01-16 04:09:01,343 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23863, 23984, 23880, 0, 0, 0, 0], Scale -2
2024-01-16 04:09:01,368 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:09:01,500 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9440, 8349, 9350], Scale -2
2024-01-16 04:09:01,541 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016131, 3302567, 2344395, 2924330], Scale 0
2024-01-16 04:09:01,542 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1070.0, 731.0, 769.0], voltages=[238.63, 239.84, 238.8], power_factors=[0.9440000000000001, 0.8349, 0.935], imported=8016131.0, exported=4871567.0, power=2571.0, frequency=50.0)
2024-01-16 04:09:01,544 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:09:01,595 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4292], Scale -2
2024-01-16 04:09:01,620 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:09:01,677 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [26, 29, 30], Scale -2
2024-01-16 04:09:01,714 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4608], Scale -2
2024-01-16 04:09:01,715 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.26, 0.29, 0.3], power=42.92, exported=7896155.0, dc_power=46.08)
2024-01-16 04:09:01,720 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:09:01,815 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374531.0593698, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:09:01,817 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00298782, power1: 0, power2: 0
2024-01-16 04:09:01,818 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:09:01,819 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374541.8155344, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:09:01,822 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:09:01,827 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:09:01,829 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:09:01,981 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:09:01,982 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:09:01,985 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:09:01,997 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=42.92, exported=7934579.61, dc_power=None)
2024-01-16 04:09:02,000 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:09:02,002 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=42.92, exported=7934579.61, dc_power=None)
2024-01-16 04:09:02,003 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:09:02,069 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:09:02,070 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1070.0, 731.0, 769.0], voltages=[238.63, 239.84, 238.8], power_factors=[0.9440000000000001, 0.8349, 0.935], imported=8016131.0, exported=4871567.0, power=2571.0, frequency=50.0)
2024-01-16 04:09:02,255 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:09:02,257 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:09:02,260 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 31.5, 31.6]A
2024-01-16 04:09:02,261 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21429.0W
2024-01-16 04:09:02,262 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:09:02,266 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:09:02,267 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:09:02,269 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:09:02.268599
2024-01-16 04:09:02,270 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 615.992271s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:09:02,273 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:09:02.272557
2024-01-16 04:09:02,276 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176442.075269s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:09:02,284 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:09:02.284121
2024-01-16 04:09:02,292 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9067.501512s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:09:02,295 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:09:02.295466
2024-01-16 04:09:02,297 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172810.748012s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:09:02,298 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:09:02,310 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:09:02,316 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:09:02,345 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374531.38642, power=2526.27, imported=3844956.283838299, exported=0)
2024-01-16 04:09:02,348 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00304408, power1: 2526.27, power2: 2528.08
2024-01-16 04:09:02,351 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.69293
2024-01-16 04:09:02,351 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.69293 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374542.3451235, power=2528.08, imported=3844963.9767720667, exported=0)
2024-01-16 04:09:02,355 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:09:02,356 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:09:02,358 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:09:02,360 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.13, 239.22, 238.92]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1ebb50>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:09:02,361 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:09:02,362 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:09:02,369 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1070.0, 731.0, 769.0], currents=[4.7, 3.6, 3.4], voltages=[238.63, 239.84, 238.8], power_factors=[0.94, 0.83, 0.94], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6155.0, imported=8016131.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2571.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21429.0, raw_currents_left=[30.3, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:09:02,371 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2528.08, invalid_home_consumption=0, daily_yield_home_consumption=5867.998512481, imported_home_consumption=3844963.9767720667, disengageable_smarthome_power=0))
2024-01-16 04:09:02,372 - {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-16 04:09:02,373 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:09:02,375 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:09:02,382 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:09:02,384 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:09:02,385 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:09:02,386 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:09:02,389 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:09:02,391 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:09:02,392 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:09:02,393 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:09:02,394 - {control.data:245} - {INFO:MainThread} - general_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-16 04:09:02,398 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:09:02,403 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:09:02,411 - {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 0x6c1bf148>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:09:02,414 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:09:02,415 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=42.92))
2024-01-16 04:09:02,417 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=42.92))
2024-01-16 04:09:02,425 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374531, 'time': '04:08:51', 'grid': 2.568, 'house-power': 2.526, 'charging-all': 0.0, 'pv-all': -0.042, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:09:02,426 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:09:02,427 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:09:02,428 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:09:02,429 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:09:02,431 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:09:02,431 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:09:02,432 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:09:02,433 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:09:02,433 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:09:02,435 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:09:02,437 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:09:02,439 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:09:02,439 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2671.0W
2024-01-16 04:09:02,440 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2671.0W
2024-01-16 04:09:02,440 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:09:02,441 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:09:02,441 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:09:02,443 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:09:02,452 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:09:02,499 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:09:02,762 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:09:02,764 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:09:05,773 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:09:05,775 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:09:10,791 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:09:10,792 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:09:10,867 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:09:10,868 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:09:10,876 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:09:10,878 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:09:10,883 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:09:10,922 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:09:10,925 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":240.0, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374549},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:09","unixtime":1705374551,"uptime":4733929,"ram_size":248948,"ram_free":144540,"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-16 04:09:10,929 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374541.041216, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:09:10,930 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00274667, power1: 0, power2: 0
2024-01-16 04:09:10,931 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:09:10,932 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374550.929221, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:09:10,935 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:09:10,951 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2570, -1070, -732, -766], Scale 0
2024-01-16 04:09:10,970 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 36, 34], Scale -1
2024-01-16 04:09:10,992 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23848, 23969, 23868, 0, 0, 0, 0], Scale -2
2024-01-16 04:09:11,019 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:09:11,080 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9449, 8379, 9369], Scale -2
2024-01-16 04:09:11,100 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016137, 3302570, 2344397, 2924331], Scale 0
2024-01-16 04:09:11,101 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1070.0, 732.0, 766.0], voltages=[238.48000000000002, 239.69, 238.68], power_factors=[0.9449, 0.8379000000000001, 0.9369], imported=8016137.0, exported=4871567.0, power=2570.0, frequency=50.0)
2024-01-16 04:09:11,102 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:09:11,120 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4277], Scale -2
2024-01-16 04:09:11,139 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:09:11,159 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 30], Scale -2
2024-01-16 04:09:11,240 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4879], Scale -2
2024-01-16 04:09:11,241 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.3], power=42.77, exported=7896155.0, dc_power=48.79)
2024-01-16 04:09:11,242 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:09:11,279 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374541.8155344, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:09:11,280 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00262892, power1: 0, power2: 0
2024-01-16 04:09:11,280 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:09:11,281 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374551.2796643, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:09:11,281 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:09:11,286 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:09:11,287 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:09:11,335 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:09:11,338 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:09:11,339 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=42.77, exported=7934579.61, dc_power=None)
2024-01-16 04:09:11,340 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=42.77, exported=7934579.61, dc_power=None)
2024-01-16 04:09:11,345 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:09:11,346 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:09:11,347 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:09:11,397 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:09:11,397 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1070.0, 732.0, 766.0], voltages=[238.48000000000002, 239.69, 238.68], power_factors=[0.9449, 0.8379000000000001, 0.9369], imported=8016137.0, exported=4871567.0, power=2570.0, frequency=50.0)
2024-01-16 04:09:11,557 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:09:11,558 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:09:11,567 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 31.5, 31.6]A
2024-01-16 04:09:11,569 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21430.0W
2024-01-16 04:09:11,570 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:09:11,572 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:09:11,574 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:09:11,576 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:09:11.575385
2024-01-16 04:09:11,577 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 606.685485s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:09:11,580 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:09:11.579718
2024-01-16 04:09:11,581 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176432.768108s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:09:11,583 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:09:11.582766
2024-01-16 04:09:11,584 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9076.800157s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:09:11,586 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:09:11.586169
2024-01-16 04:09:11,587 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172801.457309s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:09:11,593 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:09:11,598 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:09:11,600 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:09:11,615 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374542.3451235, power=2528.08, imported=3844963.9767720667, exported=0)
2024-01-16 04:09:11,617 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00257506, power1: 2528.08, power2: 2527.23
2024-01-16 04:09:11,618 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.50887
2024-01-16 04:09:11,620 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.50887 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374551.6153445, power=2527.23, imported=3844970.4856388583, exported=0)
2024-01-16 04:09:11,626 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:09:11,631 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:09:11,638 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:09:11,640 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.07, 239.15, 238.93]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1ef238>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:09:11,642 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:09:11,643 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:09:11,645 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1070.0, 732.0, 766.0], currents=[4.7, 3.6, 3.4], voltages=[238.48, 239.69, 238.68], power_factors=[0.94, 0.84, 0.94], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6155.0, imported=8016137.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2570.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21430.0, raw_currents_left=[30.3, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:09:11,647 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2527.23, invalid_home_consumption=0, daily_yield_home_consumption=5867.998512481, imported_home_consumption=3844970.4856388583, disengageable_smarthome_power=0))
2024-01-16 04:09:11,649 - {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-16 04:09:11,651 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:09:11,653 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:09:11,654 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:09:11,656 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:09:11,664 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:09:11,668 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:09:11,671 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:09:11,672 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:09:11,675 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:09:11,676 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:09:11,677 - {control.data:245} - {INFO:MainThread} - general_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-16 04:09:11,679 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:09:11,681 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:09:11,696 - {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 0x6c1e92c8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:09:11,699 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:09:11,700 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=42.77))
2024-01-16 04:09:11,702 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=42.77))
2024-01-16 04:09:11,706 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374542, 'time': '04:09:02', 'grid': 2.571, 'house-power': 2.528, 'charging-all': 0.0, 'pv-all': -0.043, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:09:11,708 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:09:11,711 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:09:11,712 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:09:11,716 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:09:11,718 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:09:11,719 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:09:11,720 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:09:11,724 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:09:11,725 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:09:11,730 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:09:11,733 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:09:11,738 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:09:11,740 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2670.0W
2024-01-16 04:09:11,741 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2670.0W
2024-01-16 04:09:11,743 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:09:11,744 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:09:11,747 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:09:11,757 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:09:11,766 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:09:11,805 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:09:12,129 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:09:15,188 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:09:15,189 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:09:20,201 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:09:20,202 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:09:20,248 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:09:20,249 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:09:20,257 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:09:20,258 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:09:20,261 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:09:20,294 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2577, -1071, -733, -771], Scale 0
2024-01-16 04:09:20,303 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:09:20,305 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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.0, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374558},"temperature":{"tC":26.5, "tF":79.7}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:09","unixtime":1705374560,"uptime":4733938,"ram_size":248948,"ram_free":144540,"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":-72},"ws":{"connected":false}}

2024-01-16 04:09:20,308 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374550.929221, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:09:20,309 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00260526, power1: 0, power2: 0
2024-01-16 04:09:20,309 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:09:20,310 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374560.308143, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:09:20,311 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:09:20,319 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 36, 34], Scale -1
2024-01-16 04:09:20,438 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23832, 23953, 23856, 0, 0, 0, 0], Scale -2
2024-01-16 04:09:20,490 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:09:20,518 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9459, 8410, 9380], Scale -2
2024-01-16 04:09:20,539 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016143, 3302572, 2344399, 2924333], Scale 0
2024-01-16 04:09:20,540 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1071.0, 733.0, 771.0], voltages=[238.32, 239.53, 238.56], power_factors=[0.9459000000000001, 0.8410000000000001, 0.938], imported=8016143.0, exported=4871567.0, power=2577.0, frequency=50.0)
2024-01-16 04:09:20,542 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:09:20,557 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4698], Scale -2
2024-01-16 04:09:20,617 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:09:20,658 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 31], Scale -2
2024-01-16 04:09:20,680 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4769], Scale -2
2024-01-16 04:09:20,681 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.31], power=46.980000000000004, exported=7896155.0, dc_power=47.69)
2024-01-16 04:09:20,682 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:09:20,820 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374551.2796643, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:09:20,821 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00265022, power1: 0, power2: 0
2024-01-16 04:09:20,821 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:09:20,822 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374560.8204687, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:09:20,823 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:09:20,837 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:09:20,843 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:09:20,886 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:09:20,887 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:09:20,889 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:09:20,890 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.980000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:09:20,897 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:09:20,901 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.980000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:09:20,902 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:09:20,972 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:09:20,973 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1071.0, 733.0, 771.0], voltages=[238.32, 239.53, 238.56], power_factors=[0.9459000000000001, 0.8410000000000001, 0.938], imported=8016143.0, exported=4871567.0, power=2577.0, frequency=50.0)
2024-01-16 04:09:21,149 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:09:21,151 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:09:21,153 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 31.5, 31.6]A
2024-01-16 04:09:21,156 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21423.0W
2024-01-16 04:09:21,157 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:09:21,160 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:09:21,162 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:09:21,164 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:09:21.163757
2024-01-16 04:09:21,165 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 597.097113s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:09:21,167 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:09:21.167207
2024-01-16 04:09:21,168 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176423.180619s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:09:21,171 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:09:21.170895
2024-01-16 04:09:21,172 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9086.388286s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:09:21,174 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:09:21.173852
2024-01-16 04:09:21,176 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172791.869626s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:09:21,177 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:09:21,182 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:09:21,184 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:09:21,205 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374551.6153445, power=2527.23, imported=3844970.4856388583, exported=0)
2024-01-16 04:09:21,208 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00266402, power1: 2527.23, power2: 2530.02
2024-01-16 04:09:21,211 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.7363
2024-01-16 04:09:21,213 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.7363 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374561.205802, power=2530.02, imported=3844977.2219362035, exported=0)
2024-01-16 04:09:21,215 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:09:21,218 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:09:21,220 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:09:21,222 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.05, 239.02, 238.83]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1ef820>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:09:21,224 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:09:21,226 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:09:21,228 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1071.0, 733.0, 771.0], currents=[4.7, 3.6, 3.4], voltages=[238.32, 239.53, 238.56], power_factors=[0.95, 0.84, 0.94], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6155.0, imported=8016143.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2577.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21423.0, raw_currents_left=[30.3, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:09:21,230 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2530.02, invalid_home_consumption=0, daily_yield_home_consumption=5867.998512481, imported_home_consumption=3844977.2219362035, disengageable_smarthome_power=0))
2024-01-16 04:09:21,231 - {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-16 04:09:21,233 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:09:21,235 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:09:21,240 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:09:21,242 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:09:21,243 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:09:21,244 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:09:21,247 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:09:21,249 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:09:21,250 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:09:21,252 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:09:21,254 - {control.data:245} - {INFO:MainThread} - general_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-16 04:09:21,256 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:09:21,257 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:09:21,260 - {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 0x6c1ebd78>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:09:21,261 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:09:21,262 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=46.98))
2024-01-16 04:09:21,264 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=46.98))
2024-01-16 04:09:21,266 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374551, 'time': '04:09:11', 'grid': 2.57, 'house-power': 2.527, 'charging-all': 0.0, 'pv-all': -0.043, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:09:21,268 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:09:21,271 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:09:21,272 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:09:21,274 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:09:21,274 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:09:21,275 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:09:21,276 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:09:21,278 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:09:21,279 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:09:21,285 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:09:21,290 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:09:21,293 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:09:21,297 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2677.0W
2024-01-16 04:09:21,298 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2677.0W
2024-01-16 04:09:21,300 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:09:21,301 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:09:21,302 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:09:21,306 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:09:21,315 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:09:21,360 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:09:21,657 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:09:21,658 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:09:25,669 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:09:25,670 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:09:30,684 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:09:30,685 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:09:30,761 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:09:30,763 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:09:30,764 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:09:30,775 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:09:30,780 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:09:30,810 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2574, -1070, -732, -771], Scale 0
2024-01-16 04:09:30,825 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:09:30,828 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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.0, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374569},"temperature":{"tC":26.5, "tF":79.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:09","unixtime":1705374571,"uptime":4733949,"ram_size":249000,"ram_free":145116,"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-16 04:09:30,832 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374560.308143, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:09:30,834 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00292339, power1: 0, power2: 0
2024-01-16 04:09:30,837 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:09:30,839 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374570.8323572, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:09:30,842 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:09:30,851 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 36, 34], Scale -1
2024-01-16 04:09:30,869 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23838, 23966, 23869, 0, 0, 0, 0], Scale -2
2024-01-16 04:09:30,889 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:09:30,931 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9430, 8339, 9309], Scale -2
2024-01-16 04:09:30,971 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016148, 3302574, 2344400, 2924335], Scale 0
2024-01-16 04:09:30,972 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1070.0, 732.0, 771.0], voltages=[238.38, 239.66, 238.69], power_factors=[0.943, 0.8339, 0.9309000000000001], imported=8016148.0, exported=4871567.0, power=2574.0, frequency=50.0)
2024-01-16 04:09:30,973 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:09:30,999 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4835], Scale -2
2024-01-16 04:09:31,030 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:09:31,079 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [26, 31, 30], Scale -2
2024-01-16 04:09:31,098 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5211], Scale -2
2024-01-16 04:09:31,098 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.26, 0.31, 0.3], power=48.35, exported=7896155.0, dc_power=52.11)
2024-01-16 04:09:31,100 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:09:31,138 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374560.8204687, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:09:31,138 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00286598, power1: 0, power2: 0
2024-01-16 04:09:31,139 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:09:31,139 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374571.137985, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:09:31,140 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:09:31,147 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:09:31,149 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:09:31,193 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:09:31,194 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:09:31,196 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=48.35, exported=7934579.61, dc_power=None)
2024-01-16 04:09:31,199 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=48.35, exported=7934579.61, dc_power=None)
2024-01-16 04:09:31,205 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:09:31,206 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:09:31,208 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:09:31,267 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:09:31,268 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1070.0, 732.0, 771.0], voltages=[238.38, 239.66, 238.69], power_factors=[0.943, 0.8339, 0.9309000000000001], imported=8016148.0, exported=4871567.0, power=2574.0, frequency=50.0)
2024-01-16 04:09:31,431 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:09:31,433 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:09:31,436 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 31.5, 31.6]A
2024-01-16 04:09:31,436 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21426.0W
2024-01-16 04:09:31,437 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:09:31,440 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:09:31,441 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:09:31,443 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:09:31.443233
2024-01-16 04:09:31,445 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 586.817637s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:09:31,447 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:09:31.446669
2024-01-16 04:09:31,448 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176412.901157s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:09:31,450 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:09:31.450520
2024-01-16 04:09:31,451 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9096.667911s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:09:31,452 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:09:31.452455
2024-01-16 04:09:31,454 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172781.591023s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:09:31,455 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:09:31,459 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:09:31,462 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:09:31,471 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374561.205802, power=2530.02, imported=3844977.2219362035, exported=0)
2024-01-16 04:09:31,473 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00285156, power1: 2530.02, power2: 2525.65
2024-01-16 04:09:31,475 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.20828
2024-01-16 04:09:31,477 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.20828 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374571.471433, power=2525.65, imported=3844984.4302198812, exported=0)
2024-01-16 04:09:31,482 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:09:31,483 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:09:31,485 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:09:31,487 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.12, 239.15, 238.94]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1cecd0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:09:31,488 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:09:31,489 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:09:31,491 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1070.0, 732.0, 771.0], currents=[4.7, 3.6, 3.4], voltages=[238.38, 239.66, 238.69], power_factors=[0.94, 0.83, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6155.0, imported=8016148.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2574.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21426.0, raw_currents_left=[30.3, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:09:31,492 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2525.65, invalid_home_consumption=0, daily_yield_home_consumption=5867.998512481, imported_home_consumption=3844984.4302198812, disengageable_smarthome_power=0))
2024-01-16 04:09:31,493 - {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-16 04:09:31,494 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:09:31,496 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:09:31,498 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:09:31,499 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:09:31,500 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:09:31,501 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:09:31,502 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:09:31,503 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:09:31,504 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:09:31,505 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:09:31,506 - {control.data:245} - {INFO:MainThread} - general_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-16 04:09:31,507 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:09:31,510 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:09:31,511 - {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 0x6c1e7550>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:09:31,513 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:09:31,515 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=48.35))
2024-01-16 04:09:31,516 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=48.35))
2024-01-16 04:09:31,517 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374561, 'time': '04:09:21', 'grid': 2.577, 'house-power': 2.53, 'charging-all': 0.0, 'pv-all': -0.047, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:09:31,518 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:09:31,519 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:09:31,522 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:09:31,526 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:09:31,528 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:09:31,529 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:09:31,530 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:09:31,532 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:09:31,534 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:09:31,537 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:09:31,539 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:09:31,542 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:09:31,543 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2674.0W
2024-01-16 04:09:31,548 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2674.0W
2024-01-16 04:09:31,549 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:09:31,550 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:09:31,550 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:09:31,553 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:09:31,557 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:09:31,579 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:09:31,934 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:09:35,026 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:09:35,027 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:09:40,039 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:09:40,040 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:09:40,082 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:09:40,083 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:09:40,089 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:09:40,091 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:09:40,092 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:09:40,138 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:09:40,141 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374578},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:09","unixtime":1705374580,"uptime":4733958,"ram_size":249000,"ram_free":145116,"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":-73},"ws":{"connected":false}}

2024-01-16 04:09:40,142 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2580, -1071, -736, -772], Scale 0
2024-01-16 04:09:40,149 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374570.8323572, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:09:40,151 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00258797, power1: 0, power2: 0
2024-01-16 04:09:40,151 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:09:40,152 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374580.1490362, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:09:40,155 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:09:40,160 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 36, 34], Scale -1
2024-01-16 04:09:40,199 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23865, 23985, 23887, 0, 0, 0, 0], Scale -2
2024-01-16 04:09:40,218 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:09:40,260 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9449, 8389, 9350], Scale -2
2024-01-16 04:09:40,311 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016160, 3302579, 2344403, 2924338], Scale 0
2024-01-16 04:09:40,312 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1071.0, 736.0, 772.0], voltages=[238.65, 239.85, 238.87], power_factors=[0.9449, 0.8389, 0.935], imported=8016160.0, exported=4871567.0, power=2580.0, frequency=50.0)
2024-01-16 04:09:40,313 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:09:40,419 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4859], Scale -2
2024-01-16 04:09:40,438 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:09:40,459 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 30], Scale -2
2024-01-16 04:09:40,478 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4933], Scale -2
2024-01-16 04:09:40,479 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.3], power=48.59, exported=7896155.0, dc_power=49.33)
2024-01-16 04:09:40,481 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:09:40,539 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374571.137985, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:09:40,539 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00261143, power1: 0, power2: 0
2024-01-16 04:09:40,540 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:09:40,540 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374580.5391176, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:09:40,542 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:09:40,545 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:09:40,546 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:09:40,601 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:09:40,603 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:09:40,605 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=48.59, exported=7934579.61, dc_power=None)
2024-01-16 04:09:40,606 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=48.59, exported=7934579.61, dc_power=None)
2024-01-16 04:09:40,608 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:09:40,610 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:09:40,611 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:09:40,683 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:09:40,684 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1071.0, 736.0, 772.0], voltages=[238.65, 239.85, 238.87], power_factors=[0.9449, 0.8389, 0.935], imported=8016160.0, exported=4871567.0, power=2580.0, frequency=50.0)
2024-01-16 04:09:40,868 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:09:40,869 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:09:40,883 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 31.5, 31.6]A
2024-01-16 04:09:40,884 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21420.0W
2024-01-16 04:09:40,886 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:09:40,889 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:09:40,891 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:09:40,894 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:09:40.893896
2024-01-16 04:09:40,896 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 577.366974s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:09:40,898 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:09:40.898128
2024-01-16 04:09:40,899 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176403.449698s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:09:40,902 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:09:40.902071
2024-01-16 04:09:40,903 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9106.119462s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:09:40,905 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:09:40.905457
2024-01-16 04:09:40,908 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172772.138021s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:09:40,912 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:09:40,927 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:09:40,928 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:09:40,965 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374571.471433, power=2525.65, imported=3844984.4302198812, exported=0)
2024-01-16 04:09:40,973 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00263714, power1: 2525.65, power2: 2531.41
2024-01-16 04:09:40,975 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.66808
2024-01-16 04:09:40,975 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.66808 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374580.9651227, power=2531.41, imported=3844991.0982974945, exported=0)
2024-01-16 04:09:40,977 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:09:40,978 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:09:40,980 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:09:40,982 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.27, 239.33, 239.03]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7f86b8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:09:40,986 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:09:40,988 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:09:40,989 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1071.0, 736.0, 772.0], currents=[4.7, 3.6, 3.4], voltages=[238.65, 239.85, 238.87], power_factors=[0.94, 0.84, 0.94], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6155.0, imported=8016160.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2580.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21420.0, raw_currents_left=[30.3, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:09:40,990 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2531.41, invalid_home_consumption=0, daily_yield_home_consumption=5867.998512481, imported_home_consumption=3844991.0982974945, disengageable_smarthome_power=0))
2024-01-16 04:09:40,991 - {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-16 04:09:40,995 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:09:40,997 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:09:40,998 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:09:41,008 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:09:41,008 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:09:41,009 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:09:41,014 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:09:41,024 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:09:41,028 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:09:41,031 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:09:41,032 - {control.data:245} - {INFO:MainThread} - general_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-16 04:09:41,033 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:09:41,034 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:09:41,035 - {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 0x6c1e9178>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:09:41,037 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:09:41,038 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=48.59))
2024-01-16 04:09:41,039 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=48.59))
2024-01-16 04:09:41,040 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374571, 'time': '04:09:31', 'grid': 2.574, 'house-power': 2.526, 'charging-all': 0.0, 'pv-all': -0.048, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:09:41,041 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:09:41,042 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:09:41,042 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:09:41,043 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:09:41,044 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:09:41,045 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:09:41,046 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:09:41,047 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:09:41,048 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:09:41,050 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:09:41,052 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:09:41,054 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:09:41,056 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2680.0W
2024-01-16 04:09:41,056 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2680.0W
2024-01-16 04:09:41,058 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:09:41,059 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:09:41,060 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:09:41,063 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:09:41,088 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:09:41,107 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:09:41,362 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:09:41,366 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:09:45,376 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:09:45,377 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:09:50,398 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:09:50,399 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:09:50,472 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:09:50,473 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:09:50,474 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:09:50,480 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:09:50,483 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:09:50,524 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:09:50,526 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":240.2, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374589},"temperature":{"tC":26.5, "tF":79.7}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:09","unixtime":1705374591,"uptime":4733968,"ram_size":249000,"ram_free":145116,"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-16 04:09:50,529 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374580.1490362, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:09:50,530 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00288344, power1: 0, power2: 0
2024-01-16 04:09:50,531 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:09:50,532 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374590.529416, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:09:50,534 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:09:50,548 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2591, -1075, -741, -775], Scale 0
2024-01-16 04:09:50,568 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 36, 34], Scale -1
2024-01-16 04:09:50,592 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23873, 23987, 23893, 0, 0, 0, 0], Scale -2
2024-01-16 04:09:50,651 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:09:50,710 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9449, 8379, 9350], Scale -2
2024-01-16 04:09:50,739 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016166, 3302582, 2344405, 2924340], Scale 0
2024-01-16 04:09:50,739 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1075.0, 741.0, 775.0], voltages=[238.73000000000002, 239.87, 238.93], power_factors=[0.9449, 0.8379000000000001, 0.935], imported=8016166.0, exported=4871567.0, power=2591.0, frequency=50.0)
2024-01-16 04:09:50,741 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:09:50,771 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5363], Scale -2
2024-01-16 04:09:50,837 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:09:50,980 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 31], Scale -2
2024-01-16 04:09:50,999 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5444], Scale -2
2024-01-16 04:09:51,000 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.31], power=53.63, exported=7896155.0, dc_power=54.44)
2024-01-16 04:09:51,001 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:09:51,039 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374580.5391176, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:09:51,039 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00291668, power1: 0, power2: 0
2024-01-16 04:09:51,040 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:09:51,040 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374591.0391588, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:09:51,041 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:09:51,046 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:09:51,047 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:09:51,093 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:09:51,097 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:09:51,099 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=53.63, exported=7934579.61, dc_power=None)
2024-01-16 04:09:51,099 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:09:51,100 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=53.63, exported=7934579.61, dc_power=None)
2024-01-16 04:09:51,106 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:09:51,112 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:09:51,169 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:09:51,170 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1075.0, 741.0, 775.0], voltages=[238.73000000000002, 239.87, 238.93], power_factors=[0.9449, 0.8379000000000001, 0.935], imported=8016166.0, exported=4871567.0, power=2591.0, frequency=50.0)
2024-01-16 04:09:51,382 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:09:51,386 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:09:51,390 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 31.5, 31.6]A
2024-01-16 04:09:51,391 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21409.0W
2024-01-16 04:09:51,391 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:09:51,392 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:09:51,392 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:09:51,393 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:09:51.393234
2024-01-16 04:09:51,394 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 566.867636s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:09:51,394 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:09:51.394529
2024-01-16 04:09:51,395 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176392.953297s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:09:51,395 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:09:51.395601
2024-01-16 04:09:51,396 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9116.612992s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:09:51,397 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:09:51.396968
2024-01-16 04:09:51,398 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172761.64651s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:09:51,399 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:09:51,402 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:09:51,403 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:09:51,406 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374580.9651227, power=2531.41, imported=3844991.0982974945, exported=0)
2024-01-16 04:09:51,407 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00290041, power1: 2531.41, power2: 2537.37
2024-01-16 04:09:51,408 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.35078
2024-01-16 04:09:51,408 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.35078 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374591.406615, power=2537.37, imported=3844998.449079083, exported=0)
2024-01-16 04:09:51,410 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:09:51,410 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:09:51,411 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:09:51,412 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.19, 239.33, 239.13]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1c1940>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:09:51,413 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:09:51,413 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:09:51,414 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1075.0, 741.0, 775.0], currents=[4.7, 3.6, 3.4], voltages=[238.73, 239.87, 238.93], power_factors=[0.94, 0.84, 0.94], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6155.0, imported=8016166.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2591.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21409.0, raw_currents_left=[30.3, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:09:51,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=2537.37, invalid_home_consumption=0, daily_yield_home_consumption=5867.998512481, imported_home_consumption=3844998.449079083, disengageable_smarthome_power=0))
2024-01-16 04:09:51,415 - {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-16 04:09:51,416 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:09:51,417 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:09:51,417 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:09:51,418 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:09:51,418 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:09:51,418 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:09:51,419 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:09:51,419 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:09:51,420 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:09:51,420 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:09:51,420 - {control.data:245} - {INFO:MainThread} - general_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-16 04:09:51,421 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:09:51,421 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:09:51,422 - {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 0x6c1eb610>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:09:51,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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:09:51,422 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=53.63))
2024-01-16 04:09:51,423 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=53.63))
2024-01-16 04:09:51,423 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374581, 'time': '04:09:41', 'grid': 2.58, 'house-power': 2.531, 'charging-all': 0.0, 'pv-all': -0.049, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:09:51,424 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:09:51,424 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:09:51,424 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:09:51,425 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:09:51,425 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:09:51,425 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:09:51,426 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:09:51,428 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:09:51,432 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:09:51,460 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:09:51,462 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:09:51,466 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:09:51,466 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2691.0W
2024-01-16 04:09:51,467 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2691.0W
2024-01-16 04:09:51,469 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:09:51,472 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:09:51,472 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:09:51,481 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:09:51,487 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:09:51,513 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:09:51,840 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:09:55,930 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:09:55,931 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:10:00,944 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:10:00,945 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:10:00,992 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:10:00,993 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:10:01,001 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:10:00,995 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:10:01,004 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:10:01,045 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:10:01,047 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374599},"temperature":{"tC":26.4, "tF":79.6}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:10","unixtime":1705374601,"uptime":4733979,"ram_size":248948,"ram_free":144540,"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-16 04:10:01,051 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374590.529416, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:10:01,053 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00292268, power1: 0, power2: 0
2024-01-16 04:10:01,055 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:10:01,056 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374601.0510607, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:10:01,059 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:10:01,090 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2596, -1075, -744, -776], Scale 0
2024-01-16 04:10:01,109 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 37, 34], Scale -1
2024-01-16 04:10:01,129 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23869, 23986, 23876, 0, 0, 0, 0], Scale -2
2024-01-16 04:10:01,160 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:10:01,189 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9430, 8330, 9309], Scale -2
2024-01-16 04:10:01,248 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016174, 3302585, 2344408, 2924343], Scale 0
2024-01-16 04:10:01,249 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 3.7, 3.4000000000000004], powers=[1075.0, 744.0, 776.0], voltages=[238.69, 239.86, 238.76], power_factors=[0.943, 0.833, 0.9309000000000001], imported=8016174.0, exported=4871567.0, power=2596.0, frequency=50.0)
2024-01-16 04:10:01,250 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:10:01,309 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5198], Scale -2
2024-01-16 04:10:01,328 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:10:01,352 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 30], Scale -2
2024-01-16 04:10:01,378 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5277], Scale -2
2024-01-16 04:10:01,379 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.3], power=51.980000000000004, exported=7896155.0, dc_power=52.77)
2024-01-16 04:10:01,381 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:10:01,485 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374591.0391588, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:10:01,486 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.0029018, power1: 0, power2: 0
2024-01-16 04:10:01,488 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:10:01,490 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374601.4856312, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:10:01,493 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:10:01,505 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:10:01,507 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:10:01,689 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:10:01,691 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:10:01,696 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=51.980000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:10:01,697 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=51.980000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:10:01,701 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:10:01,703 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:10:01,704 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:10:01,814 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:10:01,815 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 3.7, 3.4000000000000004], powers=[1075.0, 744.0, 776.0], voltages=[238.69, 239.86, 238.76], power_factors=[0.943, 0.833, 0.9309000000000001], imported=8016174.0, exported=4871567.0, power=2596.0, frequency=50.0)
2024-01-16 04:10:01,984 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:10:01,986 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:10:01,988 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 31.4, 31.6]A
2024-01-16 04:10:01,989 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21404.0W
2024-01-16 04:10:01,991 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:10:01,993 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:10:01,994 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:10:01,996 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:10:01.995620
2024-01-16 04:10:01,997 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 556.26525s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:10:01,999 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:10:01.998760
2024-01-16 04:10:02,000 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176382.349066s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:10:02,001 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:10:02.001263
2024-01-16 04:10:02,003 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9127.218654s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:10:02,004 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:10:02.004106
2024-01-16 04:10:02,005 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172751.039372s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:10:02,006 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:10:02,010 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:10:02,011 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:10:02,034 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374591.406615, power=2537.37, imported=3844998.449079083, exported=0)
2024-01-16 04:10:02,046 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00295216, power1: 2537.37, power2: 2544.02
2024-01-16 04:10:02,047 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.50054
2024-01-16 04:10:02,047 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.50054 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374602.0343955, power=2544.02, imported=3845005.9496203656, exported=0)
2024-01-16 04:10:02,049 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:10:02,049 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:10:02,050 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:10:02,051 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.37, 239.32, 239.17]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7f7e80>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:10:02,051 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:10:02,052 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:10:02,053 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1075.0, 744.0, 776.0], currents=[4.7, 3.7, 3.4], voltages=[238.69, 239.86, 238.76], power_factors=[0.94, 0.83, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6155.0, imported=8016174.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2596.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21404.0, raw_currents_left=[30.3, 31.4, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:10:02,053 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2544.02, invalid_home_consumption=0, daily_yield_home_consumption=5867.998512481, imported_home_consumption=3845005.9496203656, disengageable_smarthome_power=0))
2024-01-16 04:10:02,054 - {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-16 04:10:02,055 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:10:02,057 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:10:02,073 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:10:02,074 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:10:02,075 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:10:02,075 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:10:02,076 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:10:02,077 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:10:02,077 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:10:02,078 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:10:02,079 - {control.data:245} - {INFO:MainThread} - general_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-16 04:10:02,079 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:10:02,079 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:10:02,080 - {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 0x6c1dcd60>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:10:02,081 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:10:02,081 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=51.98))
2024-01-16 04:10:02,082 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=51.98))
2024-01-16 04:10:02,082 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374591, 'time': '04:09:51', 'grid': 2.591, 'house-power': 2.537, 'charging-all': 0.0, 'pv-all': -0.054, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:10:02,083 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:10:02,084 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:10:02,084 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:10:02,085 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:10:02,085 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:10:02,086 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:10:02,089 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:10:02,091 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:10:02,095 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:10:02,099 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:10:02,102 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:10:02,115 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:10:02,121 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2696.0W
2024-01-16 04:10:02,122 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2696.0W
2024-01-16 04:10:02,123 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:10:02,124 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:10:02,125 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:10:02,131 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:10:02,145 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:10:02,179 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:10:02,463 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:10:02,464 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:10:02,466 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2024-01-16 04:10:02,478 - {root:107} - {DEBUG:MainThread} - 5 Minuten Handler ausführen.
2024-01-16 04:10:02,582 - {helpermodules.system:74} - {INFO:MainThread} - my IP: 192.168.1.31
2024-01-16 04:10:02,583 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2024-01-16 04:10:05,956 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:10:10,969 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:10:10,970 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:10:11,021 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:10:11,024 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:10:11,025 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:10:11,033 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:10:11,036 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:10:11,079 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:10:11,081 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":240.2, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374609},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:10","unixtime":1705374611,"uptime":4733989,"ram_size":248948,"ram_free":144540,"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":-72},"ws":{"connected":false}}

2024-01-16 04:10:11,084 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374601.0510607, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:10:11,089 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2597, -1077, -742, -777], Scale 0
2024-01-16 04:10:11,103 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00278714, power1: 0, power2: 0
2024-01-16 04:10:11,107 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:10:11,107 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374611.0847728, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:10:11,109 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:10:11,129 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 36, 34], Scale -1
2024-01-16 04:10:11,150 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23874, 23989, 23882, 0, 0, 0, 0], Scale -2
2024-01-16 04:10:11,269 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:10:11,309 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9470, 8410, 9399], Scale -2
2024-01-16 04:10:11,332 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016180, 3302588, 2344409, 2924344], Scale 0
2024-01-16 04:10:11,333 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1077.0, 742.0, 777.0], voltages=[238.74, 239.89000000000001, 238.82], power_factors=[0.9470000000000001, 0.8410000000000001, 0.9399], imported=8016180.0, exported=4871567.0, power=2597.0, frequency=50.0)
2024-01-16 04:10:11,337 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:10:11,380 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4971], Scale -2
2024-01-16 04:10:11,420 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:10:11,479 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 30], Scale -2
2024-01-16 04:10:11,498 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5046], Scale -2
2024-01-16 04:10:11,499 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.3], power=49.71, exported=7896155.0, dc_power=50.46)
2024-01-16 04:10:11,501 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:10:11,543 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374601.4856312, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:10:11,546 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00279376, power1: 0, power2: 0
2024-01-16 04:10:11,548 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:10:11,549 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374611.543153, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:10:11,550 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:10:11,555 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:10:11,556 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:10:11,653 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:10:11,654 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:10:11,656 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:10:11,661 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=49.71, exported=7934579.61, dc_power=None)
2024-01-16 04:10:11,665 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:10:11,669 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=49.71, exported=7934579.61, dc_power=None)
2024-01-16 04:10:11,670 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:10:11,732 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:10:11,732 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1077.0, 742.0, 777.0], voltages=[238.74, 239.89000000000001, 238.82], power_factors=[0.9470000000000001, 0.8410000000000001, 0.9399], imported=8016180.0, exported=4871567.0, power=2597.0, frequency=50.0)
2024-01-16 04:10:11,914 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:10:11,916 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:10:11,929 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 31.5, 31.6]A
2024-01-16 04:10:11,930 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21403.0W
2024-01-16 04:10:11,931 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:10:11,935 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:10:11,938 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:10:11,939 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:10:11.939117
2024-01-16 04:10:11,941 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 546.321753s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:10:11,944 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:10:11.943608
2024-01-16 04:10:11,945 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176372.404218s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:10:11,947 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:10:11.946658
2024-01-16 04:10:11,948 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9137.164049s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:10:11,951 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:10:11.949582
2024-01-16 04:10:11,952 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172741.093896s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:10:11,953 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:10:11,968 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:10:11,973 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:10:11,977 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374602.0343955, power=2544.02, imported=3845005.9496203656, exported=0)
2024-01-16 04:10:11,979 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00276198, power1: 2544.02, power2: 2547.29
2024-01-16 04:10:11,982 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.03104
2024-01-16 04:10:11,983 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.03104 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374611.977507, power=2547.29, imported=3845012.9806570066, exported=0)
2024-01-16 04:10:11,986 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:10:11,988 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:10:11,991 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421141.11, exported=0))
2024-01-16 04:10:11,993 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421141.11, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.28, 239.32, 239.19]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6e3adf40>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:10:11,994 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:10:11,994 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:10:11,995 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1077.0, 742.0, 777.0], currents=[4.7, 3.6, 3.4], voltages=[238.74, 239.89, 238.82], power_factors=[0.95, 0.84, 0.94], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6381.0, imported=8016180.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2597.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21403.0, raw_currents_left=[30.3, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:10:11,997 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2547.29, invalid_home_consumption=0, daily_yield_home_consumption=6085.8214047836, imported_home_consumption=3845012.9806570066, disengageable_smarthome_power=0))
2024-01-16 04:10:11,998 - {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-16 04:10:11,999 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:10:12,000 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:10:12,002 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:10:12,004 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:10:12,006 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:10:12,008 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:10:12,009 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:10:12,010 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:10:12,011 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:10:12,013 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:10:12,015 - {control.data:245} - {INFO:MainThread} - general_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-16 04:10:12,015 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:10:12,016 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:10:12,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 0x6c1c2bc8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:10:12,020 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:10:12,022 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=49.71))
2024-01-16 04:10:12,023 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=49.71))
2024-01-16 04:10:12,025 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374602, 'time': '04:10:02', 'grid': 2.596, 'house-power': 2.544, 'charging-all': 0.0, 'pv-all': -0.052, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:10:12,026 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:10:12,028 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:10:12,030 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:10:12,031 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:10:12,033 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:10:12,033 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:10:12,035 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:10:12,038 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:10:12,040 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:10:12,045 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:10:12,049 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:10:12,052 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:10:12,053 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2697.0W
2024-01-16 04:10:12,054 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2697.0W
2024-01-16 04:10:12,057 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:10:12,060 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:10:12,061 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:10:12,064 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:10:12,070 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:10:12,142 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:10:12,423 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:10:12,425 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:10:15,443 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:10:15,444 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:10:20,458 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:10:20,459 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:10:20,537 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:10:20,538 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:10:20,540 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:10:20,553 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:10:20,556 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:10:20,588 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2596, -1076, -741, -778], Scale 0
2024-01-16 04:10:20,607 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:10:20,610 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374619},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:10","unixtime":1705374621,"uptime":4733998,"ram_size":248948,"ram_free":144540,"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-16 04:10:20,619 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 37, 34], Scale -1
2024-01-16 04:10:20,621 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374611.0847728, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:10:20,622 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00264909, power1: 0, power2: 0
2024-01-16 04:10:20,622 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:10:20,623 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374620.6214848, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:10:20,624 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:10:20,709 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23881, 24001, 23895, 0, 0, 0, 0], Scale -2
2024-01-16 04:10:20,731 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:10:20,768 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9440, 8370, 9369], Scale -2
2024-01-16 04:10:20,798 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016186, 3302590, 2344411, 2924346], Scale 0
2024-01-16 04:10:20,799 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 3.7, 3.4000000000000004], powers=[1076.0, 741.0, 778.0], voltages=[238.81, 240.01, 238.95000000000002], power_factors=[0.9440000000000001, 0.8370000000000001, 0.9369], imported=8016186.0, exported=4871567.0, power=2596.0, frequency=50.0)
2024-01-16 04:10:20,800 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:10:20,849 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5164], Scale -2
2024-01-16 04:10:20,867 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:10:20,927 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 30], Scale -2
2024-01-16 04:10:20,997 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4572], Scale -2
2024-01-16 04:10:20,998 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.3], power=51.64, exported=7896155.0, dc_power=45.72)
2024-01-16 04:10:21,001 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:10:21,153 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374611.543153, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:10:21,154 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00266949, power1: 0, power2: 0
2024-01-16 04:10:21,156 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:10:21,157 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374621.153326, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:10:21,158 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:10:21,162 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:10:21,163 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:10:21,335 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:10:21,336 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:10:21,342 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=51.64, exported=7934579.61, dc_power=None)
2024-01-16 04:10:21,341 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:10:21,348 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:10:21,349 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:10:21,343 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=51.64, exported=7934579.61, dc_power=None)
2024-01-16 04:10:21,467 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:10:21,467 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 3.7, 3.4000000000000004], powers=[1076.0, 741.0, 778.0], voltages=[238.81, 240.01, 238.95000000000002], power_factors=[0.9440000000000001, 0.8370000000000001, 0.9369], imported=8016186.0, exported=4871567.0, power=2596.0, frequency=50.0)
2024-01-16 04:10:21,622 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:10:21,624 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:10:21,626 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 31.4, 31.6]A
2024-01-16 04:10:21,627 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21404.0W
2024-01-16 04:10:21,629 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:10:21,630 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:10:21,632 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:10:21,633 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:10:21.633000
2024-01-16 04:10:21,637 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 536.62787s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:10:21,638 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:10:21.637774
2024-01-16 04:10:21,639 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176362.710052s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:10:21,641 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:10:21.641159
2024-01-16 04:10:21,642 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9146.85855s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:10:21,644 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:10:21.644006
2024-01-16 04:10:21,645 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172731.399472s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:10:21,646 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:10:21,652 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:10:21,652 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:10:21,671 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374611.977507, power=2547.29, imported=3845012.9806570066, exported=0)
2024-01-16 04:10:21,673 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00269273, power1: 2547.29, power2: 2544.36
2024-01-16 04:10:21,677 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.85521
2024-01-16 04:10:21,678 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.85521 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374621.6713285, power=2544.36, imported=3845019.835871713, exported=0)
2024-01-16 04:10:21,681 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:10:21,684 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:10:21,686 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421142.09, exported=0))
2024-01-16 04:10:21,690 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421142.09, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.3, 239.37, 239.27]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=149.90000000037253, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7cf238>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:10:21,690 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:10:21,691 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:10:21,692 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1076.0, 741.0, 778.0], currents=[4.7, 3.7, 3.4], voltages=[238.81, 240.01, 238.95], power_factors=[0.94, 0.84, 0.94], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6381.0, imported=8016186.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2596.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21404.0, raw_currents_left=[30.3, 31.4, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:10:21,693 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2544.36, invalid_home_consumption=0, daily_yield_home_consumption=6085.8214047836, imported_home_consumption=3845019.835871713, disengageable_smarthome_power=0))
2024-01-16 04:10:21,694 - {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-16 04:10:21,695 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:10:21,699 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:10:21,700 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:10:21,701 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:10:21,706 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:10:21,713 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:10:21,714 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:10:21,715 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:10:21,716 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:10:21,716 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:10:21,719 - {control.data:245} - {INFO:MainThread} - general_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-16 04:10:21,720 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:10:21,722 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:10:21,723 - {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 0x6c1c88e0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:10:21,724 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:10:21,725 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=51.64))
2024-01-16 04:10:21,726 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=51.64))
2024-01-16 04:10:21,727 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374612, 'time': '04:10:12', 'grid': 2.597, 'house-power': 2.547, 'charging-all': 0.0, 'pv-all': -0.05, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:10:21,729 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:10:21,730 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:10:21,731 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:10:21,733 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:10:21,734 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:10:21,735 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:10:21,735 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:10:21,736 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:10:21,738 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:10:21,741 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:10:21,743 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:10:21,745 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:10:21,746 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2696.0W
2024-01-16 04:10:21,748 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2696.0W
2024-01-16 04:10:21,751 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:10:21,752 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:10:21,755 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:10:21,759 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:10:21,761 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:10:21,781 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:10:22,028 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:10:25,061 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:10:25,063 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:10:30,077 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:10:30,078 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:10:30,121 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:10:30,124 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:10:30,131 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:10:30,133 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:10:30,137 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:10:30,177 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:10:30,179 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":240.7, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374628},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:10","unixtime":1705374630,"uptime":4734008,"ram_size":249000,"ram_free":145116,"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-16 04:10:30,182 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374620.6214848, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:10:30,183 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00265577, power1: 0, power2: 0
2024-01-16 04:10:30,184 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:10:30,185 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374630.1822655, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:10:30,188 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2587, -1067, -744, -776], Scale 0
2024-01-16 04:10:30,189 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:10:30,229 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 37, 34], Scale -1
2024-01-16 04:10:30,247 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23890, 23999, 23899, 0, 0, 0, 0], Scale -2
2024-01-16 04:10:30,267 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:10:30,310 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9419, 8330, 9309], Scale -2
2024-01-16 04:10:30,370 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016191, 3302592, 2344412, 2924348], Scale 0
2024-01-16 04:10:30,371 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 3.7, 3.4000000000000004], powers=[1067.0, 744.0, 776.0], voltages=[238.9, 239.99, 238.99], power_factors=[0.9419, 0.833, 0.9309000000000001], imported=8016191.0, exported=4871567.0, power=2587.0, frequency=50.0)
2024-01-16 04:10:30,373 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:10:30,569 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4427], Scale -2
2024-01-16 04:10:30,590 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:10:30,609 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 31], Scale -2
2024-01-16 04:10:30,628 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4495], Scale -2
2024-01-16 04:10:30,629 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.31], power=44.27, exported=7896155.0, dc_power=44.95)
2024-01-16 04:10:30,630 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:10:30,718 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374621.153326, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:10:30,718 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00265691, power1: 0, power2: 0
2024-01-16 04:10:30,719 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:10:30,719 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374630.7181897, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:10:30,720 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:10:30,735 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:10:30,736 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:10:30,778 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:10:30,780 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:10:30,781 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=44.27, exported=7934579.61, dc_power=None)
2024-01-16 04:10:30,782 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:10:30,783 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=44.27, exported=7934579.61, dc_power=None)
2024-01-16 04:10:30,784 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:10:30,794 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:10:30,857 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:10:30,858 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 3.7, 3.4000000000000004], powers=[1067.0, 744.0, 776.0], voltages=[238.9, 239.99, 238.99], power_factors=[0.9419, 0.833, 0.9309000000000001], imported=8016191.0, exported=4871567.0, power=2587.0, frequency=50.0)
2024-01-16 04:10:31,282 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:10:31,287 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:10:31,300 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 31.4, 31.6]A
2024-01-16 04:10:31,302 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21413.0W
2024-01-16 04:10:31,303 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:10:31,309 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:10:31,311 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:10:31,313 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:10:31.313536
2024-01-16 04:10:31,314 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 526.947334s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:10:31,316 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:10:31.316022
2024-01-16 04:10:31,317 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176353.031804s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:10:31,320 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:10:31.320243
2024-01-16 04:10:31,321 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9156.537634s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:10:31,323 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:10:31.323145
2024-01-16 04:10:31,324 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172721.720333s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:10:31,328 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:10:31,342 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:10:31,344 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:10:31,372 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374621.6713285, power=2544.36, imported=3845019.835871713, exported=0)
2024-01-16 04:10:31,373 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00269469, power1: 2544.36, power2: 2542.73
2024-01-16 04:10:31,375 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.85406
2024-01-16 04:10:31,376 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.85406 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374631.3721995, power=2542.73, imported=3845026.6899277973, exported=0)
2024-01-16 04:10:31,386 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:10:31,388 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:10:31,389 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421142.09, exported=0))
2024-01-16 04:10:31,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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421142.09, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.69, 239.46, 238.88]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=150.87999999988824, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1c8220>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:10:31,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-16 04:10:31,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=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:10:31,396 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1067.0, 744.0, 776.0], currents=[4.7, 3.7, 3.4], voltages=[238.9, 239.99, 238.99], power_factors=[0.94, 0.83, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6381.0, imported=8016191.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2587.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21413.0, raw_currents_left=[30.3, 31.4, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:10:31,398 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2542.73, invalid_home_consumption=0, daily_yield_home_consumption=6085.8214047836, imported_home_consumption=3845026.6899277973, disengageable_smarthome_power=0))
2024-01-16 04:10:31,399 - {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-16 04:10:31,401 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:10:31,403 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:10:31,405 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:10:31,406 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:10:31,408 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:10:31,409 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:10:31,411 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:10: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-16 04:10:31,414 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:10:31,415 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:10:31,416 - {control.data:245} - {INFO:MainThread} - general_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-16 04:10:31,418 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:10:31,419 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:10:31,422 - {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 0x6c1ec2f8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:10:31,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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:10:31,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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=44.27))
2024-01-16 04:10:31,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=8233395.285, power=44.27))
2024-01-16 04:10:31,428 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374621, 'time': '04:10:21', 'grid': 2.596, 'house-power': 2.544, 'charging-all': 0.0, 'pv-all': -0.052, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:10:31,429 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:10:31,430 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:10:31,431 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:10:31,431 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:10:31,433 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:10:31,435 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:10:31,437 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:10:31,439 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:10:31,441 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:10:31,444 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:10:31,447 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:10:31,450 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:10:31,451 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2687.0W
2024-01-16 04:10:31,452 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2687.0W
2024-01-16 04:10:31,453 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:10:31,454 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:10:31,455 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:10:31,464 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:10:31,480 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:10:31,512 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:10:31,789 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:10:31,796 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:10:35,807 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:10:35,808 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:10:40,823 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:10:40,824 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:10:41,024 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:10:41,027 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:10:41,030 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:10:41,036 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:10:41,043 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:10:41,077 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2581, -1062, -741, -777], Scale 0
2024-01-16 04:10:41,099 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 36, 34], Scale -1
2024-01-16 04:10:41,108 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:10:41,111 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374639},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:10","unixtime":1705374641,"uptime":4734019,"ram_size":249000,"ram_free":145116,"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-16 04:10:41,118 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374630.1822655, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:10:41,119 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00303785, power1: 0, power2: 0
2024-01-16 04:10:41,121 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:10:41,122 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374641.1185253, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:10:41,123 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:10:41,133 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23847, 24024, 23901, 0, 0, 0, 0], Scale -2
2024-01-16 04:10:41,164 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:10:41,211 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9419, 8370, 9309], Scale -2
2024-01-16 04:10:41,270 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016203, 3302597, 2344416, 2924351], Scale 0
2024-01-16 04:10:41,272 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1062.0, 741.0, 777.0], voltages=[238.47, 240.24, 239.01], power_factors=[0.9419, 0.8370000000000001, 0.9309000000000001], imported=8016203.0, exported=4871567.0, power=2581.0, frequency=50.0)
2024-01-16 04:10:41,274 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:10:41,299 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4433], Scale -2
2024-01-16 04:10:41,321 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:10:41,419 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 30, 30], Scale -2
2024-01-16 04:10:41,450 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4500], Scale -2
2024-01-16 04:10:41,450 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.3, 0.3], power=44.33, exported=7896155.0, dc_power=45.0)
2024-01-16 04:10:41,451 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:10:41,508 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374630.7181897, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:10:41,509 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00299728, power1: 0, power2: 0
2024-01-16 04:10:41,509 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:10:41,509 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374641.5083992, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:10:41,510 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:10:41,514 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:10:41,514 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:10:41,562 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:10:41,564 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:10:41,565 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=44.33, exported=7934579.61, dc_power=None)
2024-01-16 04:10:41,566 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:10:41,577 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:10:41,579 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:10:41,568 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=44.33, exported=7934579.61, dc_power=None)
2024-01-16 04:10:41,633 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:10:41,634 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1062.0, 741.0, 777.0], voltages=[238.47, 240.24, 239.01], power_factors=[0.9419, 0.8370000000000001, 0.9309000000000001], imported=8016203.0, exported=4871567.0, power=2581.0, frequency=50.0)
2024-01-16 04:10:41,847 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:10:41,856 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:10:41,859 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 31.5, 31.6]A
2024-01-16 04:10:41,860 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21419.0W
2024-01-16 04:10:41,861 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:10:41,865 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:10:41,866 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:10:41,875 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:10:41.875098
2024-01-16 04:10:41,877 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 516.385772s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:10:41,878 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:10:41.878416
2024-01-16 04:10:41,881 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176342.46941s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:10:41,881 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:10:41.881510
2024-01-16 04:10:41,883 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9167.098901s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:10:41,884 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:10:41.884306
2024-01-16 04:10:41,887 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172711.159172s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:10:41,893 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:10:41,905 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:10:41,911 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:10:41,924 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374631.3721995, power=2542.73, imported=3845026.6899277973, exported=0)
2024-01-16 04:10:41,944 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00293128, power1: 2542.73, power2: 2536.67
2024-01-16 04:10:41,949 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.44457
2024-01-16 04:10:41,950 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.44457 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374641.9248035, power=2536.67, imported=3845034.1344967633, exported=0)
2024-01-16 04:10:41,953 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:10:41,956 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:10:41,960 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421142.09, exported=0))
2024-01-16 04:10:41,963 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421142.09, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.63, 239.42, 238.84]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=150.87999999988824, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7e39e8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:10:41,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-16 04:10:41,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=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:10:41,974 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1062.0, 741.0, 777.0], currents=[4.7, 3.6, 3.4], voltages=[238.47, 240.24, 239.01], power_factors=[0.94, 0.84, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6381.0, imported=8016203.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2581.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21419.0, raw_currents_left=[30.3, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:10:41,975 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2536.67, invalid_home_consumption=0, daily_yield_home_consumption=6085.8214047836, imported_home_consumption=3845034.1344967633, disengageable_smarthome_power=0))
2024-01-16 04:10:41,975 - {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-16 04:10:41,976 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:10:41,977 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:10:41,978 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:10:41,979 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:10:41,980 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:10:41,981 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:10:41,983 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:10:41,984 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:10:41,985 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:10:41,986 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:10:41,987 - {control.data:245} - {INFO:MainThread} - general_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-16 04:10:41,988 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:10:41,989 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:10:41,991 - {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 0x6c1bd2e0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:10:41,991 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:10:41,992 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=44.33))
2024-01-16 04:10:41,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=8233395.285, power=44.33))
2024-01-16 04:10:41,993 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374631, 'time': '04:10:31', 'grid': 2.587, 'house-power': 2.543, 'charging-all': 0.0, 'pv-all': -0.044, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:10:41,993 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:10: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-16 04:10:41,994 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:10:41,994 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:10:41,995 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:10:41,995 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:10:41,995 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:10:41,996 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:10:41,996 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:10:41,998 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:10:41,999 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:10:42,001 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:10:42,002 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2681.0W
2024-01-16 04:10:42,002 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2681.0W
2024-01-16 04:10:42,002 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:10:42,003 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:10:42,003 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:10:42,005 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:10:42,008 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:10:42,040 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:10:42,263 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:10:45,297 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:10:45,299 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:10:50,311 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:10:50,312 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:10:50,359 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:10:50,360 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:10:50,367 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:10:50,369 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:10:50,371 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:10:50,410 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:10:50,412 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374649},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:10","unixtime":1705374650,"uptime":4734028,"ram_size":248992,"ram_free":145012,"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-16 04:10:50,414 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2576, -1062, -738, -775], Scale 0
2024-01-16 04:10:50,418 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374641.1185253, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:10:50,424 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00258333, power1: 0, power2: 0
2024-01-16 04:10:50,426 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:10:50,427 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374650.4185166, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:10:50,429 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:10:50,438 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 36, 34], Scale -1
2024-01-16 04:10:50,483 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23845, 24029, 23902, 0, 0, 0, 0], Scale -2
2024-01-16 04:10:50,508 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4999], Scale -2
2024-01-16 04:10:50,531 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9449, 8389, 9350], Scale -2
2024-01-16 04:10:50,579 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016208, 3302599, 2344418, 2924353], Scale 0
2024-01-16 04:10:50,580 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1062.0, 738.0, 775.0], voltages=[238.45000000000002, 240.29, 239.02], power_factors=[0.9449, 0.8389, 0.935], imported=8016208.0, exported=4871567.0, power=2576.0, frequency=49.99)
2024-01-16 04:10:50,582 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:10:50,609 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-3938], Scale -2
2024-01-16 04:10:50,656 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:10:50,689 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 30], Scale -2
2024-01-16 04:10:50,858 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4996], Scale -2
2024-01-16 04:10:50,859 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.3], power=39.38, exported=7896155.0, dc_power=49.96)
2024-01-16 04:10:50,860 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:10:50,898 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374641.5083992, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:10:50,899 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00260839, power1: 0, power2: 0
2024-01-16 04:10:50,899 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:10:50,900 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374650.8986015, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:10:50,901 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:10:50,908 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:10:50,920 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:10:50,982 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:10:50,993 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:10:50,994 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=39.38, exported=7934579.61, dc_power=None)
2024-01-16 04:10:50,996 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=39.38, exported=7934579.61, dc_power=None)
2024-01-16 04:10:51,001 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:10:51,006 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:10:51,016 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:10:51,232 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:10:51,234 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1062.0, 738.0, 775.0], voltages=[238.45000000000002, 240.29, 239.02], power_factors=[0.9449, 0.8389, 0.935], imported=8016208.0, exported=4871567.0, power=2576.0, frequency=49.99)
2024-01-16 04:10:51,458 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:10:51,460 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:10:51,463 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 31.5, 31.6]A
2024-01-16 04:10:51,464 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21424.0W
2024-01-16 04:10:51,465 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:10:51,467 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:10:51,468 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:10:51,470 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:10:51.469929
2024-01-16 04:10:51,472 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 506.790941s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:10:51,473 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:10:51.473296
2024-01-16 04:10:51,474 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176332.87453s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:10:51,476 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:10:51.475887
2024-01-16 04:10:51,477 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9176.693278s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:10:51,478 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:10:51.478354
2024-01-16 04:10:51,479 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172701.565124s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:10:51,479 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:10:51,483 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:10:51,483 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:10:51,487 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374641.9248035, power=2536.67, imported=3845034.1344967633, exported=0)
2024-01-16 04:10:51,488 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00265638, power1: 2536.67, power2: 2536.62
2024-01-16 04:10:51,489 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.7383
2024-01-16 04:10:51,490 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.7383 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374651.487775, power=2536.62, imported=3845040.8727923394, exported=0)
2024-01-16 04:10:51,491 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:10:51,492 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:10:51,493 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421142.09, exported=0))
2024-01-16 04:10:51,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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421142.09, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.61, 239.4, 238.85]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=150.87999999988824, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6e3ad160>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:10:51,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-16 04:10:51,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=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:10:51,496 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1062.0, 738.0, 775.0], currents=[4.7, 3.6, 3.4], voltages=[238.45, 240.29, 239.02], power_factors=[0.94, 0.84, 0.94], unbalanced_load=0, frequency=49.99, daily_exported=0.0, daily_imported=6381.0, imported=8016208.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2576.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21424.0, raw_currents_left=[30.3, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:10:51,497 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2536.62, invalid_home_consumption=0, daily_yield_home_consumption=6085.8214047836, imported_home_consumption=3845040.8727923394, disengageable_smarthome_power=0))
2024-01-16 04:10:51,498 - {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-16 04:10:51,499 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:10:51,500 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:10:51,500 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:10:51,501 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:10:51,501 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:10:51,502 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:10:51,502 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:10:51,503 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:10:51,503 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:10:51,504 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:10:51,504 - {control.data:245} - {INFO:MainThread} - general_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-16 04:10:51,505 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:10:51,505 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:10:51,506 - {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 0x6c1c82b0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:10:51,511 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:10:51,514 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=39.38))
2024-01-16 04:10:51,516 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=39.38))
2024-01-16 04:10:51,518 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374642, 'time': '04:10:42', 'grid': 2.581, 'house-power': 2.537, 'charging-all': 0.0, 'pv-all': -0.044, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:10:51,520 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:10:51,523 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:10:51,524 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:10:51,528 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:10:51,530 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:10:51,532 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:10:51,536 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:10:51,545 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:10:51,546 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:10:51,551 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:10:51,553 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:10:51,557 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:10:51,562 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2676.0W
2024-01-16 04:10:51,564 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2676.0W
2024-01-16 04:10:51,581 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:10:51,583 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:10:51,587 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:10:51,595 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:10:51,619 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:10:51,659 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:10:51,952 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:10:51,956 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:10:55,970 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:10:55,972 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:11:00,987 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:11:00,991 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:11:01,092 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:11:01,095 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:11:01,099 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:11:01,104 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:11:01,112 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:11:01,166 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:11:01,168 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374659},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:11","unixtime":1705374661,"uptime":4734039,"ram_size":248948,"ram_free":144540,"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-16 04:11:01,173 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374650.4185166, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:11:01,174 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00298735, power1: 0, power2: 0
2024-01-16 04:11:01,175 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:11:01,176 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374661.1729898, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:11:01,178 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:11:01,192 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2581, -1069, -738, -773], Scale 0
2024-01-16 04:11:01,229 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 36, 34], Scale -1
2024-01-16 04:11:01,250 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23841, 24019, 23891, 0, 0, 0, 0], Scale -2
2024-01-16 04:11:01,268 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:11:01,291 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9409, 8360, 9309], Scale -2
2024-01-16 04:11:01,314 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016214, 3302602, 2344419, 2924355], Scale 0
2024-01-16 04:11:01,316 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1069.0, 738.0, 773.0], voltages=[238.41, 240.19, 238.91], power_factors=[0.9409000000000001, 0.8360000000000001, 0.9309000000000001], imported=8016214.0, exported=4871567.0, power=2581.0, frequency=50.0)
2024-01-16 04:11:01,318 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:11:01,343 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4343], Scale -2
2024-01-16 04:11:01,369 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:11:01,432 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 29, 29], Scale -2
2024-01-16 04:11:01,458 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4174], Scale -2
2024-01-16 04:11:01,458 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.29, 0.29], power=43.43, exported=7896155.0, dc_power=41.74)
2024-01-16 04:11:01,461 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:11:01,549 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374650.8986015, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:11:01,549 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00295846, power1: 0, power2: 0
2024-01-16 04:11:01,550 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:11:01,550 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374661.5490465, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:11:01,551 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:11:01,560 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:11:01,561 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:11:01,604 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:11:01,605 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:11:01,606 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=43.43, exported=7934579.61, dc_power=None)
2024-01-16 04:11:01,607 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:11:01,609 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=43.43, exported=7934579.61, dc_power=None)
2024-01-16 04:11:01,611 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:11:01,615 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:11:01,669 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:11:01,670 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1069.0, 738.0, 773.0], voltages=[238.41, 240.19, 238.91], power_factors=[0.9409000000000001, 0.8360000000000001, 0.9309000000000001], imported=8016214.0, exported=4871567.0, power=2581.0, frequency=50.0)
2024-01-16 04:11:01,835 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:11:01,842 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:11:01,853 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 31.5, 31.6]A
2024-01-16 04:11:01,855 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21419.0W
2024-01-16 04:11:01,856 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:11:01,860 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:11:01,861 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:11:01,863 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:11:01.862632
2024-01-16 04:11:01,865 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 496.398238s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:11:01,867 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:11:01.867319
2024-01-16 04:11:01,869 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176322.480507s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:11:01,876 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:11:01.875639
2024-01-16 04:11:01,882 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9187.09303s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:11:01,884 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:11:01.883720
2024-01-16 04:11:01,886 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172691.159758s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:11:01,887 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:11:01,891 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:11:01,892 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:11:01,903 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374651.487775, power=2536.62, imported=3845040.8727923394, exported=0)
2024-01-16 04:11:01,905 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00289336, power1: 2536.62, power2: 2537.57
2024-01-16 04:11:01,906 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.34073
2024-01-16 04:11:01,914 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.34073 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374661.903869, power=2537.57, imported=3845048.2135199965, exported=0)
2024-01-16 04:11:01,921 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:11:01,923 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:11:01,925 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421142.09, exported=0))
2024-01-16 04:11:01,929 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421142.09, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.67, 239.41, 238.81]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=150.87999999988824, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1c4358>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:11:01,933 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:11:01,934 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:11:01,941 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1069.0, 738.0, 773.0], currents=[4.7, 3.6, 3.4], voltages=[238.41, 240.19, 238.91], power_factors=[0.94, 0.84, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6381.0, imported=8016214.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2581.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21419.0, raw_currents_left=[30.3, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:11:01,943 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2537.57, invalid_home_consumption=0, daily_yield_home_consumption=6085.8214047836, imported_home_consumption=3845048.2135199965, disengageable_smarthome_power=0))
2024-01-16 04:11:01,945 - {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-16 04:11:01,948 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:11:01,950 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:11:01,953 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:11:01,954 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:11:01,955 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:11:01,956 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:11:01,957 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:11:01,958 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:11:01,959 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:11:01,964 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:11:01,966 - {control.data:245} - {INFO:MainThread} - general_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-16 04:11:01,969 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:11:01,969 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:11:01,970 - {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 0x6c1f00d0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:11:01,970 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:11:01,971 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=43.43))
2024-01-16 04:11:01,971 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=43.43))
2024-01-16 04:11:01,971 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374651, 'time': '04:10:51', 'grid': 2.576, 'house-power': 2.537, 'charging-all': 0.0, 'pv-all': -0.039, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:11:01,972 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:11:01,972 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:11:01,973 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:11:01,973 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:11:01,973 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:11:01,974 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:11:01,974 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:11:01,974 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:11:01,975 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:11:01,977 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:11:01,979 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:11:01,981 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:11:01,984 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2681.0W
2024-01-16 04:11:01,993 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2681.0W
2024-01-16 04:11:01,993 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:11:01,994 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:11:01,994 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:11:01,997 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:11:02,003 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:11:02,030 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:11:02,277 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:11:05,297 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:11:05,297 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:11:10,309 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:11:10,310 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:11:10,352 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:11:10,359 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:11:10,361 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:11:10,367 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:11:10,369 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:11:10,410 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:11:10,413 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374669},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:11","unixtime":1705374670,"uptime":4734048,"ram_size":248948,"ram_free":144540,"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-16 04:11:10,417 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374661.1729898, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:11:10,420 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00256781, power1: 0, power2: 0
2024-01-16 04:11:10,422 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:11:10,425 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2563, -1063, -732, -767], Scale 0
2024-01-16 04:11:10,425 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374670.4171238, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:11:10,429 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:11:10,549 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 36, 34], Scale -1
2024-01-16 04:11:10,578 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23883, 24000, 23889, 0, 0, 0, 0], Scale -2
2024-01-16 04:11:10,628 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:11:10,676 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9440, 8360, 9359], Scale -2
2024-01-16 04:11:10,699 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016220, 3302604, 2344421, 2924356], Scale 0
2024-01-16 04:11:10,700 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1063.0, 732.0, 767.0], voltages=[238.83, 240.0, 238.89000000000001], power_factors=[0.9440000000000001, 0.8360000000000001, 0.9359000000000001], imported=8016220.0, exported=4871567.0, power=2563.0, frequency=50.0)
2024-01-16 04:11:10,707 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:11:10,750 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4471], Scale -2
2024-01-16 04:11:10,789 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:11:10,818 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 29], Scale -2
2024-01-16 04:11:10,838 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4539], Scale -2
2024-01-16 04:11:10,838 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.29], power=44.71, exported=7896155.0, dc_power=45.39)
2024-01-16 04:11:10,845 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:11:10,957 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374661.5490465, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:11:10,958 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00261346, power1: 0, power2: 0
2024-01-16 04:11:10,962 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:11:10,965 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374670.9574995, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:11:10,976 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:11:10,987 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:11:10,989 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:11:11,143 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:11:11,145 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:11:11,148 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=44.71, exported=7934579.61, dc_power=None)
2024-01-16 04:11:11,147 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:11:11,149 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=44.71, exported=7934579.61, dc_power=None)
2024-01-16 04:11:11,151 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:11:11,167 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:11:11,234 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:11:11,235 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1063.0, 732.0, 767.0], voltages=[238.83, 240.0, 238.89000000000001], power_factors=[0.9440000000000001, 0.8360000000000001, 0.9359000000000001], imported=8016220.0, exported=4871567.0, power=2563.0, frequency=50.0)
2024-01-16 04:11:11,401 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:11:11,409 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:11:11,412 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 31.5, 31.6]A
2024-01-16 04:11:11,418 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21437.0W
2024-01-16 04:11:11,419 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:11:11,426 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:11:11,430 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:11:11,431 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:11:11.431228
2024-01-16 04:11:11,434 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 486.829642s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:11:11,435 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:11:11.435466
2024-01-16 04:11:11,438 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176312.91236s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:11:11,439 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:11:11.439531
2024-01-16 04:11:11,443 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9196.656922s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:11:11,445 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:11:11.444975
2024-01-16 04:11:11,446 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172681.598503s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:11:11,449 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:11:11,456 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:11:11,460 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:11:11,470 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374661.903869, power=2537.57, imported=3845048.2135199965, exported=0)
2024-01-16 04:11:11,471 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00265731, power1: 2537.57, power2: 2518.29
2024-01-16 04:11:11,471 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.7175
2024-01-16 04:11:11,472 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.7175 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374671.4701955, power=2518.29, imported=3845054.931021121, exported=0)
2024-01-16 04:11:11,478 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:11:11,480 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:11:11,485 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421142.09, exported=0))
2024-01-16 04:11:11,501 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421142.09, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.27, 239.31, 239.18]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=150.87999999988824, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1befb8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:11:11,502 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-16 04:11:11,505 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:11:11,507 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1063.0, 732.0, 767.0], currents=[4.7, 3.6, 3.4], voltages=[238.83, 240.0, 238.89], power_factors=[0.94, 0.84, 0.94], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6381.0, imported=8016220.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2563.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21437.0, raw_currents_left=[30.3, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:11:11,510 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2518.29, invalid_home_consumption=0, daily_yield_home_consumption=6085.8214047836, imported_home_consumption=3845054.931021121, disengageable_smarthome_power=0))
2024-01-16 04:11:11,514 - {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-16 04:11:11,515 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:11:11,517 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:11:11,519 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:11:11,522 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:11:11,525 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:11:11,529 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:11:11,531 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:11:11,534 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:11:11,537 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:11:11,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=1, keep_charge_active_duration=40)
2024-01-16 04:11:11,551 - {control.data:245} - {INFO:MainThread} - general_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-16 04:11:11,557 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:11:11,559 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:11:11,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 0x6c1c4a18>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:11:11,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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:11:11,563 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=44.71))
2024-01-16 04:11:11,564 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=44.71))
2024-01-16 04:11:11,564 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374662, 'time': '04:11:02', 'grid': 2.581, 'house-power': 2.538, 'charging-all': 0.0, 'pv-all': -0.043, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:11:11,565 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:11:11,566 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:11:11,566 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:11:11,567 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:11:11,567 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:11:11,567 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:11:11,568 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:11:11,568 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:11:11,569 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:11:11,571 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:11:11,573 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:11:11,575 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:11:11,576 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2663.0W
2024-01-16 04:11:11,576 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2663.0W
2024-01-16 04:11:11,577 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:11:11,577 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:11:11,578 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:11:11,589 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:11:11,602 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:11:11,631 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:11:11,902 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:11:11,906 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:11:15,920 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:11:15,921 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:11:20,936 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:11:20,937 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:11:20,992 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:11:20,994 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:11:20,997 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:11:21,005 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:11:21,005 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:11:21,052 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2554, -1056, -730, -766], Scale 0
2024-01-16 04:11:21,053 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:11:21,058 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374679},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:11","unixtime":1705374681,"uptime":4734059,"ram_size":248948,"ram_free":144540,"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":-73},"ws":{"connected":false}}

2024-01-16 04:11:21,062 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374670.4171238, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:11:21,063 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00295703, power1: 0, power2: 0
2024-01-16 04:11:21,065 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:11:21,066 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374681.0624475, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:11:21,069 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:11:21,073 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 36, 34], Scale -1
2024-01-16 04:11:21,108 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23869, 23990, 23876, 0, 0, 0, 0], Scale -2
2024-01-16 04:11:21,163 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:11:21,211 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9449, 8379, 9380], Scale -2
2024-01-16 04:11:21,251 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016231, 3302609, 2344424, 2924360], Scale 0
2024-01-16 04:11:21,252 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1056.0, 730.0, 766.0], voltages=[238.69, 239.9, 238.76], power_factors=[0.9449, 0.8379000000000001, 0.938], imported=8016231.0, exported=4871567.0, power=2554.0, frequency=50.0)
2024-01-16 04:11:21,254 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:11:21,379 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4741], Scale -2
2024-01-16 04:11:21,399 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:11:21,427 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 30], Scale -2
2024-01-16 04:11:21,448 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4813], Scale -2
2024-01-16 04:11:21,448 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.3], power=47.410000000000004, exported=7896155.0, dc_power=48.13)
2024-01-16 04:11:21,451 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:11:21,488 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374670.9574995, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:11:21,489 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00292523, power1: 0, power2: 0
2024-01-16 04:11:21,489 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:11:21,489 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374681.488341, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:11:21,491 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:11:21,502 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:11:21,503 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:11:21,544 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:11:21,545 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:11:21,546 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:11:21,546 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.410000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:11:21,550 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:11:21,551 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.410000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:11:21,552 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:11:21,614 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:11:21,615 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1056.0, 730.0, 766.0], voltages=[238.69, 239.9, 238.76], power_factors=[0.9449, 0.8379000000000001, 0.938], imported=8016231.0, exported=4871567.0, power=2554.0, frequency=50.0)
2024-01-16 04:11:21,812 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:11:21,813 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:11:21,815 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 31.5, 31.6]A
2024-01-16 04:11:21,816 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21446.0W
2024-01-16 04:11:21,818 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:11:21,821 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:11:21,822 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:11:21,824 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:11:21.823829
2024-01-16 04:11:21,825 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 476.437041s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:11:21,828 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:11:21.828018
2024-01-16 04:11:21,829 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176302.519808s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:11:21,831 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:11:21.830917
2024-01-16 04:11:21,832 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9207.048308s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:11:21,834 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:11:21.833724
2024-01-16 04:11:21,835 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172671.209754s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:11:21,835 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:11:21,842 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:11:21,844 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:11:21,855 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374671.4701955, power=2518.29, imported=3845054.931021121, exported=0)
2024-01-16 04:11:21,858 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00288465, power1: 2518.29, power2: 2506.59
2024-01-16 04:11:21,865 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.24752
2024-01-16 04:11:21,869 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.24752 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374681.8549497, power=2506.59, imported=3845062.178541064, exported=0)
2024-01-16 04:11:21,876 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:11:21,878 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:11:21,879 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421142.09, exported=0))
2024-01-16 04:11:21,880 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421142.09, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.31, 239.21, 239.07]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=150.87999999988824, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1e9f28>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:11:21,881 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:11:21,881 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:11:21,882 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1056.0, 730.0, 766.0], currents=[4.7, 3.6, 3.4], voltages=[238.69, 239.9, 238.76], power_factors=[0.94, 0.84, 0.94], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6381.0, imported=8016231.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2554.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21446.0, raw_currents_left=[30.3, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:11:21,883 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2506.59, invalid_home_consumption=0, daily_yield_home_consumption=6085.8214047836, imported_home_consumption=3845062.178541064, disengageable_smarthome_power=0))
2024-01-16 04:11:21,883 - {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-16 04:11:21,884 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:11:21,885 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:11:21,886 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:11:21,887 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:11:21,889 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:11:21,891 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:11:21,897 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:11:21,901 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:11:21,908 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:11:21,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=1, keep_charge_active_duration=40)
2024-01-16 04:11:21,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-16 04:11:21,913 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:11:21,913 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:11:21,914 - {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 0x6c1e9118>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:11:21,915 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:11:21,916 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=47.41))
2024-01-16 04:11:21,919 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=47.41))
2024-01-16 04:11:21,921 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374671, 'time': '04:11:11', 'grid': 2.563, 'house-power': 2.518, 'charging-all': 0.0, 'pv-all': -0.045, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:11:21,924 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:11:21,925 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:11:21,926 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:11:21,928 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:11:21,929 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:11:21,931 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:11:21,932 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:11:21,934 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:11:21,935 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:11:21,937 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:11:21,939 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:11:21,942 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:11:21,944 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2654.0W
2024-01-16 04:11:21,945 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2654.0W
2024-01-16 04:11:21,946 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:11:21,947 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:11:21,949 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:11:21,952 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:11:21,961 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:11:22,012 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:11:22,249 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:11:25,267 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:11:25,268 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:11:30,280 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:11:30,281 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:11:30,331 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:11:30,333 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:11:30,341 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:11:30,345 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:11:30,346 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:11:30,385 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2553, -1058, -730, -764], Scale 0
2024-01-16 04:11:30,390 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:11:30,393 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374689},"temperature":{"tC":26.3, "tF":79.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:11","unixtime":1705374691,"uptime":4734068,"ram_size":249000,"ram_free":145116,"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":-73},"ws":{"connected":false}}

2024-01-16 04:11:30,395 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374681.0624475, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:11:30,395 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00259236, power1: 0, power2: 0
2024-01-16 04:11:30,396 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:11:30,396 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374690.3949552, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:11:30,398 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:11:30,433 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 36, 34], Scale -1
2024-01-16 04:11:30,460 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23867, 23991, 23881, 0, 0, 0, 0], Scale -2
2024-01-16 04:11:30,491 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:11:30,608 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9419, 8320, 9309], Scale -2
2024-01-16 04:11:30,629 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016237, 3302611, 2344426, 2924361], Scale 0
2024-01-16 04:11:30,629 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1058.0, 730.0, 764.0], voltages=[238.67000000000002, 239.91, 238.81], power_factors=[0.9419, 0.8320000000000001, 0.9309000000000001], imported=8016237.0, exported=4871567.0, power=2553.0, frequency=50.0)
2024-01-16 04:11:30,631 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:11:30,648 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4776], Scale -2
2024-01-16 04:11:30,668 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:11:30,693 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 30, 30], Scale -2
2024-01-16 04:11:30,750 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4497], Scale -2
2024-01-16 04:11:30,752 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.3, 0.3], power=47.76, exported=7896155.0, dc_power=44.97)
2024-01-16 04:11:30,773 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:11:30,850 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374681.488341, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:11:30,851 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00260053, power1: 0, power2: 0
2024-01-16 04:11:30,852 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:11:30,854 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374690.8502607, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:11:30,857 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:11:30,862 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:11:30,868 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:11:30,995 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:11:30,997 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:11:31,000 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:11:31,006 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.76, exported=7934579.61, dc_power=None)
2024-01-16 04:11:31,008 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:11:31,009 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.76, exported=7934579.61, dc_power=None)
2024-01-16 04:11:31,011 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:11:31,080 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:11:31,081 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1058.0, 730.0, 764.0], voltages=[238.67000000000002, 239.91, 238.81], power_factors=[0.9419, 0.8320000000000001, 0.9309000000000001], imported=8016237.0, exported=4871567.0, power=2553.0, frequency=50.0)
2024-01-16 04:11:31,259 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:11:31,266 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:11:31,271 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 31.5, 31.6]A
2024-01-16 04:11:31,275 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21447.0W
2024-01-16 04:11:31,276 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:11:31,278 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:11:31,282 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:11:31,286 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:11:31.286253
2024-01-16 04:11:31,294 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 466.974617s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:11:31,296 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:11:31.295791
2024-01-16 04:11:31,301 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176293.052035s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:11:31,312 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:11:31.311664
2024-01-16 04:11:31,312 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9216.529055s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:11:31,313 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:11:31.313227
2024-01-16 04:11:31,314 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172661.730251s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:11:31,314 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:11:31,335 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:11:31,336 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:11:31,340 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374681.8549497, power=2506.59, imported=3845062.178541064, exported=0)
2024-01-16 04:11:31,341 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00263484, power1: 2506.59, power2: 2505.24
2024-01-16 04:11:31,342 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.60268
2024-01-16 04:11:31,342 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.60268 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374691.3403714, power=2505.24, imported=3845068.781224512, exported=0)
2024-01-16 04:11:31,344 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:11:31,346 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:11:31,347 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421142.09, exported=0))
2024-01-16 04:11:31,349 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421142.09, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.33, 239.32, 239.16]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=150.87999999988824, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1f07c0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:11:31,350 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:11:31,351 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:11:31,353 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1058.0, 730.0, 764.0], currents=[4.7, 3.6, 3.4], voltages=[238.67, 239.91, 238.81], power_factors=[0.94, 0.83, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6381.0, imported=8016237.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2553.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21447.0, raw_currents_left=[30.3, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:11:31,355 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2505.24, invalid_home_consumption=0, daily_yield_home_consumption=6085.8214047836, imported_home_consumption=3845068.781224512, disengageable_smarthome_power=0))
2024-01-16 04:11:31,356 - {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-16 04:11:31,359 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:11:31,364 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:11:31,367 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:11:31,371 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:11:31,373 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:11:31,379 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:11:31,381 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:11:31,384 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:11:31,385 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:11:31,387 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:11:31,388 - {control.data:245} - {INFO:MainThread} - general_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-16 04:11:31,393 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:11:31,395 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:11:31,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 0x6c1bf400>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:11:31,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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:11:31,406 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=47.76))
2024-01-16 04:11:31,407 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=47.76))
2024-01-16 04:11:31,408 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374682, 'time': '04:11:22', 'grid': 2.554, 'house-power': 2.507, 'charging-all': 0.0, 'pv-all': -0.047, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:11:31,409 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:11:31,410 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:11:31,411 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:11:31,411 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:11:31,413 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:11:31,413 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:11:31,414 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:11:31,415 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:11:31,415 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:11:31,417 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:11:31,419 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:11:31,421 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:11:31,422 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2653.0W
2024-01-16 04:11:31,422 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2653.0W
2024-01-16 04:11:31,423 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:11:31,423 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:11:31,423 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:11:31,425 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:11:31,430 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:11:31,475 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:11:31,728 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:11:31,730 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:11:35,742 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:11:35,742 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:11:40,759 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:11:40,760 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:11:40,818 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:11:40,821 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:11:40,823 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:11:40,842 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:11:40,847 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:11:40,886 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:11:40,888 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374700},"temperature":{"tC":26.3, "tF":79.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:11","unixtime":1705374701,"uptime":4734079,"ram_size":249000,"ram_free":145116,"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-16 04:11:40,892 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374690.3949552, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:11:40,893 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00291593, power1: 0, power2: 0
2024-01-16 04:11:40,896 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:11:40,897 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374700.8923051, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:11:40,899 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2553, -1056, -732, -764], Scale 0
2024-01-16 04:11:40,900 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:11:40,940 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [47, 36, 34], Scale -1
2024-01-16 04:11:40,961 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23884, 24006, 23852, 0, 0, 0, 0], Scale -2
2024-01-16 04:11:41,098 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:11:41,138 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9430, 8280, 9319], Scale -2
2024-01-16 04:11:41,160 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016243, 3302614, 2344427, 2924363], Scale 0
2024-01-16 04:11:41,160 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1056.0, 732.0, 764.0], voltages=[238.84, 240.06, 238.52], power_factors=[0.943, 0.828, 0.9319], imported=8016243.0, exported=4871567.0, power=2553.0, frequency=50.0)
2024-01-16 04:11:41,162 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:11:41,209 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4845], Scale -2
2024-01-16 04:11:41,258 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:11:41,277 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 29], Scale -2
2024-01-16 04:11:41,297 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4919], Scale -2
2024-01-16 04:11:41,297 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.29], power=48.45, exported=7896155.0, dc_power=49.19)
2024-01-16 04:11:41,302 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:11:41,502 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374690.8502607, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:11:41,503 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00295902, power1: 0, power2: 0
2024-01-16 04:11:41,503 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:11:41,504 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374701.502715, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:11:41,506 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:11:41,510 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:11:41,513 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:11:41,555 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:11:41,556 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:11:41,557 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=48.45, exported=7934579.61, dc_power=None)
2024-01-16 04:11:41,558 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:11:41,559 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=48.45, exported=7934579.61, dc_power=None)
2024-01-16 04:11:41,569 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:11:41,575 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:11:41,644 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:11:41,645 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.7, 3.6, 3.4000000000000004], powers=[1056.0, 732.0, 764.0], voltages=[238.84, 240.06, 238.52], power_factors=[0.943, 0.828, 0.9319], imported=8016243.0, exported=4871567.0, power=2553.0, frequency=50.0)
2024-01-16 04:11:41,814 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:11:41,818 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:11:41,821 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.3, 31.5, 31.6]A
2024-01-16 04:11:41,822 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21447.0W
2024-01-16 04:11:41,824 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:11:41,825 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:11:41,826 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:11:41,828 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:11:41.827715
2024-01-16 04:11:41,829 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 456.433155s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:11:41,831 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:11:41.830812
2024-01-16 04:11:41,832 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176282.517014s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:11:41,833 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:11:41.833163
2024-01-16 04:11:41,834 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9227.050554s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:11:41,836 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:11:41.835469
2024-01-16 04:11:41,837 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172651.208009s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:11:41,838 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:11:41,841 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:11:41,842 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:11:41,850 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374691.3403714, power=2505.24, imported=3845068.781224512, exported=0)
2024-01-16 04:11:41,852 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00291956, power1: 2505.24, power2: 2504.55
2024-01-16 04:11:41,854 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.31319
2024-01-16 04:11:41,857 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.31319 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374701.8507905, power=2504.55, imported=3845076.094417936, exported=0)
2024-01-16 04:11:41,862 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:11:41,863 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:11:41,865 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421142.09, exported=0))
2024-01-16 04:11:41,868 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421142.09, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.49, 238.98, 239.18]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=150.87999999988824, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1d4238>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:11:41,868 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:11:41,869 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:11:41,875 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1056.0, 732.0, 764.0], currents=[4.7, 3.6, 3.4], voltages=[238.84, 240.06, 238.52], power_factors=[0.94, 0.83, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6381.0, imported=8016243.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2553.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21447.0, raw_currents_left=[30.3, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:11:41,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=2504.55, invalid_home_consumption=0, daily_yield_home_consumption=6085.8214047836, imported_home_consumption=3845076.094417936, disengageable_smarthome_power=0))
2024-01-16 04:11:41,881 - {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-16 04:11:41,882 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:11:41,884 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:11:41,886 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:11:41,887 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:11:41,888 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:11:41,889 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:11:41,890 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:11:41,891 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:11:41,892 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:11:41,893 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:11:41,895 - {control.data:245} - {INFO:MainThread} - general_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-16 04:11:41,895 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:11:41,898 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:11:41,899 - {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 0x6c1d18c8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:11:41,899 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:11:41,899 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=48.45))
2024-01-16 04:11:41,900 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=48.45))
2024-01-16 04:11:41,900 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374691, 'time': '04:11:31', 'grid': 2.553, 'house-power': 2.505, 'charging-all': 0.0, 'pv-all': -0.048, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:11:41,901 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:11:41,901 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:11:41,902 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:11:41,902 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:11:41,902 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:11:41,903 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:11:41,903 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:11:41,903 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:11:41,904 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:11:41,906 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:11:41,907 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:11:41,910 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:11:41,911 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2653.0W
2024-01-16 04:11:41,918 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2653.0W
2024-01-16 04:11:41,919 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:11:41,920 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:11:41,921 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:11:41,933 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:11:41,940 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:11:41,970 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:11:42,223 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:11:45,244 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:11:45,245 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:11:50,257 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:11:50,258 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:11:50,301 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:11:50,304 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:11:50,312 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:11:50,312 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:11:50,326 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:11:50,372 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:11:50,374 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374710},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:11","unixtime":1705374711,"uptime":4734088,"ram_size":249000,"ram_free":145116,"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-16 04:11:50,377 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2549, -1055, -729, -764], Scale 0
2024-01-16 04:11:50,379 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374700.8923051, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:11:50,380 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00263522, power1: 0, power2: 0
2024-01-16 04:11:50,380 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:11:50,380 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374710.379104, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:11:50,382 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:11:50,441 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [46, 36, 34], Scale -1
2024-01-16 04:11:50,468 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23882, 23999, 23890, 0, 0, 0, 0], Scale -2
2024-01-16 04:11:50,487 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:11:50,610 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9449, 8379, 9369], Scale -2
2024-01-16 04:11:50,655 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016249, 3302616, 2344429, 2924365], Scale 0
2024-01-16 04:11:50,658 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.6000000000000005, 3.6, 3.4000000000000004], powers=[1055.0, 729.0, 764.0], voltages=[238.82, 239.99, 238.9], power_factors=[0.9449, 0.8379000000000001, 0.9369], imported=8016249.0, exported=4871567.0, power=2549.0, frequency=50.0)
2024-01-16 04:11:50,665 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:11:50,738 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4623], Scale -2
2024-01-16 04:11:50,758 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:11:50,779 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 30], Scale -2
2024-01-16 04:11:50,828 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4694], Scale -2
2024-01-16 04:11:50,829 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.3], power=46.230000000000004, exported=7896155.0, dc_power=46.94)
2024-01-16 04:11:50,830 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:11:50,888 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374701.502715, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:11:50,889 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00260715, power1: 0, power2: 0
2024-01-16 04:11:50,889 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:11:50,890 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374710.8884447, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:11:50,891 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:11:50,894 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:11:50,901 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:11:50,962 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:11:50,964 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:11:50,978 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.230000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:11:50,979 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.230000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:11:50,982 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:11:50,985 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:11:50,990 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:11:51,047 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:11:51,048 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.6000000000000005, 3.6, 3.4000000000000004], powers=[1055.0, 729.0, 764.0], voltages=[238.82, 239.99, 238.9], power_factors=[0.9449, 0.8379000000000001, 0.9369], imported=8016249.0, exported=4871567.0, power=2549.0, frequency=50.0)
2024-01-16 04:11:51,219 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:11:51,221 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:11:51,223 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.4, 31.5, 31.6]A
2024-01-16 04:11:51,224 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21451.0W
2024-01-16 04:11:51,225 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:11:51,228 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:11:51,229 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:11:51,231 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:11:51.230681
2024-01-16 04:11:51,232 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 447.030189s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:11:51,234 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:11:51.233624
2024-01-16 04:11:51,235 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176273.114202s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:11:51,238 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:11:51.237999
2024-01-16 04:11:51,239 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9236.45539s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:11:51,243 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:11:51.243471
2024-01-16 04:11:51,244 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172641.800007s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:11:51,247 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:11:51,256 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:11:51,273 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:11:51,300 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374701.8507905, power=2504.55, imported=3845076.094417936, exported=0)
2024-01-16 04:11:51,301 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00262483, power1: 2504.55, power2: 2502.77
2024-01-16 04:11:51,305 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.57168
2024-01-16 04:11:51,307 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.57168 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374711.3001814, power=2502.77, imported=3845082.6661018226, exported=0)
2024-01-16 04:11:51,312 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:11:51,313 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:11:51,314 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421142.09, exported=0))
2024-01-16 04:11:51,317 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421142.09, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.25, 239.21, 239.09]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=150.87999999988824, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1eab08>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:11:51,317 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:11:51,318 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:11:51,320 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1055.0, 729.0, 764.0], currents=[4.6, 3.6, 3.4], voltages=[238.82, 239.99, 238.9], power_factors=[0.94, 0.84, 0.94], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6381.0, imported=8016249.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2549.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21451.0, raw_currents_left=[30.4, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:11:51,320 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2502.77, invalid_home_consumption=0, daily_yield_home_consumption=6085.8214047836, imported_home_consumption=3845082.6661018226, disengageable_smarthome_power=0))
2024-01-16 04:11:51,321 - {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-16 04:11:51,323 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:11:51,324 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:11:51,325 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:11:51,326 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:11:51,327 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:11:51,328 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:11:51,329 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:11:51,331 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:11:51,332 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:11:51,333 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:11:51,340 - {control.data:245} - {INFO:MainThread} - general_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-16 04:11:51,344 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:11:51,345 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:11:51,346 - {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 0x6f7de0d0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:11:51,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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:11:51,351 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=46.23))
2024-01-16 04:11:51,352 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=46.23))
2024-01-16 04:11:51,353 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374701, 'time': '04:11:41', 'grid': 2.553, 'house-power': 2.505, 'charging-all': 0.0, 'pv-all': -0.048, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:11:51,355 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:11:51,356 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:11:51,357 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:11:51,358 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:11:51,362 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:11:51,363 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:11:51,365 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:11:51,366 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:11:51,367 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:11:51,371 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:11:51,374 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:11:51,379 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:11:51,380 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2649.0W
2024-01-16 04:11:51,382 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2649.0W
2024-01-16 04:11:51,384 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:11:51,390 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:11:51,391 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:11:51,394 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:11:51,402 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:11:51,412 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:11:51,678 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:11:51,686 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:11:55,698 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:11:55,699 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:12:00,716 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:12:00,718 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:12:00,828 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:12:00,838 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:12:00,843 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:12:00,859 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:12:00,862 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:12:00,932 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:12:00,935 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":240.3, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374720},"temperature":{"tC":26.3, "tF":79.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:12","unixtime":1705374721,"uptime":4734099,"ram_size":248948,"ram_free":144540,"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-16 04:12:00,945 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374710.379104, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:12:00,946 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00293496, power1: 0, power2: 0
2024-01-16 04:12:00,948 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:12:00,951 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374720.9449754, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:12:00,954 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:12:00,979 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2542, -1052, -734, -755], Scale 0
2024-01-16 04:12:01,017 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [46, 36, 34], Scale -1
2024-01-16 04:12:01,038 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23870, 23987, 23885, 0, 0, 0, 0], Scale -2
2024-01-16 04:12:01,122 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:12:01,138 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9409, 8299, 9290], Scale -2
2024-01-16 04:12:01,159 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016260, 3302621, 2344432, 2924368], Scale 0
2024-01-16 04:12:01,159 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.6000000000000005, 3.6, 3.4000000000000004], powers=[1052.0, 734.0, 755.0], voltages=[238.70000000000002, 239.87, 238.85], power_factors=[0.9409000000000001, 0.8299, 0.929], imported=8016260.0, exported=4871567.0, power=2542.0, frequency=50.0)
2024-01-16 04:12:01,163 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:12:01,248 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4849], Scale -2
2024-01-16 04:12:01,290 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:12:01,334 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 30], Scale -2
2024-01-16 04:12:01,359 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4287], Scale -2
2024-01-16 04:12:01,359 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.3], power=48.49, exported=7896155.0, dc_power=42.87)
2024-01-16 04:12:01,362 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:12:01,407 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374710.8884447, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:12:01,407 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00292181, power1: 0, power2: 0
2024-01-16 04:12:01,408 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:12:01,408 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374721.406958, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:12:01,409 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:12:01,418 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:12:01,420 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:12:01,459 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:12:01,460 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:12:01,461 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=48.49, exported=7934579.61, dc_power=None)
2024-01-16 04:12:01,462 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=48.49, exported=7934579.61, dc_power=None)
2024-01-16 04:12:01,463 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:12:01,466 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:12:01,471 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:12:01,523 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:12:01,523 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.6000000000000005, 3.6, 3.4000000000000004], powers=[1052.0, 734.0, 755.0], voltages=[238.70000000000002, 239.87, 238.85], power_factors=[0.9409000000000001, 0.8299, 0.929], imported=8016260.0, exported=4871567.0, power=2542.0, frequency=50.0)
2024-01-16 04:12:01,676 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:12:01,680 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:12:01,694 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.4, 31.5, 31.6]A
2024-01-16 04:12:01,702 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21458.0W
2024-01-16 04:12:01,704 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:12:01,707 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:12:01,712 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:12:01,714 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:12:01.713660
2024-01-16 04:12:01,715 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 436.54721s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:12:01,716 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:12:01.716338
2024-01-16 04:12:01,717 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176262.631488s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:12:01,721 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:12:01.721119
2024-01-16 04:12:01,726 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9246.93851s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:12:01,729 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:12:01.728599
2024-01-16 04:12:01,730 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172631.314879s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:12:01,731 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:12:01,741 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:12:01,745 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:12:01,758 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374711.3001814, power=2502.77, imported=3845082.6661018226, exported=0)
2024-01-16 04:12:01,760 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00290496, power1: 2502.77, power2: 2493.51
2024-01-16 04:12:01,762 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.25699
2024-01-16 04:12:01,763 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.25699 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374721.7580323, power=2493.51, imported=3845089.923095081, exported=0)
2024-01-16 04:12:01,767 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:12:01,769 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:12:01,771 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421142.09, exported=0))
2024-01-16 04:12:01,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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421142.09, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.41, 238.97, 239.06]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=150.87999999988824, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1e1e68>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:12:01,774 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-16 04:12:01,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=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:12:01,778 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1052.0, 734.0, 755.0], currents=[4.6, 3.6, 3.4], voltages=[238.7, 239.87, 238.85], power_factors=[0.94, 0.83, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6381.0, imported=8016260.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2542.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21458.0, raw_currents_left=[30.4, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:12:01,779 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': '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.51, invalid_home_consumption=0, daily_yield_home_consumption=6085.8214047836, imported_home_consumption=3845089.923095081, disengageable_smarthome_power=0))
2024-01-16 04:12:01,781 - {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-16 04:12:01,783 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:12:01,784 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:12:01,786 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:12:01,787 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:12:01,789 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:12:01,790 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:12:01,792 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:12:01,793 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:12:01,795 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:12:01,796 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:12:01,797 - {control.data:245} - {INFO:MainThread} - general_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-16 04:12:01,800 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:12:01,802 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:12:01,804 - {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 0x6c1f4298>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:12:01,807 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:12:01,809 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=48.49))
2024-01-16 04:12:01,810 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=48.49))
2024-01-16 04:12:01,813 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374711, 'time': '04:11:51', 'grid': 2.549, 'house-power': 2.503, 'charging-all': 0.0, 'pv-all': -0.046, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:12:01,814 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:12:01,816 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:12:01,818 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:12:01,820 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:12:01,821 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:12:01,822 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:12:01,827 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:12:01,831 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:12:01,833 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:12:01,838 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:12:01,840 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:12:01,844 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:12:01,847 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2642.0W
2024-01-16 04:12:01,850 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2642.0W
2024-01-16 04:12:01,851 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:12:01,851 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:12:01,852 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:12:01,854 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:12:01,856 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:12:01,892 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:12:02,126 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:12:05,143 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:12:05,143 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:12:10,155 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:12:10,156 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:12:10,205 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:12:10,207 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:12:10,214 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:12:10,216 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:12:10,218 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:12:10,258 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:12:10,261 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374729},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:12","unixtime":1705374731,"uptime":4734108,"ram_size":248948,"ram_free":144540,"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-16 04:12:10,263 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374720.9449754, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:12:10,265 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00258855, power1: 0, power2: 0
2024-01-16 04:12:10,267 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:12:10,268 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374730.2637415, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:12:10,272 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:12:10,273 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2538, -1055, -728, -754], Scale 0
2024-01-16 04:12:10,330 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [46, 36, 33], Scale -1
2024-01-16 04:12:10,357 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23848, 23981, 23837, 0, 0, 0, 0], Scale -2
2024-01-16 04:12:10,377 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:12:10,396 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9459, 8370, 9359], Scale -2
2024-01-16 04:12:10,518 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016266, 3302623, 2344434, 2924370], Scale 0
2024-01-16 04:12:10,519 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.6000000000000005, 3.6, 3.3000000000000003], powers=[1055.0, 728.0, 754.0], voltages=[238.48000000000002, 239.81, 238.37], power_factors=[0.9459000000000001, 0.8370000000000001, 0.9359000000000001], imported=8016266.0, exported=4871567.0, power=2538.0, frequency=50.0)
2024-01-16 04:12:10,524 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:12:10,557 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4305], Scale -2
2024-01-16 04:12:10,581 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:12:10,618 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 29], Scale -2
2024-01-16 04:12:10,637 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4674], Scale -2
2024-01-16 04:12:10,638 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.29], power=43.050000000000004, exported=7896155.0, dc_power=46.74)
2024-01-16 04:12:10,639 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:12:10,700 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374721.406958, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:12:10,702 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00258147, power1: 0, power2: 0
2024-01-16 04:12:10,703 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:12:10,704 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374730.700255, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:12:10,715 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:12:10,723 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:12:10,727 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:12:10,955 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:12:10,961 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:12:10,964 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=43.050000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:12:10,975 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:12:10,966 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=43.050000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:12:10,979 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:12:10,988 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:12:11,072 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:12:11,073 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.6000000000000005, 3.6, 3.3000000000000003], powers=[1055.0, 728.0, 754.0], voltages=[238.48000000000002, 239.81, 238.37], power_factors=[0.9459000000000001, 0.8370000000000001, 0.9359000000000001], imported=8016266.0, exported=4871567.0, power=2538.0, frequency=50.0)
2024-01-16 04:12:11,240 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:12:11,245 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:12:11,255 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.4, 31.5, 31.7]A
2024-01-16 04:12:11,257 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21462.0W
2024-01-16 04:12:11,262 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:12:11,269 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:12:11,277 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:12:11,279 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:12:11.278648
2024-01-16 04:12:11,281 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 426.982222s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:12:11,282 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:12:11.282115
2024-01-16 04:12:11,283 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176253.065711s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:12:11,284 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:12:11.284353
2024-01-16 04:12:11,285 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9256.501744s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:12:11,286 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:12:11.285964
2024-01-16 04:12:11,287 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172621.757514s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:12:11,290 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:12:11,316 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:12:11,317 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:12:11,350 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374721.7580323, power=2493.51, imported=3845089.923095081, exported=0)
2024-01-16 04:12:11,355 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00266463, power1: 2493.51, power2: 2494.95
2024-01-16 04:12:11,357 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.64619
2024-01-16 04:12:11,359 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.64619 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374731.3506835, power=2494.95, imported=3845096.569283477, exported=0)
2024-01-16 04:12:11,368 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:12:11,378 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:12:11,380 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421142.09, exported=0))
2024-01-16 04:12:11,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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421142.09, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.24, 238.78, 239.04]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=150.87999999988824, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7de148>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:12:11,387 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:12:11,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=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:12:11,392 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1055.0, 728.0, 754.0], currents=[4.6, 3.6, 3.3], voltages=[238.48, 239.81, 238.37], power_factors=[0.95, 0.84, 0.94], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6381.0, imported=8016266.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2538.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21462.0, raw_currents_left=[30.4, 31.5, 31.7], surplus_power_left=0, state_str=''))
2024-01-16 04:12:11,393 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2494.95, invalid_home_consumption=0, daily_yield_home_consumption=6085.8214047836, imported_home_consumption=3845096.569283477, disengageable_smarthome_power=0))
2024-01-16 04:12:11,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-16 04:12:11,395 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:12:11,396 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:12:11,397 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:12:11,397 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:12:11,398 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:12:11,398 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:12:11,399 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:12:11,399 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:12:11,399 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:12:11,400 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:12:11,400 - {control.data:245} - {INFO:MainThread} - general_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-16 04:12:11,401 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:12:11,401 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:12:11,402 - {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 0x6c1eaf88>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:12:11,402 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:12:11,402 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=43.05))
2024-01-16 04:12:11,403 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=43.05))
2024-01-16 04:12:11,403 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374721, 'time': '04:12:01', 'grid': 2.542, 'house-power': 2.494, 'charging-all': 0.0, 'pv-all': -0.048, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:12:11,404 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:12:11,404 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:12:11,405 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:12:11,405 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:12:11,405 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:12:11,406 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:12:11,406 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:12:11,407 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:12:11,407 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:12:11,409 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:12:11,410 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:12:11,412 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:12:11,413 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2638.0W
2024-01-16 04:12:11,413 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2638.0W
2024-01-16 04:12:11,414 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:12:11,414 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:12:11,415 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:12:11,419 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:12:11,430 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:12:11,469 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:12:11,742 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:12:11,744 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:12:15,796 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:12:15,797 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:12:20,814 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:12:20,816 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:12:20,867 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:12:20,871 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:12:20,877 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:12:20,879 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:12:20,889 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:12:20,941 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:12:20,943 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374740},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:12","unixtime":1705374741,"uptime":4734119,"ram_size":248948,"ram_free":144540,"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-16 04:12:20,947 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374730.2637415, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:12:20,948 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0029676, power1: 0, power2: 0
2024-01-16 04:12:20,951 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:12:20,952 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374740.947087, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:12:20,954 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:12:20,967 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2546, -1059, -728, -758], Scale 0
2024-01-16 04:12:21,042 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [46, 36, 33], Scale -1
2024-01-16 04:12:21,077 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23855, 23985, 23833, 0, 0, 0, 0], Scale -2
2024-01-16 04:12:21,126 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:12:21,166 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9440, 8330, 9359], Scale -2
2024-01-16 04:12:21,188 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016271, 3302625, 2344435, 2924372], Scale 0
2024-01-16 04:12:21,188 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.6000000000000005, 3.6, 3.3000000000000003], powers=[1059.0, 728.0, 758.0], voltages=[238.55, 239.85, 238.33], power_factors=[0.9440000000000001, 0.833, 0.9359000000000001], imported=8016271.0, exported=4871567.0, power=2546.0, frequency=50.0)
2024-01-16 04:12:21,190 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:12:21,298 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-3964], Scale -2
2024-01-16 04:12:21,318 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:12:21,338 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 31], Scale -2
2024-01-16 04:12:21,358 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4024], Scale -2
2024-01-16 04:12:21,359 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.31], power=39.64, exported=7896155.0, dc_power=40.24)
2024-01-16 04:12:21,360 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:12:21,438 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374730.700255, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:12:21,438 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00298278, power1: 0, power2: 0
2024-01-16 04:12:21,439 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:12:21,439 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374741.4382517, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:12:21,440 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:12:21,444 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:12:21,446 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:12:21,522 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:12:21,524 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:12:21,525 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=39.64, exported=7934579.61, dc_power=None)
2024-01-16 04:12:21,527 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:12:21,527 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=39.64, exported=7934579.61, dc_power=None)
2024-01-16 04:12:21,530 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:12:21,540 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:12:21,619 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:12:21,621 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.6000000000000005, 3.6, 3.3000000000000003], powers=[1059.0, 728.0, 758.0], voltages=[238.55, 239.85, 238.33], power_factors=[0.9440000000000001, 0.833, 0.9359000000000001], imported=8016271.0, exported=4871567.0, power=2546.0, frequency=50.0)
2024-01-16 04:12:21,784 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:12:21,785 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:12:21,788 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.4, 31.5, 31.7]A
2024-01-16 04:12:21,789 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21454.0W
2024-01-16 04:12:21,791 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:12:21,792 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:12:21,794 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:12:21,795 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:12:21.795208
2024-01-16 04:12:21,796 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 416.465662s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:12:21,803 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:12:21.802706
2024-01-16 04:12:21,804 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176242.54512s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:12:21,806 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:12:21.806331
2024-01-16 04:12:21,807 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9267.023722s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:12:21,810 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:12:21.809639
2024-01-16 04:12:21,810 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172611.233839s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:12:21,811 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:12:21,814 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:12:21,815 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:12:21,833 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374731.3506835, power=2494.95, imported=3845096.569283477, exported=0)
2024-01-16 04:12:21,835 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00291192, power1: 2494.95, power2: 2506.36
2024-01-16 04:12:21,838 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.2817
2024-01-16 04:12:21,839 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.2817 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374741.8335905, power=2506.36, imported=3845103.850987351, exported=0)
2024-01-16 04:12:21,844 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:12:21,845 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:12:21,847 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421142.09, exported=0))
2024-01-16 04:12:21,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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421142.09, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.27, 238.77, 238.93]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=150.87999999988824, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1cf640>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:12:21,849 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-16 04:12:21,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=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:12:21,852 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1059.0, 728.0, 758.0], currents=[4.6, 3.6, 3.3], voltages=[238.55, 239.85, 238.33], power_factors=[0.94, 0.83, 0.94], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6381.0, imported=8016271.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2546.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21454.0, raw_currents_left=[30.4, 31.5, 31.7], surplus_power_left=0, state_str=''))
2024-01-16 04:12:21,853 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2506.36, invalid_home_consumption=0, daily_yield_home_consumption=6085.8214047836, imported_home_consumption=3845103.850987351, disengageable_smarthome_power=0))
2024-01-16 04:12:21,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-16 04:12:21,856 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:12:21,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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:12:21,859 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:12:21,860 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:12:21,867 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:12:21,870 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:12:21,871 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:12:21,875 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:12:21,875 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:12:21,876 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:12:21,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-16 04:12:21,879 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:12:21,880 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:12:21,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 0x6c1cf928>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:12:21,883 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:12:21,883 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=39.64))
2024-01-16 04:12:21,887 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=39.64))
2024-01-16 04:12:21,888 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374731, 'time': '04:12:11', 'grid': 2.538, 'house-power': 2.495, 'charging-all': 0.0, 'pv-all': -0.043, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:12:21,889 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:12:21,890 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:12:21,891 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:12:21,892 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:12:21,893 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:12:21,895 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:12:21,895 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:12:21,895 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:12:21,896 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:12:21,899 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:12:21,902 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:12:21,904 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:12:21,905 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2646.0W
2024-01-16 04:12:21,907 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2646.0W
2024-01-16 04:12:21,908 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:12:21,909 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:12:21,911 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:12:21,914 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:12:21,919 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:12:21,947 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:12:22,187 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:12:25,220 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:12:25,221 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:12:30,233 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:12:30,234 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:12:30,278 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:12:30,279 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:12:30,286 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:12:30,288 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:12:30,289 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:12:30,331 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:12:30,333 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2531, -1055, -724, -751], Scale 0
2024-01-16 04:12:30,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.3, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374749},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:12","unixtime":1705374751,"uptime":4734128,"ram_size":249000,"ram_free":145116,"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":-72},"ws":{"connected":false}}

2024-01-16 04:12:30,343 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374740.947087, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:12:30,344 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00261017, power1: 0, power2: 0
2024-01-16 04:12:30,345 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:12:30,346 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374750.343687, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:12:30,349 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:12:30,358 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [46, 36, 34], Scale -1
2024-01-16 04:12:30,388 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23839, 23972, 23830, 0, 0, 0, 0], Scale -2
2024-01-16 04:12:30,426 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:12:30,471 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9409, 8280, 9309], Scale -2
2024-01-16 04:12:30,561 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016277, 3302628, 2344437, 2924373], Scale 0
2024-01-16 04:12:30,562 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.6000000000000005, 3.6, 3.4000000000000004], powers=[1055.0, 724.0, 751.0], voltages=[238.39000000000001, 239.72, 238.3], power_factors=[0.9409000000000001, 0.828, 0.9309000000000001], imported=8016277.0, exported=4871567.0, power=2531.0, frequency=50.0)
2024-01-16 04:12:30,566 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:12:30,590 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4479], Scale -2
2024-01-16 04:12:30,615 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:12:30,638 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 32, 30], Scale -2
2024-01-16 04:12:30,677 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4547], Scale -2
2024-01-16 04:12:30,678 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.32, 0.3], power=44.79, exported=7896155.0, dc_power=45.47)
2024-01-16 04:12:30,684 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:12:30,828 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374741.4382517, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:12:30,829 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.0026085, power1: 0, power2: 0
2024-01-16 04:12:30,830 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:12:30,830 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374750.8288352, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:12:30,831 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:12:30,835 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:12:30,841 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:12:30,897 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:12:30,898 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:12:30,899 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=44.79, exported=7934579.61, dc_power=None)
2024-01-16 04:12:30,901 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:12:30,906 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=44.79, exported=7934579.61, dc_power=None)
2024-01-16 04:12:30,913 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:12:30,924 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:12:30,992 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:12:30,993 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.6000000000000005, 3.6, 3.4000000000000004], powers=[1055.0, 724.0, 751.0], voltages=[238.39000000000001, 239.72, 238.3], power_factors=[0.9409000000000001, 0.828, 0.9309000000000001], imported=8016277.0, exported=4871567.0, power=2531.0, frequency=50.0)
2024-01-16 04:12:31,170 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:12:31,172 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:12:31,177 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.4, 31.5, 31.6]A
2024-01-16 04:12:31,179 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21469.0W
2024-01-16 04:12:31,182 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:12:31,189 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:12:31,194 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:12:31,199 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:12:31.199138
2024-01-16 04:12:31,202 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 407.061732s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:12:31,205 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:12:31.205122
2024-01-16 04:12:31,206 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176233.142704s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:12:31,210 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:12:31.209921
2024-01-16 04:12:31,215 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9276.427312s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:12:31,216 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:12:31.216148
2024-01-16 04:12:31,217 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172601.82733s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:12:31,218 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:12:31,222 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:12:31,223 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:12:31,269 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374741.8335905, power=2506.36, imported=3845103.850987351, exported=0)
2024-01-16 04:12:31,273 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00262103, power1: 2506.36, power2: 2486.21
2024-01-16 04:12:31,275 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.54283
2024-01-16 04:12:31,276 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.54283 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374751.2692883, power=2486.21, imported=3845110.3938181475, exported=0)
2024-01-16 04:12:31,285 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:12:31,286 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:12:31,288 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421142.09, exported=0))
2024-01-16 04:12:31,291 - {control.data:266} - {INFO:MainThread} - cp1
ChargepointData(control_parameter=ControlParameter(chargemode=<Chargemode.SCHEDULED_CHARGING: 'scheduled_charging'>, current_plan='Zielladen 95%, 06:00 Uhr', failed_phase_switches=1, imported_at_plan_start=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421142.09, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.34, 238.86, 239.1]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=150.87999999988824, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1cf148>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:12:31,296 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:12: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=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:12:31,299 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1055.0, 724.0, 751.0], currents=[4.6, 3.6, 3.4], voltages=[238.39, 239.72, 238.3], power_factors=[0.94, 0.83, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6381.0, imported=8016277.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2531.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21469.0, raw_currents_left=[30.4, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:12:31,301 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2486.21, invalid_home_consumption=0, daily_yield_home_consumption=6085.8214047836, imported_home_consumption=3845110.3938181475, disengageable_smarthome_power=0))
2024-01-16 04:12:31,310 - {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-16 04:12:31,311 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:12:31,313 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:12:31,314 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:12:31,315 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:12:31,316 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:12:31,318 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:12:31,319 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:12:31,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-16 04:12:31,329 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:12:31,330 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:12:31,331 - {control.data:245} - {INFO:MainThread} - general_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-16 04:12:31,332 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:12:31,333 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:12:31,334 - {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 0x6c1c22c8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:12:31,335 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:12:31,335 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=44.79))
2024-01-16 04:12:31,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=8233395.285, power=44.79))
2024-01-16 04:12:31,336 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374741, 'time': '04:12:21', 'grid': 2.546, 'house-power': 2.506, 'charging-all': 0.0, 'pv-all': -0.04, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:12:31,337 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:12:31,337 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:12:31,338 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:12:31,338 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:12:31,338 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:12:31,339 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:12:31,339 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:12:31,339 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:12:31,340 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:12:31,342 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:12:31,343 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:12:31,345 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:12:31,346 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2631.0W
2024-01-16 04:12:31,346 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2631.0W
2024-01-16 04:12:31,347 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:12:31,347 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:12:31,348 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:12:31,349 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:12:31,353 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:12:31,400 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:12:31,675 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:12:31,686 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:12:35,697 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:12:35,698 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:12:40,710 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:12:40,711 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:12:40,748 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:12:40,752 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:12:40,758 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:12:40,759 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:12:40,762 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:12:40,789 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2528, -1047, -727, -753], Scale 0
2024-01-16 04:12:40,807 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:12:40,809 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374760},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:12","unixtime":1705374761,"uptime":4734139,"ram_size":249000,"ram_free":145116,"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-16 04:12:40,810 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374750.343687, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:12:40,811 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00290748, power1: 0, power2: 0
2024-01-16 04:12:40,811 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:12:40,812 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374760.8106308, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:12:40,812 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:12:40,909 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [46, 36, 33], Scale -1
2024-01-16 04:12:40,948 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23877, 23993, 23847, 0, 0, 0, 0], Scale -2
2024-01-16 04:12:40,966 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:12:40,987 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9440, 8330, 9369], Scale -2
2024-01-16 04:12:41,007 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016288, 3302632, 2344440, 2924377], Scale 0
2024-01-16 04:12:41,008 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.6000000000000005, 3.6, 3.3000000000000003], powers=[1047.0, 727.0, 753.0], voltages=[238.77, 239.93, 238.47], power_factors=[0.9440000000000001, 0.833, 0.9369], imported=8016288.0, exported=4871567.0, power=2528.0, frequency=50.0)
2024-01-16 04:12:41,010 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:12:41,038 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5170], Scale -2
2024-01-16 04:12:41,080 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:12:41,108 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 32, 30], Scale -2
2024-01-16 04:12:41,127 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5249], Scale -2
2024-01-16 04:12:41,127 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.32, 0.3], power=51.7, exported=7896155.0, dc_power=52.49)
2024-01-16 04:12:41,131 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:12:41,268 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374750.8288352, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:12:41,269 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00289985, power1: 0, power2: 0
2024-01-16 04:12:41,270 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:12:41,270 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374761.2683077, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:12:41,276 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:12:41,284 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:12:41,288 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:12:41,346 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:12:41,347 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:12:41,348 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:12:41,350 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=51.7, exported=7934579.61, dc_power=None)
2024-01-16 04:12:41,360 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:12:41,363 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=51.7, exported=7934579.61, dc_power=None)
2024-01-16 04:12:41,364 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:12:41,430 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:12:41,431 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.6000000000000005, 3.6, 3.3000000000000003], powers=[1047.0, 727.0, 753.0], voltages=[238.77, 239.93, 238.47], power_factors=[0.9440000000000001, 0.833, 0.9369], imported=8016288.0, exported=4871567.0, power=2528.0, frequency=50.0)
2024-01-16 04:12:41,640 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:12:41,641 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:12:41,643 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.4, 31.5, 31.7]A
2024-01-16 04:12:41,644 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21472.0W
2024-01-16 04:12:41,645 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:12:41,648 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:12:41,649 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:12:41,650 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:12:41.650155
2024-01-16 04:12:41,652 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 396.610715s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:12:41,654 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:12:41.654221
2024-01-16 04:12:41,656 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176222.693605s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:12:41,658 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:12:41.658242
2024-01-16 04:12:41,659 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9286.875633s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:12:41,661 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:12:41.661264
2024-01-16 04:12:41,662 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172591.382214s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:12:41,664 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:12:41,672 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:12:41,675 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:12:41,692 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374751.2692883, power=2486.21, imported=3845110.3938181475, exported=0)
2024-01-16 04:12:41,695 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00289527, power1: 2486.21, power2: 2476.3
2024-01-16 04:12:41,697 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.1839
2024-01-16 04:12:41,698 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.1839 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374761.692262, power=2476.3, imported=3845117.5777224367, exported=0)
2024-01-16 04:12:41,700 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:12:41,701 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:12:41,703 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421142.09, exported=0))
2024-01-16 04:12:41,705 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421142.09, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.37, 238.93, 239.01]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=150.87999999988824, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1bfdf0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:12:41,706 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:12:41,707 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:12:41,713 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1047.0, 727.0, 753.0], currents=[4.6, 3.6, 3.3], voltages=[238.77, 239.93, 238.47], power_factors=[0.94, 0.83, 0.94], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6381.0, imported=8016288.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2528.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21472.0, raw_currents_left=[30.4, 31.5, 31.7], surplus_power_left=0, state_str=''))
2024-01-16 04:12:41,715 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2476.3, invalid_home_consumption=0, daily_yield_home_consumption=6085.8214047836, imported_home_consumption=3845117.5777224367, disengageable_smarthome_power=0))
2024-01-16 04:12:41,718 - {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-16 04:12:41,719 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:12:41,720 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:12:41,722 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:12:41,723 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:12:41,731 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:12:41,732 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:12:41,733 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:12:41,733 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:12:41,734 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:12:41,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=1, keep_charge_active_duration=40)
2024-01-16 04:12:41,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-16 04:12:41,735 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:12:41,735 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:12:41,736 - {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 0x6c1e3a48>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:12:41,737 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:12:41,738 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=51.7))
2024-01-16 04:12:41,742 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=51.7))
2024-01-16 04:12:41,745 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374751, 'time': '04:12:31', 'grid': 2.531, 'house-power': 2.486, 'charging-all': 0.0, 'pv-all': -0.045, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:12:41,746 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:12:41,747 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:12:41,749 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:12:41,756 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:12:41,757 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:12:41,759 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:12:41,767 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:12:41,768 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:12:41,770 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:12:41,773 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:12:41,775 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:12:41,778 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:12:41,781 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2628.0W
2024-01-16 04:12:41,782 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2628.0W
2024-01-16 04:12:41,783 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:12:41,785 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:12:41,786 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:12:41,790 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:12:41,803 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:12:41,827 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:12:42,064 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:12:45,082 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:12:45,083 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:12:50,095 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:12:50,096 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:12:50,139 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:12:50,142 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:12:50,150 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:12:50,151 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:12:50,152 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:12:50,197 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:12:50,200 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374769},"temperature":{"tC":26.3, "tF":79.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:12","unixtime":1705374770,"uptime":4734148,"ram_size":249000,"ram_free":145116,"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":-72},"ws":{"connected":false}}

2024-01-16 04:12:50,204 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374760.8106308, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:12:50,207 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00260945, power1: 0, power2: 0
2024-01-16 04:12:50,207 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:12:50,209 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374770.2046678, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:12:50,211 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:12:50,216 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2494, -1012, -727, -754], Scale 0
2024-01-16 04:12:50,236 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [46, 36, 34], Scale -1
2024-01-16 04:12:50,348 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23856, 23993, 23842, 0, 0, 0, 0], Scale -2
2024-01-16 04:12:50,396 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:12:50,416 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9399, 8270, 9269], Scale -2
2024-01-16 04:12:50,441 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016293, 3302635, 2344442, 2924378], Scale 0
2024-01-16 04:12:50,442 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.6000000000000005, 3.6, 3.4000000000000004], powers=[1012.0, 727.0, 754.0], voltages=[238.56, 239.93, 238.42000000000002], power_factors=[0.9399, 0.8270000000000001, 0.9269], imported=8016293.0, exported=4871567.0, power=2494.0, frequency=50.0)
2024-01-16 04:12:50,443 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:12:50,482 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4710], Scale -2
2024-01-16 04:12:50,508 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:12:50,577 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 29], Scale -2
2024-01-16 04:12:50,598 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4747], Scale -2
2024-01-16 04:12:50,599 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.29], power=47.1, exported=7896155.0, dc_power=47.47)
2024-01-16 04:12:50,600 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:12:50,768 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374761.2683077, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:12:50,768 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00263884, power1: 0, power2: 0
2024-01-16 04:12:50,769 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:12:50,769 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374770.7681234, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:12:50,771 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:12:50,777 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:12:50,778 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:12:50,831 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:12:50,832 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:12:50,834 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:12:50,835 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.1, exported=7934579.61, dc_power=None)
2024-01-16 04:12:50,836 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:12:50,837 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.1, exported=7934579.61, dc_power=None)
2024-01-16 04:12:50,839 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:12:50,910 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:12:50,911 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.6000000000000005, 3.6, 3.4000000000000004], powers=[1012.0, 727.0, 754.0], voltages=[238.56, 239.93, 238.42000000000002], power_factors=[0.9399, 0.8270000000000001, 0.9269], imported=8016293.0, exported=4871567.0, power=2494.0, frequency=50.0)
2024-01-16 04:12:51,097 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:12:51,099 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:12:51,113 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.4, 31.5, 31.6]A
2024-01-16 04:12:51,114 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21506.0W
2024-01-16 04:12:51,120 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:12:51,122 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:12:51,126 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:12:51,130 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:12:51.130247
2024-01-16 04:12:51,131 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 387.130623s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:12:51,132 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:12:51.131966
2024-01-16 04:12:51,133 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176213.21586s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:12:51,133 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:12:51.133450
2024-01-16 04:12:51,134 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9296.350841s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:12:51,135 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:12:51.134960
2024-01-16 04:12:51,135 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172581.908518s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:12:51,151 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:12:51,161 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:12:51,165 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:12:51,175 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374761.692262, power=2476.3, imported=3845117.5777224367, exported=0)
2024-01-16 04:12:51,178 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00263427, power1: 2476.3, power2: 2446.9
2024-01-16 04:12:51,180 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.48451
2024-01-16 04:12:51,182 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.48451 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374771.1756175, power=2446.9, imported=3845124.0622302014, exported=0)
2024-01-16 04:12:51,185 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:12:51,190 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:12:51,191 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421142.09, exported=0))
2024-01-16 04:12:51,193 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421142.09, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.4, 238.76, 239.16]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=150.87999999988824, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1edfa0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:12:51,195 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-16 04:12:51,197 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:12:51,198 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1012.0, 727.0, 754.0], currents=[4.6, 3.6, 3.4], voltages=[238.56, 239.93, 238.42], power_factors=[0.94, 0.83, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6381.0, imported=8016293.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2494.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21506.0, raw_currents_left=[30.4, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:12:51,199 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2446.9, invalid_home_consumption=0, daily_yield_home_consumption=6085.8214047836, imported_home_consumption=3845124.0622302014, disengageable_smarthome_power=0))
2024-01-16 04:12:51,201 - {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-16 04:12:51,202 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:12:51,203 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:12:51,205 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:12:51,206 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:12:51,207 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:12:51,209 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:12:51,210 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:12:51,211 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:12:51,212 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:12:51,214 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:12:51,216 - {control.data:245} - {INFO:MainThread} - general_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-16 04:12:51,217 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:12:51,219 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:12:51,220 - {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 0x6c1e9370>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:12:51,222 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:12:51,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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=47.1))
2024-01-16 04:12:51,224 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=47.1))
2024-01-16 04:12:51,225 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374761, 'time': '04:12:41', 'grid': 2.528, 'house-power': 2.476, 'charging-all': 0.0, 'pv-all': -0.052, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:12:51,226 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:12:51,227 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:12:51,229 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:12:51,230 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:12:51,231 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:12:51,232 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:12:51,233 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:12:51,234 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:12:51,236 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:12:51,239 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:12:51,241 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:12:51,243 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:12:51,244 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2594.0W
2024-01-16 04:12:51,245 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2594.0W
2024-01-16 04:12:51,247 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:12:51,248 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:12:51,249 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:12:51,252 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:12:51,254 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:12:51,276 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:12:51,544 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:12:51,546 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:12:55,567 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:12:55,568 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:13:00,580 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:13:00,581 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:13:00,618 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:13:00,622 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:13:00,624 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:13:00,629 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:13:00,632 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:13:00,671 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:13:00,673 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374780},"temperature":{"tC":26.3, "tF":79.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:13","unixtime":1705374781,"uptime":4734159,"ram_size":248948,"ram_free":144532,"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-16 04:13:00,675 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374770.2046678, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:13:00,676 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00290854, power1: 0, power2: 0
2024-01-16 04:13:00,677 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:13:00,677 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374780.675419, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:13:00,681 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:13:00,777 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2492, -1008, -725, -758], Scale 0
2024-01-16 04:13:00,797 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [45, 36, 33], Scale -1
2024-01-16 04:13:00,817 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23865, 23992, 23841, 0, 0, 0, 0], Scale -2
2024-01-16 04:13:00,837 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:13:00,868 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9399, 8330, 9340], Scale -2
2024-01-16 04:13:00,889 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016299, 3302637, 2344443, 2924380], Scale 0
2024-01-16 04:13:00,890 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.5, 3.6, 3.3000000000000003], powers=[1008.0, 725.0, 758.0], voltages=[238.65, 239.92000000000002, 238.41], power_factors=[0.9399, 0.833, 0.934], imported=8016299.0, exported=4871567.0, power=2492.0, frequency=50.0)
2024-01-16 04:13:00,891 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:13:00,933 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4452], Scale -2
2024-01-16 04:13:00,978 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:13:00,997 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 30], Scale -2
2024-01-16 04:13:01,020 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4520], Scale -2
2024-01-16 04:13:01,021 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.3], power=44.52, exported=7896155.0, dc_power=45.2)
2024-01-16 04:13:01,023 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:13:01,158 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374770.7681234, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:13:01,159 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00288631, power1: 0, power2: 0
2024-01-16 04:13:01,160 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:13:01,161 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374781.158853, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:13:01,162 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:13:01,169 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:13:01,172 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:13:01,242 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:13:01,243 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:13:01,245 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:13:01,249 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=44.52, exported=7934579.61, dc_power=None)
2024-01-16 04:13:01,252 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:13:01,254 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=44.52, exported=7934579.61, dc_power=None)
2024-01-16 04:13:01,257 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:13:01,331 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:13:01,332 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.5, 3.6, 3.3000000000000003], powers=[1008.0, 725.0, 758.0], voltages=[238.65, 239.92000000000002, 238.41], power_factors=[0.9399, 0.833, 0.934], imported=8016299.0, exported=4871567.0, power=2492.0, frequency=50.0)
2024-01-16 04:13:01,505 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:13:01,512 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:13:01,517 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.5, 31.5, 31.7]A
2024-01-16 04:13:01,518 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21508.0W
2024-01-16 04:13:01,520 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:13:01,521 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:13:01,522 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:13:01,524 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:13:01.523687
2024-01-16 04:13:01,525 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 376.737183s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:13:01,526 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:13:01.526554
2024-01-16 04:13:01,528 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176202.821272s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:13:01,530 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:13:01.530575
2024-01-16 04:13:01,532 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9306.747966s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:13:01,535 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:13:01.534935
2024-01-16 04:13:01,537 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172571.508543s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:13:01,539 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:13:01,543 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:13:01,544 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:13:01,554 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374771.1756175, power=2446.9, imported=3845124.0622302014, exported=0)
2024-01-16 04:13:01,556 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00288311, power1: 2446.9, power2: 2447.48
2024-01-16 04:13:01,558 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.05552
2024-01-16 04:13:01,559 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.05552 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374781.5548136, power=2447.48, imported=3845131.117748276, exported=0)
2024-01-16 04:13:01,570 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:13:01,571 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:13:01,573 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421142.09, exported=0))
2024-01-16 04:13:01,578 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421142.09, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.29, 239.25, 239.16]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=150.87999999988824, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1dcc88>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:13:01,580 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:13:01,581 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:13:01,582 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1008.0, 725.0, 758.0], currents=[4.5, 3.6, 3.3], voltages=[238.65, 239.92, 238.41], power_factors=[0.94, 0.83, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6381.0, imported=8016299.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2492.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21508.0, raw_currents_left=[30.5, 31.5, 31.7], surplus_power_left=0, state_str=''))
2024-01-16 04:13:01,585 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2447.48, invalid_home_consumption=0, daily_yield_home_consumption=6085.8214047836, imported_home_consumption=3845131.117748276, disengageable_smarthome_power=0))
2024-01-16 04:13:01,587 - {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-16 04:13:01,589 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:13:01,592 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:13:01,593 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:13:01,594 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:13:01,596 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:13:01,597 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:13:01,598 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:13:01,599 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:13:01,600 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:13:01,602 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:13:01,604 - {control.data:245} - {INFO:MainThread} - general_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-16 04:13:01,605 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:13:01,606 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:13:01,607 - {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 0x6c1e94c0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:13:01,610 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:13:01,611 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=44.52))
2024-01-16 04:13:01,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=8233395.285, power=44.52))
2024-01-16 04:13:01,615 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374771, 'time': '04:12:51', 'grid': 2.494, 'house-power': 2.447, 'charging-all': 0.0, 'pv-all': -0.047, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:13:01,618 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:13:01,619 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:13:01,624 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:13:01,625 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:13:01,626 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:13:01,628 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:13:01,631 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:13:01,632 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:13:01,634 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:13:01,637 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:13:01,641 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:13:01,644 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:13:01,646 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2592.0W
2024-01-16 04:13:01,648 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2592.0W
2024-01-16 04:13:01,650 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:13:01,651 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:13:01,652 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:13:01,654 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:13:01,656 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:13:01,698 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:13:01,943 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:13:05,961 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:13:05,962 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:13:10,974 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:13:10,975 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:13:11,022 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:13:11,023 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:13:11,026 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:13:11,034 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:13:11,043 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:13:11,079 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2495, -1009, -727, -758], Scale 0
2024-01-16 04:13:11,086 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:13:11,088 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374790},"temperature":{"tC":26.3, "tF":79.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:13","unixtime":1705374791,"uptime":4734169,"ram_size":248948,"ram_free":144532,"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-16 04:13:11,090 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374780.675419, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:13:11,091 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00289317, power1: 0, power2: 0
2024-01-16 04:13:11,092 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:13:11,092 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374791.0908277, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:13:11,094 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:13:11,125 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [44, 36, 33], Scale -1
2024-01-16 04:13:11,259 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23873, 23991, 23888, 0, 0, 0, 0], Scale -2
2024-01-16 04:13:11,292 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:13:11,327 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9430, 8379, 9359], Scale -2
2024-01-16 04:13:11,398 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016305, 3302639, 2344445, 2924382], Scale 0
2024-01-16 04:13:11,399 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.4, 3.6, 3.3000000000000003], powers=[1009.0, 727.0, 758.0], voltages=[238.73000000000002, 239.91, 238.88], power_factors=[0.943, 0.8379000000000001, 0.9359000000000001], imported=8016305.0, exported=4871567.0, power=2495.0, frequency=50.0)
2024-01-16 04:13:11,404 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:13:11,449 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5689], Scale -2
2024-01-16 04:13:11,469 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:13:11,499 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 32, 30], Scale -2
2024-01-16 04:13:11,580 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5775], Scale -2
2024-01-16 04:13:11,581 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.32, 0.3], power=56.89, exported=7896155.0, dc_power=57.75)
2024-01-16 04:13:11,583 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:13:11,617 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374781.158853, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:13:11,618 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00290528, power1: 0, power2: 0
2024-01-16 04:13:11,619 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:13:11,619 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374791.6178653, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:13:11,622 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:13:11,640 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:13:11,642 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:13:11,686 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:13:11,687 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:13:11,689 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=56.89, exported=7934579.61, dc_power=None)
2024-01-16 04:13:11,690 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=56.89, exported=7934579.61, dc_power=None)
2024-01-16 04:13:11,691 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:13:11,708 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:13:11,715 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:13:11,767 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:13:11,768 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.4, 3.6, 3.3000000000000003], powers=[1009.0, 727.0, 758.0], voltages=[238.73000000000002, 239.91, 238.88], power_factors=[0.943, 0.8379000000000001, 0.9359000000000001], imported=8016305.0, exported=4871567.0, power=2495.0, frequency=50.0)
2024-01-16 04:13:11,951 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:13:11,954 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:13:11,959 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.6, 31.5, 31.7]A
2024-01-16 04:13:11,960 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21505.0W
2024-01-16 04:13:11,961 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:13:11,963 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:13:11,964 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:13:11,966 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:13:11.965910
2024-01-16 04:13:11,967 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 366.29496s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:13:11,969 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:13:11.968909
2024-01-16 04:13:11,970 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176192.378917s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:13:11,971 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:13:11.971176
2024-01-16 04:13:11,972 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9317.188567s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:13:11,974 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:13:11.974077
2024-01-16 04:13:11,975 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172561.069401s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:13:11,976 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:13:11,979 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 6A, Lademodus scheduled_charging, Submodus: Chargemode.PV_CHARGING, Phasen: 1, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:13:11,980 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Kein Zeitladen, da der Soc bereits erreicht wurde.
2024-01-16 04:13:12,001 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374781.5548136, power=2447.48, imported=3845131.117748276, exported=0)
2024-01-16 04:13:12,003 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00290192, power1: 2447.48, power2: 2438.11
2024-01-16 04:13:12,005 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.08879
2024-01-16 04:13:12,009 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.08879 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374792.0017238, power=2438.11, imported=3845138.206542682, exported=0)
2024-01-16 04:13:12,011 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:13:12,013 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:13:12,014 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421142.09, exported=0))
2024-01-16 04:13:12,015 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=1, prio=False, required_current=6, required_currents=[0.0, 6, 0.0], state=0, submode=<Chargemode.PV_CHARGING: 'pv_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421142.09, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Kein Zeitladen, da der Soc bereits erreicht wurde.', vehicle_id=None, voltages=[240.25, 239.25, 239.12]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=150.87999999988824, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=1380.0, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1f0178>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:13:12,017 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:13:12,018 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:13:12,019 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1009.0, 727.0, 758.0], currents=[4.4, 3.6, 3.3], voltages=[238.73, 239.91, 238.88], power_factors=[0.94, 0.84, 0.94], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6381.0, imported=8016305.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2495.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21505.0, raw_currents_left=[30.6, 31.5, 31.7], surplus_power_left=0, state_str=''))
2024-01-16 04:13:12,021 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2438.11, invalid_home_consumption=0, daily_yield_home_consumption=6085.8214047836, imported_home_consumption=3845138.206542682, disengageable_smarthome_power=0))
2024-01-16 04:13:12,022 - {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-16 04:13:12,023 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:13:12,025 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:13:12,027 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:13:12,029 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:13:12,030 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:13:12,031 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:13:12,033 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:13:12,034 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:13:12,036 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:13:12,037 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:13:12,039 - {control.data:245} - {INFO:MainThread} - general_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-16 04:13:12,040 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:13:12,041 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:13:12,042 - {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 0x6c1c2ee0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:13:12,044 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:13:12,045 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=56.89))
2024-01-16 04:13:12,046 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=56.89))
2024-01-16 04:13:12,048 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374781, 'time': '04:13:01', 'grid': 2.492, 'house-power': 2.447, 'charging-all': 0.0, 'pv-all': -0.045, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:13:12,050 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:13:12,051 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:13:12,054 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:13:12,055 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:13:12,056 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:13:12,057 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:13:12,059 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:13:12,060 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:13:12,061 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:13:12,064 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.PV_CHARGING - False, Zähler 0
2024-01-16 04:13:12,065 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:13:12,069 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:13:12,070 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -2595.0W
2024-01-16 04:13:12,071 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -2595.0W
2024-01-16 04:13:12,073 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Die Ladung kann nicht gestartet werden, da die Einschaltschwelle nicht erreicht wird.
2024-01-16 04:13:12,074 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:13:12,075 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:13:12,079 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state NO_CHARGING_ALLOWED
2024-01-16 04:13:12,084 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:13:12,112 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:13:12,402 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:13:12,403 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:13:15,411 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:13:15,412 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:13:20,426 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:13:20,427 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:13:20,516 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:13:20,523 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:13:20,527 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:13:20,540 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:13:20,547 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:13:20,608 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:13:20,611 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2497, -1011, -724, -761], Scale 0
2024-01-16 04:13:20,614 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":240.3, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374800},"temperature":{"tC":26.3, "tF":79.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:13","unixtime":1705374801,"uptime":4734178,"ram_size":248948,"ram_free":144532,"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":-72},"ws":{"connected":false}}

2024-01-16 04:13:20,623 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374791.0908277, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:13:20,625 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00264789, power1: 0, power2: 0
2024-01-16 04:13:20,626 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:13:20,627 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374800.6232297, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:13:20,630 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:13:20,638 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [44, 36, 34], Scale -1
2024-01-16 04:13:20,656 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23881, 23983, 23896, 0, 0, 0, 0], Scale -2
2024-01-16 04:13:20,790 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:13:20,828 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9399, 8320, 9330], Scale -2
2024-01-16 04:13:20,859 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016316, 3302644, 2344448, 2924385], Scale 0
2024-01-16 04:13:20,860 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.4, 3.6, 3.4000000000000004], powers=[1011.0, 724.0, 761.0], voltages=[238.81, 239.83, 238.96], power_factors=[0.9399, 0.8320000000000001, 0.9329999999999999], imported=8016316.0, exported=4871567.0, power=2497.0, frequency=50.0)
2024-01-16 04:13:20,861 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:13:20,877 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4939], Scale -2
2024-01-16 04:13:20,897 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:13:20,928 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 30], Scale -2
2024-01-16 04:13:20,975 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5015], Scale -2
2024-01-16 04:13:20,975 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.3], power=49.39, exported=7896155.0, dc_power=50.15)
2024-01-16 04:13:20,977 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:13:21,048 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374791.6178653, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:13:21,048 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00261947, power1: 0, power2: 0
2024-01-16 04:13:21,049 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:13:21,049 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374801.047966, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:13:21,050 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:13:21,057 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:13:21,059 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:13:21,101 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:13:21,102 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:13:21,103 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=49.39, exported=7934579.61, dc_power=None)
2024-01-16 04:13:21,105 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=49.39, exported=7934579.61, dc_power=None)
2024-01-16 04:13:21,108 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:13:21,111 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:13:21,112 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:13:21,168 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:13:21,169 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.4, 3.6, 3.4000000000000004], powers=[1011.0, 724.0, 761.0], voltages=[238.81, 239.83, 238.96], power_factors=[0.9399, 0.8320000000000001, 0.9329999999999999], imported=8016316.0, exported=4871567.0, power=2497.0, frequency=50.0)
2024-01-16 04:13:21,358 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:13:21,360 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:13:21,363 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.6, 31.5, 31.6]A
2024-01-16 04:13:21,364 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21503.0W
2024-01-16 04:13:21,365 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:13:21,367 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:13:21,368 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 1
2024-01-16 04:13:21,370 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:13:21.370342
2024-01-16 04:13:21,373 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 356.890528s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:13:21,374 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:13:21.374082
2024-01-16 04:13:21,375 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176182.973744s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:13:21,377 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:13:21.377361
2024-01-16 04:13:21,379 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9326.594752s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:13:21,381 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:13:21.381046
2024-01-16 04:13:21,382 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172551.662432s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:13:21,384 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:13:21,391 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 15A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:13:21,399 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.
2024-01-16 04:13:21,406 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374792.0017238, power=2438.11, imported=3845138.206542682, exported=0)
2024-01-16 04:13:21,407 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00261251, power1: 2438.11, power2: 2447.61
2024-01-16 04:13:21,408 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.382
2024-01-16 04:13:21,413 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.382 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374801.406769, power=2447.61, imported=3845144.5885451515, exported=0)
2024-01-16 04:13:21,414 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:13:21,415 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:13:21,415 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421142.09, exported=0))
2024-01-16 04:13:21,416 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=15, required_currents=[15, 15, 15], state=0, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421142.09, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.', vehicle_id=None, voltages=[240.27, 239.4, 239.21]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=150.87999999988824, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=1, plug_state_prev=True, plug_time=1705325261.294614, required_power=10350, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1ef7c0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:13:21,417 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:13:21,418 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:13:21,420 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1011.0, 724.0, 761.0], currents=[4.4, 3.6, 3.4], voltages=[238.81, 239.83, 238.96], power_factors=[0.94, 0.83, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6381.0, imported=8016316.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2497.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21503.0, raw_currents_left=[30.6, 31.5, 31.6], surplus_power_left=0, state_str=''))
2024-01-16 04:13:21,422 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2447.61, invalid_home_consumption=0, daily_yield_home_consumption=6085.8214047836, imported_home_consumption=3845144.5885451515, disengageable_smarthome_power=0))
2024-01-16 04:13:21,423 - {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-16 04:13:21,425 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:13:21,427 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:13:21,430 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:13:21,431 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:13:21,432 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:13:21,433 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:13:21,434 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:13:21,435 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:13:21,438 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=17000, min_current=6, max_current_single_phase=32, battery_capacity=75000, efficiency=90, nominal_difference=2, keep_charge_active_duration=40)
2024-01-16 04:13:21,439 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:13:21,441 - {control.data:245} - {INFO:MainThread} - general_data
GeneralData(chargemode_config=ChargemodeConfig(instant_charging=InstantCharging(phases_to_use=3), pv_charging=PvCharging(bat_prio=True, charging_power_reserve=200, control_range=[-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-16 04:13:21,443 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:13:21,444 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:13:21,446 - {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 0x6c1e30d0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:13:21,447 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:13:21,449 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=49.39))
2024-01-16 04:13:21,450 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=49.39))
2024-01-16 04:13:21,451 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374792, 'time': '04:13:12', 'grid': 2.495, 'house-power': 2.438, 'charging-all': 0.0, 'pv-all': -0.057, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:13:21,452 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:13:21,454 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:13:21,455 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:13:21,455 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:13:21,457 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:13:21,458 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:13:21,459 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:13:21,460 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:13:21,461 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:13:21,463 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:13:21,465 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [24.6, 25.5, 25.6]A verbleibende Ströme, 17363.0W verbleibende Leistung
2024-01-16 04:13:21,466 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-16 04:13:21,471 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:13:21,473 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-16 04:13:21,480 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:13:21,483 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [15.600000000000001, 16.5, 16.6]A verbleibende Ströme, 11153.0W verbleibende Leistung
2024-01-16 04:13:21,484 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 15A
2024-01-16 04:13:21,486 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:13:21,488 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -12947.0W
2024-01-16 04:13:21,489 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -12947.0W
2024-01-16 04:13:21,490 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:13:21,491 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:13:21,493 - {control.chargepoint.chargepoint:454} - {DEBUG:MainThread} - Lp 1: Ladung aktiv halten 40s
2024-01-16 04:13:21,494 - {modules.common.component_context:25} - {DEBUG:phase switch cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:13:21,495 - {control.phase_switch:37} - {DEBUG:MainThread} - Thread zur Phasenumschaltung an LP1 gestartet.
2024-01-16 04:13:21,497 - {control.chargepoint.chargepoint:458} - {DEBUG:MainThread} - start phase switch phases_to_use 1control_parameter phases 3
2024-01-16 04:13:21,499 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:13:21,500 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Umschaltung von 1 auf 3 Phasen, dafür wird die Ladung unterbrochen.
2024-01-16 04:13:21,507 - {control.process:111} - {INFO:MainThread} - LP1: set current 0 A, state PERFORMING_PHASE_SWITCH
2024-01-16 04:13:21,519 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:13:21,559 - {control.counter:193} - {INFO:MainThread} - 22080W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:13:21,781 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/phases, Payload 3, vorherige Payload: 1
2024-01-16 04:13:21,783 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 15, vorherige Payload: 6
2024-01-16 04:13:21,807 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/state, Payload 2, vorherige Payload: 0
2024-01-16 04:13:21,809 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/submode, Payload instant_charging, vorherige Payload: pv_charging
2024-01-16 04:13:21,811 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/timestamp_perform_phase_switch, Payload 1705374801.500525, vorherige Payload: None
2024-01-16 04:13:21,815 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:13:22,733 - {modules.common.component_context:25} - {DEBUG:perform phase switch 0} - Update Komponente ['Ladepunkt 0']
2024-01-16 04:13:22,801 - {helpermodules.setdata:339} - {ERROR:Setdata} - Payload ungültig: Topic openWB/set/chargepoint/1/set/current, Payload 3 liegt in keinem der angegebenen Wertebereiche.
2024-01-16 04:13:25,861 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:13:25,862 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:13:30,874 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:13:30,875 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:13:30,919 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:13:30,921 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:13:30,929 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:13:30,932 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:13:30,934 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:13:30,979 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2490, -1007, -722, -759], Scale 0
2024-01-16 04:13:30,985 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:13:30,988 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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.0, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374810},"temperature":{"tC":26.3, "tF":79.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:13","unixtime":1705374811,"uptime":4734189,"ram_size":249000,"ram_free":145116,"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-16 04:13:30,993 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374800.6232297, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:13:30,994 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0028807, power1: 0, power2: 0
2024-01-16 04:13:30,995 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:13:30,996 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374810.993736, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:13:30,999 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:13:31,000 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [44, 36, 33], Scale -1
2024-01-16 04:13:31,158 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23850, 23973, 23870, 0, 0, 0, 0], Scale -2
2024-01-16 04:13:31,207 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:13:31,229 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9440, 8379, 9390], Scale -2
2024-01-16 04:13:31,279 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016321, 3302646, 2344450, 2924387], Scale 0
2024-01-16 04:13:31,280 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.4, 3.6, 3.3000000000000003], powers=[1007.0, 722.0, 759.0], voltages=[238.5, 239.73000000000002, 238.70000000000002], power_factors=[0.9440000000000001, 0.8379000000000001, 0.9390000000000001], imported=8016321.0, exported=4871567.0, power=2490.0, frequency=50.0)
2024-01-16 04:13:31,282 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:13:31,337 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5269], Scale -2
2024-01-16 04:13:31,376 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:13:31,397 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [26, 30, 30], Scale -2
2024-01-16 04:13:31,509 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5349], Scale -2
2024-01-16 04:13:31,509 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.26, 0.3, 0.3], power=52.69, exported=7896155.0, dc_power=53.49)
2024-01-16 04:13:31,511 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:13:31,547 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374801.047966, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:13:31,548 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00291666, power1: 0, power2: 0
2024-01-16 04:13:31,549 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:13:31,549 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374811.547931, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:13:31,550 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:13:31,558 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:13:31,559 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:13:31,601 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:13:31,602 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:13:31,603 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:13:31,604 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=52.69, exported=7934579.61, dc_power=None)
2024-01-16 04:13:31,612 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:13:31,614 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=52.69, exported=7934579.61, dc_power=None)
2024-01-16 04:13:31,619 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:13:31,673 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:13:31,674 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.4, 3.6, 3.3000000000000003], powers=[1007.0, 722.0, 759.0], voltages=[238.5, 239.73000000000002, 238.70000000000002], power_factors=[0.9440000000000001, 0.8379000000000001, 0.9390000000000001], imported=8016321.0, exported=4871567.0, power=2490.0, frequency=50.0)
2024-01-16 04:13:31,753 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/phases, Payload 3, vorherige Payload: 1
2024-01-16 04:13:31,754 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/required_current, Payload 15, vorherige Payload: 6
2024-01-16 04:13:31,756 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/state, Payload 2, vorherige Payload: 0
2024-01-16 04:13:31,758 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/submode, Payload instant_charging, vorherige Payload: pv_charging
2024-01-16 04:13:31,760 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/timestamp_perform_phase_switch, Payload 1705374801.500525, vorherige Payload: None
2024-01-16 04:13:31,882 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:13:31,885 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:13:31,888 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.6, 31.5, 31.7]A
2024-01-16 04:13:31,891 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21510.0W
2024-01-16 04:13:31,893 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:13:31,897 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:13:31,899 - {control.chargepoint.chargepoint:524} - {DEBUG:MainThread} - Umschaltung wird durchgeführt, Phasenzahl nicht ändern 3
2024-01-16 04:13:31,900 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:13:31.900495
2024-01-16 04:13:31,902 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 346.360375s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:13:31,903 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:13:31.903286
2024-01-16 04:13:31,905 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176172.44454s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:13:31,908 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:13:31.907995
2024-01-16 04:13:31,909 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9337.125386s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:13:31,910 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:13:31.909849
2024-01-16 04:13:31,911 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172541.133629s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:13:31,912 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:13:31,920 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 15A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 0.1
2024-01-16 04:13:31,921 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.
2024-01-16 04:13:31,929 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374801.406769, power=2447.61, imported=3845144.5885451515, exported=0)
2024-01-16 04:13:31,930 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00292284, power1: 2447.61, power2: 2437.31
2024-01-16 04:13:31,931 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.13892
2024-01-16 04:13:31,934 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.13892 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374811.928992, power=2437.31, imported=3845151.727464257, exported=0)
2024-01-16 04:13:31,936 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:13:31,938 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:13:31,939 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=0, imported=7421142.09, exported=0))
2024-01-16 04:13:31,944 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=15, required_currents=[15, 15, 15], state=2, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=1705374801.500525, timestamp_switch_on_off=None), get=Get(charge_state=False, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.1, 0.0, 0.0], daily_imported=96.19, daily_exported=0, evse_current=0, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421142.09, phases_in_use=1, plug_state=True, power=0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.', vehicle_id=None, voltages=[240.05, 239.04, 238.96]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=0, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=150.87999999988824, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1705325261.294614, required_power=10350, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1d1988>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:13:31,945 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:13:31,947 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:13:31,950 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1007.0, 722.0, 759.0], currents=[4.4, 3.6, 3.3], voltages=[238.5, 239.73, 238.7], power_factors=[0.94, 0.84, 0.94], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6381.0, imported=8016321.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2490.0), set=Set(error_counter=0, reserved_surplus=22080, released_surplus=0, raw_power_left=21510.0, raw_currents_left=[30.6, 31.5, 31.7], surplus_power_left=0, state_str=''))
2024-01-16 04:13:31,952 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2437.31, invalid_home_consumption=0, daily_yield_home_consumption=6085.8214047836, imported_home_consumption=3845151.727464257, disengageable_smarthome_power=0))
2024-01-16 04:13:31,954 - {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-16 04:13:31,955 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:13:31,957 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:13:31,959 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:13:31,960 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:13:31,961 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:13:31,962 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374235.985273, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:13:31,964 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:13:31,966 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:13:31,968 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:13:31,970 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:13:31,971 - {control.data:245} - {INFO:MainThread} - general_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-16 04:13:31,972 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:13:31,973 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:13:31,975 - {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 0x6c1e9c88>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:13:31,978 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:13:31,979 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=52.69))
2024-01-16 04:13:31,981 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=52.69))
2024-01-16 04:13:31,982 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374801, 'time': '04:13:21', 'grid': 2.497, 'house-power': 2.448, 'charging-all': 0.0, 'pv-all': -0.049, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:13:31,984 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:13:31,985 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:13:31,987 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:13:31,988 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:13:31,991 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:13:31,992 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:13:31,993 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:13:31,994 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:13:31,997 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:13:31,999 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:13:32,001 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [24.6, 25.5, 25.7]A verbleibende Ströme, 17370.0W verbleibende Leistung
2024-01-16 04:13:32,002 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-16 04:13:32,005 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:13:32,008 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-16 04:13:32,009 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:13:32,012 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [15.600000000000001, 16.5, 16.7]A verbleibende Ströme, 11160.0W verbleibende Leistung
2024-01-16 04:13:32,014 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 15A
2024-01-16 04:13:32,016 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:13:32,018 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -12940.0W
2024-01-16 04:13:32,020 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -12940.0W
2024-01-16 04:13:32,024 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:13:32,025 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:13:32,029 - {control.chargepoint.chargepoint:419} - {DEBUG:MainThread} - phase switch running
2024-01-16 04:13:32,031 - {control.process:111} - {INFO:MainThread} - LP1: set current 15 A, state WAIT_FOR_USING_PHASES
2024-01-16 04:13:32,034 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:13:32,087 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:13:32,383 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/state, Payload 3, vorherige Payload: 2
2024-01-16 04:13:32,384 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/timestamp_perform_phase_switch, Payload None, vorherige Payload: 1705374801.500525
2024-01-16 04:13:32,390 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:13:32,393 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:13:35,402 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:13:35,403 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:13:40,414 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:13:40,415 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:13:40,456 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:13:40,457 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:13:40,458 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:13:40,462 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:13:40,465 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:13:40,506 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:13:40,510 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"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.1, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374820},"temperature":{"tC":26.3, "tF":79.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:13","unixtime":1705374821,"uptime":4734198,"ram_size":249000,"ram_free":145116,"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":-72},"ws":{"connected":false}}

2024-01-16 04:13:40,513 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374810.993736, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:13:40,518 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00264439, power1: 0, power2: 0
2024-01-16 04:13:40,519 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:13:40,522 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374820.513547, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:13:40,527 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:13:40,529 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-2626, -1126, -737, -762], Scale 0
2024-01-16 04:13:40,572 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [45, 36, 34], Scale -1
2024-01-16 04:13:40,601 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23838, 23961, 23854, 0, 0, 0, 0], Scale -2
2024-01-16 04:13:40,656 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:13:40,721 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9380, 8289, 9290], Scale -2
2024-01-16 04:13:40,767 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016327, 3302648, 2344452, 2924389], Scale 0
2024-01-16 04:13:40,768 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[4.5, 3.6, 3.4000000000000004], powers=[1126.0, 737.0, 762.0], voltages=[238.38, 239.61, 238.54], power_factors=[0.938, 0.8289, 0.929], imported=8016327.0, exported=4871567.0, power=2626.0, frequency=50.0)
2024-01-16 04:13:40,772 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:13:40,787 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4840], Scale -2
2024-01-16 04:13:40,987 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:13:41,007 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 29], Scale -2
2024-01-16 04:13:41,031 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4914], Scale -2
2024-01-16 04:13:41,032 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.29], power=48.4, exported=7896155.0, dc_power=49.14)
2024-01-16 04:13:41,034 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:13:41,120 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374811.547931, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:13:41,121 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00265916, power1: 0, power2: 0
2024-01-16 04:13:41,121 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:13:41,122 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374821.1209068, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:13:41,123 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:13:41,133 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:13:41,136 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:13:41,175 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:13:41,177 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:13:41,178 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=48.4, exported=7934579.61, dc_power=None)
2024-01-16 04:13:41,179 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:13:41,179 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=48.4, exported=7934579.61, dc_power=None)
2024-01-16 04:13:41,183 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:13:41,190 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:13:41,242 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:13:41,243 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[4.5, 3.6, 3.4000000000000004], powers=[1126.0, 737.0, 762.0], voltages=[238.38, 239.61, 238.54], power_factors=[0.938, 0.8289, 0.929], imported=8016327.0, exported=4871567.0, power=2626.0, frequency=50.0)
2024-01-16 04:13:41,326 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/state, Payload 3, vorherige Payload: 2
2024-01-16 04:13:41,327 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/timestamp_perform_phase_switch, Payload None, vorherige Payload: 1705374801.500525
2024-01-16 04:13:41,462 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:13:41,464 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:13:41,469 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [31.009999999999998, 32.12, 32.12]A
2024-01-16 04:13:41,470 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21433.58W
2024-01-16 04:13:41,471 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:13:41,474 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:13:41,477 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:13:41.477389
2024-01-16 04:13:41,480 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 336.783481s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:13:41,482 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:13:41.481782
2024-01-16 04:13:41,483 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176162.866044s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:13:41,486 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:13:41.486301
2024-01-16 04:13:41,489 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9346.703692s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:13:41,490 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:13:41.490456
2024-01-16 04:13:41,492 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172531.553022s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:13:41,493 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:13:41,496 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 15A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 0.72
2024-01-16 04:13:41,497 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.
2024-01-16 04:13:41,503 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374811.928992, power=2437.31, imported=3845151.727464257, exported=0)
2024-01-16 04:13:41,506 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00265946, power1: 2437.31, power2: 2518.02
2024-01-16 04:13:41,507 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.58926
2024-01-16 04:13:41,508 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.58926 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374821.5030603, power=2518.02, imported=3845158.3167236885, exported=0)
2024-01-16 04:13:41,519 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:13:41,521 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:13:41,523 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=59.58, imported=7421142.09, exported=0))
2024-01-16 04:13:41,525 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=15, required_currents=[15, 15, 15], state=3, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[0.72, 0.52, 0.51], daily_imported=96.19, daily_exported=0, evse_current=1500, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421142.09, phases_in_use=1, plug_state=True, power=59.58, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.', vehicle_id=None, voltages=[240.15, 239.07, 238.97]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=15, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=133.79000000003725, imported_since_plugged=150.87999999988824, range_charged=0.6689500000001862, time_charged='0:02', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1705325261.294614, required_power=10350, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1c4748>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:13:41,528 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:13:41,529 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:13:41,533 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[1126.0, 737.0, 762.0], currents=[4.5, 3.6, 3.4], voltages=[238.38, 239.61, 238.54], power_factors=[0.94, 0.83, 0.93], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6381.0, imported=8016327.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=2626.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21433.58, raw_currents_left=[31.009999999999998, 32.12, 32.12], surplus_power_left=0, state_str=''))
2024-01-16 04:13:41,534 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2518.02, invalid_home_consumption=0, daily_yield_home_consumption=6085.8214047836, imported_home_consumption=3845158.3167236885, disengageable_smarthome_power=0))
2024-01-16 04:13:41,535 - {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-16 04:13:41,536 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:13:41,538 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:13:41,539 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:13:41,541 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:13:41,542 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:13:41,542 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374819.650603, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:13:41,544 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:13:41,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-16 04:13:41,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-16 04:13:41,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=1, keep_charge_active_duration=40)
2024-01-16 04:13: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-16 04:13:41,551 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:13:41,555 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:13:41,557 - {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 0x6c1c52b0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:13:41,558 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:13:41,560 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=48.4))
2024-01-16 04:13:41,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=8233395.285, power=48.4))
2024-01-16 04:13:41,563 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374812, 'time': '04:13:32', 'grid': 2.49, 'house-power': 2.437, 'charging-all': 0.0, 'pv-all': -0.053, 'cp1-power': 0.0, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:13:41,566 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:13:41,568 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:13:41,568 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:13:41,569 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:13:41,569 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:13:41,570 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:13:41,576 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:13:41,577 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:13:41,578 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:13:41,579 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:13:41,581 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [25.009999999999998, 26.119999999999997, 26.119999999999997]A verbleibende Ströme, 17293.58W verbleibende Leistung
2024-01-16 04:13:41,582 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-16 04:13:41,586 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:13:41,590 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-16 04:13:41,591 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:13:41,593 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [16.009999999999998, 17.119999999999997, 17.119999999999997]A verbleibende Ströme, 11083.580000000002W verbleibende Leistung
2024-01-16 04:13:41,594 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 15A
2024-01-16 04:13:41,599 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:13:41,601 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -13016.419999999998W
2024-01-16 04:13:41,602 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -13016.419999999998W
2024-01-16 04:13:41,603 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:13:41,606 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:13:41,612 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 150.87999999988824 counter 7421142.09
2024-01-16 04:13:41,617 - {control.process:111} - {INFO:MainThread} - LP1: set current 15 A, state WAIT_FOR_USING_PHASES
2024-01-16 04:13:41,622 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:13:41,659 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:13:41,889 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:13:45,910 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:13:45,911 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:13:50,927 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:13:50,928 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:13:50,993 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:13:51,003 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:13:51,012 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:13:51,014 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:13:51,027 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:13:51,088 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:13:51,092 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":239.4, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374830},"temperature":{"tC":26.3, "tF":79.3}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:13","unixtime":1705374831,"uptime":4734209,"ram_size":249000,"ram_free":145116,"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-16 04:13:51,098 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374820.513547, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:13:51,099 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00294028, power1: 0, power2: 0
2024-01-16 04:13:51,100 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:13:51,102 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374831.0985515, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:13:51,105 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:13:51,267 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9334, -3280, -3008, -3045], Scale 0
2024-01-16 04:13:51,299 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [138, 126, 127], Scale -1
2024-01-16 04:13:51,357 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23778, 23908, 23777, 0, 0, 0, 0], Scale -2
2024-01-16 04:13:51,407 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:13:51,426 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9969, 9950, 10000], Scale -2
2024-01-16 04:13:51,447 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016345, 3302659, 2344461, 2924396], Scale 0
2024-01-16 04:13:51,448 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.8, 12.600000000000001, 12.700000000000001], powers=[3280.0, 3008.0, 3045.0], voltages=[237.78, 239.08, 237.77], power_factors=[0.9969, 0.995, 1.0], imported=8016345.0, exported=4871567.0, power=9334.0, frequency=50.0)
2024-01-16 04:13:51,450 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:13:51,557 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4938], Scale -2
2024-01-16 04:13:51,599 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:13:51,629 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 30], Scale -2
2024-01-16 04:13:51,657 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4516], Scale -2
2024-01-16 04:13:51,658 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.3], power=49.38, exported=7896155.0, dc_power=45.160000000000004)
2024-01-16 04:13:51,660 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:13:51,727 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374821.1209068, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:13:51,728 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.0029463, power1: 0, power2: 0
2024-01-16 04:13:51,728 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:13:51,729 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374831.7275753, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:13:51,730 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:13:51,738 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:13:51,742 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:13:51,791 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:13:51,793 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:13:51,796 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:13:51,799 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=49.38, exported=7934579.61, dc_power=None)
2024-01-16 04:13:51,806 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:13:51,807 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=49.38, exported=7934579.61, dc_power=None)
2024-01-16 04:13:51,807 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:13:51,868 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:13:51,869 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.8, 12.600000000000001, 12.700000000000001], powers=[3280.0, 3008.0, 3045.0], voltages=[237.78, 239.08, 237.77], power_factors=[0.9969, 0.995, 1.0], imported=8016345.0, exported=4871567.0, power=9334.0, frequency=50.0)
2024-01-16 04:13:52,061 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:13:52,063 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:13:52,065 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.84, 32.05, 31.990000000000002]A
2024-01-16 04:13:52,066 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21558.47W
2024-01-16 04:13:52,068 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:13:52,072 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:13:52,072 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-16 04:13:52,074 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:13:52.073776
2024-01-16 04:13:52,076 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 326.187094s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:13:52,079 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:13:52.078526
2024-01-16 04:13:52,080 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176152.2693s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:13:52,083 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:13:52.082707
2024-01-16 04:13:52,085 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9357.300098s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:13:52,087 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:13:52.087217
2024-01-16 04:13:52,089 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172520.956261s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:13:52,090 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:13:52,099 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 15A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 9.69
2024-01-16 04:13:52,100 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.
2024-01-16 04:13:52,119 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374821.5030603, power=2518.02, imported=3845158.3167236885, exported=0)
2024-01-16 04:13:52,121 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00294889, power1: 2518.02, power2: 2392.15
2024-01-16 04:13:52,123 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.23977
2024-01-16 04:13:52,124 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.23977 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374832.1190577, power=2392.1499999999996, imported=3845165.5564947347, exported=0)
2024-01-16 04:13:52,127 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:13:52,129 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:13:52,132 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=6892.47, imported=7421159.18, exported=0))
2024-01-16 04:13:52,135 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=15, required_currents=[15, 15, 15], state=3, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[9.65, 9.69, 9.64], daily_imported=96.19, daily_exported=0, evse_current=1500, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421159.18, phases_in_use=3, plug_state=True, power=6892.47, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.', vehicle_id=None, voltages=[239.41, 238.11, 238.12]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=15, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=150.87999999988824, imported_since_plugged=150.87999999988824, range_charged=0.7543999999994412, time_charged='2:41', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1705325261.294614, required_power=10350, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1bd640>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:13:52,137 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:13:52,139 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:13:52,140 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3280.0, 3008.0, 3045.0], currents=[13.8, 12.6, 12.7], voltages=[237.78, 239.08, 237.77], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6381.0, imported=8016345.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=9334.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21558.47, raw_currents_left=[30.84, 32.05, 31.990000000000002], surplus_power_left=0, state_str=''))
2024-01-16 04:13:52,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=2392.1499999999996, invalid_home_consumption=0, daily_yield_home_consumption=6085.8214047836, imported_home_consumption=3845165.5564947347, disengageable_smarthome_power=0))
2024-01-16 04:13:52,145 - {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-16 04:13:52,146 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:13:52,149 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:13:52,150 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:13:52,152 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:13:52,153 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:13:52,155 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374819.650603, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:13:52,155 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:13:52,157 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:13:52,158 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:13:52,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=1, keep_charge_active_duration=40)
2024-01-16 04:13:52,163 - {control.data:245} - {INFO:MainThread} - general_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-16 04:13:52,164 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:13:52,165 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:13:52,167 - {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 0x6c1c6f40>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:13:52,168 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:13:52,170 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=49.38))
2024-01-16 04:13:52,171 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=49.38))
2024-01-16 04:13:52,172 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374821, 'time': '04:13:41', 'grid': 2.626, 'house-power': 2.518, 'charging-all': 0.06, 'pv-all': -0.048, 'cp1-power': 0.06, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:13:52,174 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:13:52,178 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:13:52,179 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:13:52,182 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:13:52,184 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:13:52,185 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:13:52,186 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:13:52,187 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:13:52,189 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:13:52,190 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:13:52,192 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [24.84, 26.049999999999997, 25.990000000000002]A verbleibende Ströme, 17418.47W verbleibende Leistung
2024-01-16 04:13:52,193 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-16 04:13:52,196 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:13:52,199 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-16 04:13:52,200 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:13:52,202 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [15.84, 17.049999999999997, 16.990000000000002]A verbleibende Ströme, 11208.470000000001W verbleibende Leistung
2024-01-16 04:13:52,203 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 15A
2024-01-16 04:13:52,205 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:13:52,207 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -12891.529999999999W
2024-01-16 04:13:52,210 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -12891.529999999999W
2024-01-16 04:13:52,211 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:13:52,213 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:13:52,215 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 167.96999999973923 counter 7421159.18
2024-01-16 04:13:52,219 - {control.process:111} - {INFO:MainThread} - LP1: set current 15 A, state WAIT_FOR_USING_PHASES
2024-01-16 04:13:52,222 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:13:52,243 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:13:52,556 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:13:52,558 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:13:55,565 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:13:55,566 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:14:00,580 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:14:00,581 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:14:00,664 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:14:00,679 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:14:00,699 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:14:00,717 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:14:00,769 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:14:00,785 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:14:00,792 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":239.4, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374840},"temperature":{"tC":26.2, "tF":79.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:14","unixtime":1705374841,"uptime":4734219,"ram_size":248948,"ram_free":144540,"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":-72},"ws":{"connected":false}}

2024-01-16 04:14:00,796 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374831.0985515, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:14:00,798 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0026939, power1: 0, power2: 0
2024-01-16 04:14:00,802 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:14:00,807 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374840.7965798, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:14:00,814 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:14:00,927 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9326, -3289, -2986, -3050], Scale 0
2024-01-16 04:14:00,951 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [138, 125, 128], Scale -1
2024-01-16 04:14:01,037 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23775, 23897, 23767, 0, 0, 0, 0], Scale -2
2024-01-16 04:14:01,056 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:14:01,081 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9990, 9980, 10000], Scale -2
2024-01-16 04:14:01,227 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016366, 3302666, 2344468, 2924403], Scale 0
2024-01-16 04:14:01,228 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.8, 12.5, 12.8], powers=[3289.0, 2986.0, 3050.0], voltages=[237.75, 238.97, 237.67000000000002], power_factors=[0.9990000000000001, 0.998, 1.0], imported=8016366.0, exported=4871567.0, power=9326.0, frequency=50.0)
2024-01-16 04:14:01,229 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:14:01,269 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4739], Scale -2
2024-01-16 04:14:01,311 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:14:01,338 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 29], Scale -2
2024-01-16 04:14:01,366 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4785], Scale -2
2024-01-16 04:14:01,367 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.29], power=47.39, exported=7896155.0, dc_power=47.85)
2024-01-16 04:14:01,368 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:14:01,458 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374831.7275753, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:14:01,458 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.0027029, power1: 0, power2: 0
2024-01-16 04:14:01,459 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:14:01,459 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374841.458022, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:14:01,460 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:14:01,464 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:14:01,465 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:14:01,510 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:14:01,512 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:14:01,513 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.39, exported=7934579.61, dc_power=None)
2024-01-16 04:14:01,514 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.39, exported=7934579.61, dc_power=None)
2024-01-16 04:14:01,515 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:14:01,517 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:14:01,519 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:14:01,594 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:14:01,595 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.8, 12.5, 12.8], powers=[3289.0, 2986.0, 3050.0], voltages=[237.75, 238.97, 237.67000000000002], power_factors=[0.9990000000000001, 0.998, 1.0], imported=8016366.0, exported=4871567.0, power=9326.0, frequency=50.0)
2024-01-16 04:14:01,774 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:14:01,779 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:14:01,790 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.85, 32.019999999999996, 31.9]A
2024-01-16 04:14:01,792 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21550.85W
2024-01-16 04:14:01,795 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:14:01,802 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:14:01,803 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-16 04:14:01,805 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:14:01.805557
2024-01-16 04:14:01,807 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 316.455313s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:14:01,809 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:14:01.809174
2024-01-16 04:14:01,810 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176142.538652s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:14:01,812 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:14:01.812056
2024-01-16 04:14:01,814 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9367.029447s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:14:01,815 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:14:01.814819
2024-01-16 04:14:01,817 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172511.228659s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:14:01,818 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:14:01,825 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 15A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 9.7
2024-01-16 04:14:01,827 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.
2024-01-16 04:14:01,843 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374832.1190577, power=2392.1499999999996, imported=3845165.5564947347, exported=0)
2024-01-16 04:14:01,846 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00270123, power1: 2392.15, power2: 2401.76
2024-01-16 04:14:01,847 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.47473
2024-01-16 04:14:01,848 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.47473 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374841.8434906, power=2401.7599999999993, imported=3845172.031224782, exported=0)
2024-01-16 04:14:01,858 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:14:01,862 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:14:01,867 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=6876.85, imported=7421178.22, exported=0))
2024-01-16 04:14:01,868 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=15, required_currents=[15, 15, 15], state=3, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[9.52, 9.7, 9.65], daily_imported=96.19, daily_exported=0, evse_current=1500, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421178.22, phases_in_use=3, plug_state=True, power=6876.85, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.', vehicle_id=None, voltages=[239.39, 238.02, 238.12]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=15, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=167.96999999973923, imported_since_plugged=167.96999999973923, range_charged=0.8398499999986961, time_charged='2:41', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1705325261.294614, required_power=10350, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1c5970>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:14:01,870 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:14:01,871 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:14:01,873 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3289.0, 2986.0, 3050.0], currents=[13.8, 12.5, 12.8], voltages=[237.75, 238.97, 237.67], power_factors=[1.0, 1.0, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6381.0, imported=8016366.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=9326.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21550.85, raw_currents_left=[30.85, 32.019999999999996, 31.9], surplus_power_left=0, state_str=''))
2024-01-16 04:14:01,875 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': '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.7599999999993, invalid_home_consumption=0, daily_yield_home_consumption=6085.8214047836, imported_home_consumption=3845172.031224782, disengageable_smarthome_power=0))
2024-01-16 04:14:01,877 - {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-16 04:14:01,882 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:14:01,883 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:14:01,888 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:14:01,889 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:14:01,890 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:14:01,890 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374819.650603, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:14:01,891 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:14:01,891 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:14:01,891 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:14:01,892 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:14:01,892 - {control.data:245} - {INFO:MainThread} - general_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-16 04:14:01,892 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:14:01,893 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:14:01,893 - {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 0x6c1c4a18>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:14:01,894 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:14:01,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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=47.39))
2024-01-16 04:14:01,894 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=47.39))
2024-01-16 04:14:01,895 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374832, 'time': '04:13:52', 'grid': 9.334, 'house-power': 2.392, 'charging-all': 6.892, 'pv-all': -0.049, 'cp1-power': 6.892, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:14:01,895 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:14:01,896 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:14:01,897 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:14:01,898 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:14:01,899 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:14:01,900 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:14:01,901 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:14:01,902 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:14:01,903 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:14:01,904 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:14:01,906 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [24.85, 26.019999999999996, 25.9]A verbleibende Ströme, 17410.85W verbleibende Leistung
2024-01-16 04:14:01,907 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-16 04:14:01,910 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:14:01,912 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-16 04:14:01,913 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:14:01,915 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [15.850000000000001, 17.019999999999996, 16.9]A verbleibende Ströme, 11200.849999999999W verbleibende Leistung
2024-01-16 04:14:01,917 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 15A
2024-01-16 04:14:01,920 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:14:01,923 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -12899.150000000001W
2024-01-16 04:14:01,924 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -12899.150000000001W
2024-01-16 04:14:01,925 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:14:01,926 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:14:01,933 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 187.00999999977648 counter 7421178.22
2024-01-16 04:14:01,940 - {control.process:111} - {INFO:MainThread} - LP1: set current 15 A, state WAIT_FOR_USING_PHASES
2024-01-16 04:14:01,943 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:14:01,980 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:14:02,215 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:14:05,233 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:14:05,234 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:14:10,246 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:14:10,247 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:14:10,295 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:14:10,296 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:14:10,303 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:14:10,305 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:14:10,307 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:14:10,337 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9341, -3285, -3006, -3049], Scale 0
2024-01-16 04:14:10,353 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:14:10,355 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":239.3, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374849},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:14","unixtime":1705374851,"uptime":4734228,"ram_size":248932,"ram_free":144320,"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-16 04:14:10,358 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374840.7965798, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:14:10,360 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00265619, power1: 0, power2: 0
2024-01-16 04:14:10,361 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:14:10,361 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374850.3588645, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:14:10,362 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:14:10,377 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [138, 124, 128], Scale -1
2024-01-16 04:14:10,407 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23771, 23900, 23765, 0, 0, 0, 0], Scale -2
2024-01-16 04:14:10,430 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:14:10,457 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9980, 9950, 9990], Scale -2
2024-01-16 04:14:10,477 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016387, 3302670, 2344471, 2924407], Scale 0
2024-01-16 04:14:10,478 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.8, 12.4, 12.8], powers=[3285.0, 3006.0, 3049.0], voltages=[237.71, 239.0, 237.65], power_factors=[0.998, 0.995, 0.9990000000000001], imported=8016387.0, exported=4871567.0, power=9341.0, frequency=50.0)
2024-01-16 04:14:10,480 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:14:10,526 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5335], Scale -2
2024-01-16 04:14:10,572 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:14:10,607 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 31], Scale -2
2024-01-16 04:14:10,737 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5021], Scale -2
2024-01-16 04:14:10,738 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.31], power=53.35, exported=7896155.0, dc_power=50.21)
2024-01-16 04:14:10,743 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:14:10,786 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374841.458022, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:14:10,787 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00259134, power1: 0, power2: 0
2024-01-16 04:14:10,787 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:14:10,788 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374850.786863, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:14:10,790 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:14:10,804 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:14:10,805 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:14:10,844 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:14:10,846 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:14:10,850 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=53.35, exported=7934579.61, dc_power=None)
2024-01-16 04:14:10,848 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:14:10,851 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=53.35, exported=7934579.61, dc_power=None)
2024-01-16 04:14:10,855 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:14:10,860 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:14:10,933 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:14:10,934 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.8, 12.4, 12.8], powers=[3285.0, 3006.0, 3049.0], voltages=[237.71, 239.0, 237.65], power_factors=[0.998, 0.995, 0.9990000000000001], imported=8016387.0, exported=4871567.0, power=9341.0, frequency=50.0)
2024-01-16 04:14:11,127 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:14:11,131 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:14:11,134 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.85, 32.1, 31.9]A
2024-01-16 04:14:11,134 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21508.5W
2024-01-16 04:14:11,136 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:14:11,139 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:14:11,141 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-16 04:14:11,144 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:14:11.144346
2024-01-16 04:14:11,148 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 307.116524s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:14:11,149 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:14:11.149057
2024-01-16 04:14:11,150 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176133.198769s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:14:11,153 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 4:02:05.217391 start_time 2024-01-16 01:37:54.782609 end 2024-01-16 05:40:00 now 2024-01-16 04:14:11.153153
2024-01-16 04:14:11,155 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start -9376.370544s, Dauer 4.034782608695652h, Termin heute verpasst: False
2024-01-16 04:14:11,157 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:30:46.956522 start_time 2024-01-18 04:09:13.043478 end 2024-01-18 05:40:00 now 2024-01-16 04:14:11.156797
2024-01-16 04:14:11,159 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 172501.886681s, Dauer 1.5130434782608695h, Termin heute verpasst: False
2024-01-16 04:14:11,161 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:14:11,165 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 15A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 9.7
2024-01-16 04:14:11,166 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.
2024-01-16 04:14:11,187 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374841.8434906, power=2401.7599999999993, imported=3845172.031224782, exported=0)
2024-01-16 04:14:11,192 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00259542, power1: 2401.76, power2: 2438.15
2024-01-16 04:14:11,194 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.28079
2024-01-16 04:14:11,197 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.28079 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374851.18699, power=2438.1499999999996, imported=3845178.312015933, exported=0)
2024-01-16 04:14:11,201 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:14:11,208 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:14:11,213 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=6849.5, imported=7421188.96, exported=0))
2024-01-16 04:14:11,216 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=15, required_currents=[15, 15, 15], state=3, submode=<Chargemode.INSTANT_CHARGING: 'instant_charging'>, timestamp_auto_phase_switch=None, timestamp_perform_phase_switch=None, timestamp_switch_on_off=None), get=Get(charge_state=True, connected_vehicle=ConnectedVehicle(config=ConnectedConfig(average_consumption=17, charge_template=0, chargemode='stop', current_plan=0, ev_template=0, priority=False, time_charging_in_use=False), info=ConnectedInfo(id=0, name='Ladepunkt'), soc=71), currents=[9.5, 9.7, 9.65], daily_imported=96.19, daily_exported=0, evse_current=1500, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421188.96, phases_in_use=3, plug_state=True, power=6849.5, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.', vehicle_id=None, voltages=[239.26, 238.01, 238.0]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=15, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=187.00999999977648, imported_since_plugged=187.00999999977648, range_charged=0.9350499999988824, time_charged='2:41', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1705325261.294614, required_power=10350, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7dedc0>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:14:11,219 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:14:11,222 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:14:11,223 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3285.0, 3006.0, 3049.0], currents=[13.8, 12.4, 12.8], voltages=[237.71, 239.0, 237.65], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6381.0, imported=8016387.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=9341.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21508.5, raw_currents_left=[30.85, 32.1, 31.9], surplus_power_left=0, state_str=''))
2024-01-16 04:14:11,225 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2438.1499999999996, invalid_home_consumption=0, daily_yield_home_consumption=6085.8214047836, imported_home_consumption=3845178.312015933, disengageable_smarthome_power=0))
2024-01-16 04:14:11,228 - {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-16 04:14:11,231 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:14:11,234 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:14:11,236 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:14:11,238 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:14:11,241 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:14:11,243 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374819.650603, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:14:11,244 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:14:11,250 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:14:11,252 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:14:11,255 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:14:11,256 - {control.data:245} - {INFO:MainThread} - general_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-16 04:14:11,260 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:14:11,262 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:14:11,265 - {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 0x6c1ece08>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:14:11,267 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:14:11,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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=53.35))
2024-01-16 04:14:11,270 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=53.35))
2024-01-16 04:14:11,272 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374841, 'time': '04:14:01', 'grid': 9.326, 'house-power': 2.402, 'charging-all': 6.877, 'pv-all': -0.047, 'cp1-power': 6.877, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:14:11,274 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:14:11,275 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:14:11,277 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:14:11,280 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:14:11,283 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:14:11,288 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:14:11,292 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:14:11,293 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:14:11,298 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:14:11,301 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:14:11,303 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [24.85, 26.1, 25.9]A verbleibende Ströme, 17368.5W verbleibende Leistung
2024-01-16 04:14:11,305 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-16 04:14:11,309 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:14:11,312 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-16 04:14:11,314 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:14:11,316 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [15.850000000000001, 17.1, 16.9]A verbleibende Ströme, 11158.5W verbleibende Leistung
2024-01-16 04:14:11,317 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 15A
2024-01-16 04:14:11,324 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:14:11,326 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -12941.5W
2024-01-16 04:14:11,327 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -12941.5W
2024-01-16 04:14:11,329 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:14:11,330 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:14:11,332 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 197.75 counter 7421188.96
2024-01-16 04:14:11,337 - {control.process:111} - {INFO:MainThread} - LP1: set current 15 A, state CHARGING_ALLOWED
2024-01-16 04:14:11,371 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:14:11,416 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:14:11,735 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/state, Payload 4, vorherige Payload: 3
2024-01-16 04:14:11,739 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:14:11,743 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:14:15,790 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:14:15,792 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:14:20,807 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:14:20,808 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:14:20,878 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:14:20,879 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:14:20,881 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:14:20,892 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:14:20,894 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:14:20,937 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:14:20,939 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9387, -3283, -3060, -3043], Scale 0
2024-01-16 04:14:20,943 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":239.3, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374860},"temperature":{"tC":26.3, "tF":79.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:14","unixtime":1705374861,"uptime":4734239,"ram_size":248948,"ram_free":144540,"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":-72},"ws":{"connected":false}}

2024-01-16 04:14:20,947 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374850.3588645, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:14:20,948 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0029414, power1: 0, power2: 0
2024-01-16 04:14:20,949 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:14:20,950 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374860.9478915, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:14:20,953 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:14:20,968 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [138, 126, 130], Scale -1
2024-01-16 04:14:20,990 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23736, 23893, 23735, 0, 0, 0, 0], Scale -2
2024-01-16 04:14:21,039 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:14:21,126 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9969, 9940, 9990], Scale -2
2024-01-16 04:14:21,157 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016428, 3302685, 2344484, 2924420], Scale 0
2024-01-16 04:14:21,158 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.8, 12.600000000000001, 13.0], powers=[3283.0, 3060.0, 3043.0], voltages=[237.36, 238.93, 237.35], power_factors=[0.9969, 0.9940000000000001, 0.9990000000000001], imported=8016428.0, exported=4871567.0, power=9387.0, frequency=50.0)
2024-01-16 04:14:21,159 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:14:21,176 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5102], Scale -2
2024-01-16 04:14:21,196 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:14:21,336 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 32, 32], Scale -2
2024-01-16 04:14:21,389 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5179], Scale -2
2024-01-16 04:14:21,389 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.32, 0.32], power=51.02, exported=7896155.0, dc_power=51.79)
2024-01-16 04:14:21,391 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:14:21,436 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374850.786863, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:14:21,437 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00295834, power1: 0, power2: 0
2024-01-16 04:14:21,438 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:14:21,438 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374861.436896, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:14:21,439 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:14:21,444 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:14:21,445 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:14:21,526 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:14:21,527 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:14:21,529 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=51.02, exported=7934579.61, dc_power=None)
2024-01-16 04:14:21,530 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:14:21,530 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=51.02, exported=7934579.61, dc_power=None)
2024-01-16 04:14:21,531 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:14:21,535 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:14:21,590 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:14:21,591 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.8, 12.600000000000001, 13.0], powers=[3283.0, 3060.0, 3043.0], voltages=[237.36, 238.93, 237.35], power_factors=[0.9969, 0.9940000000000001, 0.9990000000000001], imported=8016428.0, exported=4871567.0, power=9387.0, frequency=50.0)
2024-01-16 04:14:21,664 - {helpermodules.changed_values_handler:120} - {DEBUG:MainThread} - Topic openWB/set/chargepoint/1/control_parameter/state, Payload 4, vorherige Payload: 3
2024-01-16 04:14:21,792 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:14:21,793 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:14:21,795 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.86, 32.06, 31.8]A
2024-01-16 04:14:21,796 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21532.87W
2024-01-16 04:14:21,797 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:14:21,799 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:14:21,800 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-16 04:14:21,801 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:14:21.801458
2024-01-16 04:14:21,802 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 296.459412s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:14:21,804 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:14:21.803658
2024-01-16 04:14:21,804 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176122.544168s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:14:21,806 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:14:21,809 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 15A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 9.8
2024-01-16 04:14:21,810 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.
2024-01-16 04:14:21,817 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374851.18699, power=2438.1499999999996, imported=3845178.312015933, exported=0)
2024-01-16 04:14:21,820 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00295299, power1: 2438.15, power2: 2416.11
2024-01-16 04:14:21,821 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.16729
2024-01-16 04:14:21,822 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.16729 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374861.8177526, power=2416.1099999999997, imported=3845185.4793055924, exported=0)
2024-01-16 04:14:21,824 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:14:21,825 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:14:21,827 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=6919.87, imported=7421213.87, exported=0))
2024-01-16 04:14:21,828 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=15, required_currents=[15, 15, 15], 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=71), currents=[9.66, 9.8, 9.66], daily_imported=96.19, daily_exported=0, evse_current=1500, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421213.87, phases_in_use=3, plug_state=True, power=6919.87, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.', vehicle_id=None, voltages=[239.31, 237.68, 237.69]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=15, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=197.75, imported_since_plugged=197.75, range_charged=0.98875, time_charged='2:41', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1705325261.294614, required_power=10350, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1dc400>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:14:21,831 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:14:21,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=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:14:21,836 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3283.0, 3060.0, 3043.0], currents=[13.8, 12.6, 13.0], voltages=[237.36, 238.93, 237.35], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6381.0, imported=8016428.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=9387.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21532.87, raw_currents_left=[30.86, 32.06, 31.8], surplus_power_left=0, state_str=''))
2024-01-16 04:14:21,837 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2416.1099999999997, invalid_home_consumption=0, daily_yield_home_consumption=6085.8214047836, imported_home_consumption=3845185.4793055924, disengageable_smarthome_power=0))
2024-01-16 04:14:21,845 - {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-16 04:14:21,846 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:14:21,849 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:14:21,850 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:14:21,850 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:14:21,852 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:14:21,852 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374819.650603, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:14:21,853 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:14:21,854 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:14:21,855 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:14:21,856 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:14:21,857 - {control.data:245} - {INFO:MainThread} - general_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-16 04:14:21,858 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:14:21,859 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:14:21,861 - {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 0x6c1d7520>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:14:21,862 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:14:21,863 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=51.02))
2024-01-16 04:14:21,867 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=51.02))
2024-01-16 04:14:21,868 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374851, 'time': '04:14:11', 'grid': 9.341, 'house-power': 2.438, 'charging-all': 6.849, 'pv-all': -0.053, 'cp1-power': 6.849, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:14:21,868 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:14:21,868 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:14:21,869 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:14:21,869 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:14:21,870 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:14:21,870 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:14:21,870 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:14:21,871 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:14:21,871 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:14:21,872 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:14:21,873 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [24.86, 26.060000000000002, 25.8]A verbleibende Ströme, 17392.87W verbleibende Leistung
2024-01-16 04:14:21,873 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-16 04:14:21,875 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:14:21,877 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-16 04:14:21,879 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:14:21,881 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [15.86, 17.060000000000002, 16.8]A verbleibende Ströme, 11182.869999999999W verbleibende Leistung
2024-01-16 04:14:21,881 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 15A
2024-01-16 04:14:21,883 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:14:21,898 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -12917.130000000001W
2024-01-16 04:14:21,900 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -12917.130000000001W
2024-01-16 04:14:21,903 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:14:21,904 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:14:21,908 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 222.660000000149 counter 7421213.87
2024-01-16 04:14:21,910 - {control.process:111} - {INFO:MainThread} - LP1: set current 15 A, state CHARGING_ALLOWED
2024-01-16 04:14:21,912 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:14:21,957 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:14:22,290 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:14:25,328 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:14:25,329 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:14:30,341 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:14:30,342 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:14:30,402 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:14:30,406 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:14:30,416 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:14:30,417 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:14:30,418 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:14:30,464 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:14:30,466 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":239.2, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374870},"temperature":{"tC":26.4, "tF":79.5}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:14","unixtime":1705374871,"uptime":4734248,"ram_size":249000,"ram_free":145116,"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-16 04:14:30,475 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374860.9478915, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:14:30,476 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00264654, power1: 0, power2: 0
2024-01-16 04:14:30,477 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:14:30,477 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374870.4754221, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:14:30,481 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:14:30,507 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9341, -3287, -3010, -3042], Scale 0
2024-01-16 04:14:30,526 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [139, 127, 128], Scale -1
2024-01-16 04:14:30,547 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23740, 23888, 23726, 0, 0, 0, 0], Scale -2
2024-01-16 04:14:30,567 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:14:30,616 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9959, 9929, 9980], Scale -2
2024-01-16 04:14:30,657 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016449, 3302692, 2344491, 2924427], Scale 0
2024-01-16 04:14:30,657 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.9, 12.700000000000001, 12.8], powers=[3287.0, 3010.0, 3042.0], voltages=[237.4, 238.88, 237.26], power_factors=[0.9959, 0.9929000000000001, 0.998], imported=8016449.0, exported=4871567.0, power=9341.0, frequency=50.0)
2024-01-16 04:14:30,659 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:14:30,707 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4566], Scale -2
2024-01-16 04:14:30,736 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:14:30,766 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 32, 30], Scale -2
2024-01-16 04:14:30,890 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4635], Scale -2
2024-01-16 04:14:30,891 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.32, 0.3], power=45.660000000000004, exported=7896155.0, dc_power=46.35)
2024-01-16 04:14:30,893 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:14:30,937 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374861.436896, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:14:30,938 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00263902, power1: 0, power2: 0
2024-01-16 04:14:30,938 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:14:30,938 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374870.937355, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:14:30,941 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:14:30,951 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:14:30,953 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:14:31,013 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:14:31,015 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:14:31,017 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=45.660000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:14:31,018 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=45.660000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:14:31,023 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:14:31,027 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:14:31,028 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:14:31,090 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:14:31,091 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.9, 12.700000000000001, 12.8], powers=[3287.0, 3010.0, 3042.0], voltages=[237.4, 238.88, 237.26], power_factors=[0.9959, 0.9929000000000001, 0.998], imported=8016449.0, exported=4871567.0, power=9341.0, frequency=50.0)
2024-01-16 04:14:31,289 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:14:31,291 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:14:31,294 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.77, 31.96, 31.96]A
2024-01-16 04:14:31,297 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21550.510000000002W
2024-01-16 04:14:31,299 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:14:31,300 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:14:31,302 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-16 04:14:31,304 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:14:31.304333
2024-01-16 04:14:31,307 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 286.956537s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:14:31,310 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:14:31.309545
2024-01-16 04:14:31,313 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176113.038281s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:14:31,317 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:14:31,356 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 15A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 9.76
2024-01-16 04:14:31,359 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.
2024-01-16 04:14:31,370 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374861.8177526, power=2416.1099999999997, imported=3845185.4793055924, exported=0)
2024-01-16 04:14:31,372 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00265364, power1: 2416.11, power2: 2403.83
2024-01-16 04:14:31,375 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.3952
2024-01-16 04:14:31,378 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.3952 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374871.3708634, power=2403.83, imported=3845191.8745029606, exported=0)
2024-01-16 04:14:31,380 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:14:31,382 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:14:31,385 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=6891.51, imported=7421233.89, exported=0))
2024-01-16 04:14:31,387 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=15, required_currents=[15, 15, 15], 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=71), currents=[9.66, 9.76, 9.67], daily_imported=96.19, daily_exported=0, evse_current=1500, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421233.89, phases_in_use=3, plug_state=True, power=6891.51, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.', vehicle_id=None, voltages=[239.21, 237.64, 237.69]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=15, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=222.660000000149, imported_since_plugged=222.660000000149, range_charged=1.1133000000007451, time_charged='2:42', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1705325261.294614, required_power=10350, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1c1418>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:14:31,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-16 04:14:31,396 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:14:31,400 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3287.0, 3010.0, 3042.0], currents=[13.9, 12.7, 12.8], voltages=[237.4, 238.88, 237.26], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6381.0, imported=8016449.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=9341.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21550.510000000002, raw_currents_left=[30.77, 31.96, 31.96], surplus_power_left=0, state_str=''))
2024-01-16 04:14:31,401 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': '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.83, invalid_home_consumption=0, daily_yield_home_consumption=6085.8214047836, imported_home_consumption=3845191.8745029606, disengageable_smarthome_power=0))
2024-01-16 04:14:31,403 - {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-16 04:14:31,404 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:14:31,405 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:14:31,406 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:14:31,407 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:14:31,409 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:14:31,410 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374819.650603, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:14:31,411 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:14: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-16 04:14:31,423 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:14:31,423 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:14:31,427 - {control.data:245} - {INFO:MainThread} - general_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-16 04:14:31,428 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:14:31,429 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:14:31,430 - {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 0x6c1c2760>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:14:31,432 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:14:31,447 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=45.66))
2024-01-16 04:14:31,448 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=45.66))
2024-01-16 04:14:31,450 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374861, 'time': '04:14:21', 'grid': 9.387, 'house-power': 2.416, 'charging-all': 6.92, 'pv-all': -0.051, 'cp1-power': 6.92, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:14:31,451 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:14:31,455 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:14:31,456 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:14:31,461 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:14:31,462 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:14:31,464 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:14:31,464 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:14:31,465 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:14:31,468 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:14:31,474 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:14:31,475 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [24.77, 25.96, 25.96]A verbleibende Ströme, 17410.510000000002W verbleibende Leistung
2024-01-16 04:14:31,477 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-16 04:14:31,479 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:14:31,483 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-16 04:14:31,484 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:14:31,486 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [15.77, 16.96, 16.96]A verbleibende Ströme, 11200.510000000002W verbleibende Leistung
2024-01-16 04:14:31,493 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 15A
2024-01-16 04:14:31,497 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:14:31,503 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -12899.489999999998W
2024-01-16 04:14:31,504 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -12899.489999999998W
2024-01-16 04:14:31,505 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:14:31,506 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:14:31,508 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 242.67999999970198 counter 7421233.89
2024-01-16 04:14:31,510 - {control.process:111} - {INFO:MainThread} - LP1: set current 15 A, state CHARGING_ALLOWED
2024-01-16 04:14:31,516 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:14:31,578 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:14:31,906 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:14:31,925 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:14:35,959 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:14:35,961 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:14:40,978 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:14:40,979 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:14:41,048 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:14:41,050 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:14:41,051 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:14:41,059 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:14:41,063 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:14:41,104 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:14:41,107 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":239.2, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374880},"temperature":{"tC":26.3, "tF":79.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:14","unixtime":1705374881,"uptime":4734259,"ram_size":249000,"ram_free":145116,"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":-72},"ws":{"connected":false}}

2024-01-16 04:14:41,110 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374870.4754221, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:14:41,111 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00295429, power1: 0, power2: 0
2024-01-16 04:14:41,112 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:14:41,114 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374881.110868, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:14:41,119 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:14:41,137 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9355, -3291, -3011, -3052], Scale 0
2024-01-16 04:14:41,167 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [138, 126, 129], Scale -1
2024-01-16 04:14:41,287 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23747, 23885, 23753, 0, 0, 0, 0], Scale -2
2024-01-16 04:14:41,329 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:14:41,357 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9980, 9929, 9940], Scale -2
2024-01-16 04:14:41,377 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016470, 3302699, 2344498, 2924434], Scale 0
2024-01-16 04:14:41,378 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.8, 12.600000000000001, 12.9], powers=[3291.0, 3011.0, 3052.0], voltages=[237.47, 238.85, 237.53], power_factors=[0.998, 0.9929000000000001, 0.9940000000000001], imported=8016470.0, exported=4871567.0, power=9355.0, frequency=50.0)
2024-01-16 04:14:41,380 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:14:41,437 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4716], Scale -2
2024-01-16 04:14:41,496 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:14:41,517 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 30, 30], Scale -2
2024-01-16 04:14:41,550 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4788], Scale -2
2024-01-16 04:14:41,553 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.3, 0.3], power=47.160000000000004, exported=7896155.0, dc_power=47.88)
2024-01-16 04:14:41,555 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:14:41,689 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374870.937355, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:14:41,689 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00298662, power1: 0, power2: 0
2024-01-16 04:14:41,690 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:14:41,690 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374881.6891992, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:14:41,691 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:14:41,695 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:14:41,708 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:14:41,750 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:14:41,752 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:14:41,753 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.160000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:14:41,754 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:14:41,755 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.160000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:14:41,756 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:14:41,765 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:14:41,842 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:14:41,843 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.8, 12.600000000000001, 12.9], powers=[3291.0, 3011.0, 3052.0], voltages=[237.47, 238.85, 237.53], power_factors=[0.998, 0.9929000000000001, 0.9940000000000001], imported=8016470.0, exported=4871567.0, power=9355.0, frequency=50.0)
2024-01-16 04:14:42,070 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:14:42,080 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:14:42,086 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.86, 32.08, 31.82]A
2024-01-16 04:14:42,092 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21541.48W
2024-01-16 04:14:42,100 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:14:42,102 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:14:42,103 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-16 04:14:42,105 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:14:42.105117
2024-01-16 04:14:42,107 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 276.155753s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:14:42,109 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:14:42.108865
2024-01-16 04:14:42,110 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176102.238961s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:14:42,113 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:14:42,116 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 15A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 9.72
2024-01-16 04:14:42,117 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.
2024-01-16 04:14:42,123 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374871.3708634, power=2403.83, imported=3845191.8745029606, exported=0)
2024-01-16 04:14:42,124 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00298672, power1: 2403.83, power2: 2411.36
2024-01-16 04:14:42,129 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.19082
2024-01-16 04:14:42,132 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.19082 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374882.1230621, power=2411.3600000000006, imported=3845199.065319577, exported=0)
2024-01-16 04:14:42,137 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:14:42,140 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:14:42,148 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=6896.48, imported=7421252.93, exported=0))
2024-01-16 04:14:42,150 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=15, required_currents=[15, 15, 15], 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=71), currents=[9.68, 9.72, 9.66], daily_imported=96.19, daily_exported=0, evse_current=1500, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421252.93, phases_in_use=3, plug_state=True, power=6896.48, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.', vehicle_id=None, voltages=[239.11, 237.77, 237.78]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=15, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=242.67999999970198, imported_since_plugged=242.67999999970198, range_charged=1.21339999999851, time_charged='2:42', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1705325261.294614, required_power=10350, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1c8850>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:14:42,151 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:14:42,152 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:14:42,154 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3291.0, 3011.0, 3052.0], currents=[13.8, 12.6, 12.9], voltages=[237.47, 238.85, 237.53], power_factors=[1.0, 0.99, 0.99], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6381.0, imported=8016470.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=9355.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21541.48, raw_currents_left=[30.86, 32.08, 31.82], surplus_power_left=0, state_str=''))
2024-01-16 04:14:42,155 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': '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.3600000000006, invalid_home_consumption=0, daily_yield_home_consumption=6085.8214047836, imported_home_consumption=3845199.065319577, disengageable_smarthome_power=0))
2024-01-16 04:14:42,162 - {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-16 04:14:42,169 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:14:42,171 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:14:42,173 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:14:42,175 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:14:42,176 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:14:42,182 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374881.530493, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:14:42,186 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:14:42,188 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:14:42,191 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:14:42,192 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:14:42,194 - {control.data:245} - {INFO:MainThread} - general_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-16 04:14:42,195 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:14:42,196 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:14:42,198 - {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 0x6c1e73d0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:14:42,199 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:14:42,200 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=47.16))
2024-01-16 04:14:42,202 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=47.16))
2024-01-16 04:14:42,204 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374871, 'time': '04:14:31', 'grid': 9.341, 'house-power': 2.404, 'charging-all': 6.892, 'pv-all': -0.046, 'cp1-power': 6.892, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:14:42,205 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:14:42,207 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:14:42,209 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:14:42,210 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:14:42,212 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:14:42,214 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:14:42,216 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:14:42,217 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:14:42,218 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:14:42,220 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:14:42,222 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [24.86, 26.08, 25.82]A verbleibende Ströme, 17401.48W verbleibende Leistung
2024-01-16 04:14:42,224 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-16 04:14:42,228 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:14:42,230 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-16 04:14:42,231 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:14:42,232 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [15.86, 17.08, 16.82]A verbleibende Ströme, 11191.48W verbleibende Leistung
2024-01-16 04:14:42,234 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 15A
2024-01-16 04:14:42,236 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:14:42,238 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -12908.52W
2024-01-16 04:14:42,239 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -12908.52W
2024-01-16 04:14:42,242 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:14:42,243 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:14:42,244 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 261.71999999973923 counter 7421252.93
2024-01-16 04:14:42,246 - {control.process:111} - {INFO:MainThread} - LP1: set current 15 A, state CHARGING_ALLOWED
2024-01-16 04:14:42,253 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:14:42,272 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:14:42,604 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:14:45,629 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:14:45,630 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:14:50,642 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:14:50,643 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:14:50,679 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:14:50,683 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:14:50,694 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:14:50,695 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:14:50,699 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:14:50,740 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:14:50,742 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":239.2, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374890},"temperature":{"tC":26.3, "tF":79.4}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:14","unixtime":1705374891,"uptime":4734269,"ram_size":249000,"ram_free":145116,"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":-72},"ws":{"connected":false}}

2024-01-16 04:14:50,744 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374881.110868, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:14:50,745 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00267609, power1: 0, power2: 0
2024-01-16 04:14:50,746 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:14:50,747 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374890.7447948, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:14:50,749 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:14:50,768 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9386, -3322, -3010, -3052], Scale 0
2024-01-16 04:14:50,799 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [138, 126, 128], Scale -1
2024-01-16 04:14:50,817 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23754, 23885, 23743, 0, 0, 0, 0], Scale -2
2024-01-16 04:14:50,840 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:14:50,866 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9980, 9940, 9990], Scale -2
2024-01-16 04:14:50,887 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016491, 3302707, 2344505, 2924441], Scale 0
2024-01-16 04:14:50,888 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.8, 12.600000000000001, 12.8], powers=[3322.0, 3010.0, 3052.0], voltages=[237.54, 238.85, 237.43], power_factors=[0.998, 0.9940000000000001, 0.9990000000000001], imported=8016491.0, exported=4871567.0, power=9386.0, frequency=50.0)
2024-01-16 04:14:50,893 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:14:51,017 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4958], Scale -2
2024-01-16 04:14:51,056 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:14:51,092 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 30], Scale -2
2024-01-16 04:14:51,148 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5201], Scale -2
2024-01-16 04:14:51,149 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.3], power=49.58, exported=7896155.0, dc_power=52.01)
2024-01-16 04:14:51,150 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:14:51,187 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374881.6891992, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:14:51,188 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00263839, power1: 0, power2: 0
2024-01-16 04:14:51,188 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:14:51,189 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374891.1874022, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:14:51,190 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:14:51,194 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:14:51,195 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:14:51,252 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:14:51,254 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:14:51,255 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:14:51,268 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=49.58, exported=7934579.61, dc_power=None)
2024-01-16 04:14:51,270 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:14:51,273 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=49.58, exported=7934579.61, dc_power=None)
2024-01-16 04:14:51,273 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:14:51,337 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:14:51,338 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.8, 12.600000000000001, 12.8], powers=[3322.0, 3010.0, 3052.0], voltages=[237.54, 238.85, 237.43], power_factors=[0.998, 0.9940000000000001, 0.9990000000000001], imported=8016491.0, exported=4871567.0, power=9386.0, frequency=50.0)
2024-01-16 04:14:51,522 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:14:51,524 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:14:51,527 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.86, 32.07, 31.9]A
2024-01-16 04:14:51,529 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21517.82W
2024-01-16 04:14:51,530 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:14:51,533 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:14:51,534 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-16 04:14:51,535 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:14:51.535474
2024-01-16 04:14:51,537 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 266.725396s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:14:51,539 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:14:51.538541
2024-01-16 04:14:51,540 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176092.809285s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:14:51,541 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:14:51,546 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 15A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 9.7
2024-01-16 04:14:51,550 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.
2024-01-16 04:14:51,576 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374882.1230621, power=2411.3600000000006, imported=3845199.065319577, exported=0)
2024-01-16 04:14:51,577 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00262582, power1: 2411.36, power2: 2432.6
2024-01-16 04:14:51,579 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.35968
2024-01-16 04:14:51,580 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.35968 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374891.5760124, power=2432.6000000000004, imported=3845205.425001916, exported=0)
2024-01-16 04:14:51,584 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:14:51,586 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:14:51,587 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=6903.82, imported=7421272.95, exported=0))
2024-01-16 04:14:51,588 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=15, required_currents=[15, 15, 15], 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=71), currents=[9.67, 9.7, 9.66], daily_imported=96.19, daily_exported=0, evse_current=1500, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421272.95, phases_in_use=3, plug_state=True, power=6903.82, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.', vehicle_id=None, voltages=[239.09, 238.13, 238.08]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=15, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=261.71999999973923, imported_since_plugged=261.71999999973923, range_charged=1.3085999999986961, time_charged='2:42', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1705325261.294614, required_power=10350, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7c86e8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:14:51,589 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:14:51,591 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:14:51,592 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3322.0, 3010.0, 3052.0], currents=[13.8, 12.6, 12.8], voltages=[237.54, 238.85, 237.43], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6381.0, imported=8016491.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=9386.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21517.82, raw_currents_left=[30.86, 32.07, 31.9], surplus_power_left=0, state_str=''))
2024-01-16 04:14:51,593 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2432.6000000000004, invalid_home_consumption=0, daily_yield_home_consumption=6085.8214047836, imported_home_consumption=3845205.425001916, disengageable_smarthome_power=0))
2024-01-16 04:14:51,594 - {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-16 04:14:51,596 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:14:51,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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:14:51,599 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:14:51,600 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:14:51,601 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:14:51,602 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374881.530493, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:14:51,603 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:14:51,604 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:14:51,605 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:14:51,606 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:14:51,608 - {control.data:245} - {INFO:MainThread} - general_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-16 04:14:51,608 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:14:51,610 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:14:51,611 - {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 0x6c1c51d8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:14:51,612 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:14:51,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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=49.58))
2024-01-16 04:14:51,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=8233395.285, power=49.58))
2024-01-16 04:14:51,615 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374882, 'time': '04:14:42', 'grid': 9.355, 'house-power': 2.411, 'charging-all': 6.896, 'pv-all': -0.047, 'cp1-power': 6.896, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:14:51,616 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:14:51,618 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:14:51,621 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:14:51,622 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:14:51,624 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:14:51,625 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:14:51,626 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:14:51,627 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:14:51,628 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:14:51,631 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:14:51,633 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [24.86, 26.07, 25.9]A verbleibende Ströme, 17377.82W verbleibende Leistung
2024-01-16 04:14:51,634 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-16 04:14:51,638 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:14:51,640 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-16 04:14:51,641 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:14:51,643 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [15.86, 17.07, 16.9]A verbleibende Ströme, 11167.82W verbleibende Leistung
2024-01-16 04:14:51,644 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 15A
2024-01-16 04:14:51,646 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:14:51,647 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -12932.18W
2024-01-16 04:14:51,648 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -12932.18W
2024-01-16 04:14:51,650 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:14:51,652 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:14:51,656 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 281.7400000002235 counter 7421272.95
2024-01-16 04:14:51,659 - {control.process:111} - {INFO:MainThread} - LP1: set current 15 A, state CHARGING_ALLOWED
2024-01-16 04:14:51,661 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:14:51,686 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:14:52,018 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:14:52,027 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:14:55,035 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:14:55,036 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:15:00,048 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:15:00,049 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:15:00,113 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:15:00,115 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:15:00,118 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:15:00,127 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:15:00,131 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:15:00,173 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:15:00,176 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":239.3, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374899},"temperature":{"tC":26.2, "tF":79.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:15","unixtime":1705374900,"uptime":4734278,"ram_size":248948,"ram_free":144540,"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-16 04:15:00,183 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374890.7447948, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:15:00,184 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00262181, power1: 0, power2: 0
2024-01-16 04:15:00,186 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:15:00,187 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374900.183311, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:15:00,192 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:15:00,249 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9388, -3323, -3010, -3054], Scale 0
2024-01-16 04:15:00,269 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [139, 126, 128], Scale -1
2024-01-16 04:15:00,296 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23786, 23886, 23779, 0, 0, 0, 0], Scale -2
2024-01-16 04:15:00,317 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:15:00,341 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9980, 9950, 9980], Scale -2
2024-01-16 04:15:00,377 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016532, 3302721, 2344518, 2924454], Scale 0
2024-01-16 04:15:00,378 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.9, 12.600000000000001, 12.8], powers=[3323.0, 3010.0, 3054.0], voltages=[237.86, 238.86, 237.79], power_factors=[0.998, 0.995, 0.998], imported=8016532.0, exported=4871567.0, power=9388.0, frequency=50.0)
2024-01-16 04:15:00,380 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:15:00,396 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5131], Scale -2
2024-01-16 04:15:00,415 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:15:00,476 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 31, 31], Scale -2
2024-01-16 04:15:00,505 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5209], Scale -2
2024-01-16 04:15:00,506 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.31, 0.31], power=51.31, exported=7896155.0, dc_power=52.09)
2024-01-16 04:15:00,510 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:15:00,647 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374891.1874022, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:15:00,647 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00262773, power1: 0, power2: 0
2024-01-16 04:15:00,648 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:15:00,648 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374900.6472354, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:15:00,649 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:15:00,653 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:15:00,654 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:15:00,702 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:15:00,704 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:15:00,705 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=51.31, exported=7934579.61, dc_power=None)
2024-01-16 04:15:00,706 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:15:00,706 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=51.31, exported=7934579.61, dc_power=None)
2024-01-16 04:15:00,712 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:15:00,726 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:15:00,773 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:15:00,774 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.9, 12.600000000000001, 12.8], powers=[3323.0, 3010.0, 3054.0], voltages=[237.86, 238.86, 237.79], power_factors=[0.998, 0.995, 0.998], imported=8016532.0, exported=4871567.0, power=9388.0, frequency=50.0)
2024-01-16 04:15:00,968 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:15:00,970 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:15:00,972 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.75, 32.07, 31.91]A
2024-01-16 04:15:00,973 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21507.0W
2024-01-16 04:15:00,974 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:15:00,976 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:15:00,978 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-16 04:15:00,980 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:15:00.980104
2024-01-16 04:15:00,981 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 257.280766s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:15:00,983 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:15:00.982786
2024-01-16 04:15:00,984 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176083.36504s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:15:00,985 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:15:01,000 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 15A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 9.71
2024-01-16 04:15:01,005 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.
2024-01-16 04:15:01,018 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374891.5760124, power=2432.6000000000004, imported=3845205.425001916, exported=0)
2024-01-16 04:15:01,021 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00262278, power1: 2432.6, power2: 2441.69
2024-01-16 04:15:01,023 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.3921
2024-01-16 04:15:01,024 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.3921 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374901.018023, power=2441.6899999999996, imported=3845211.817098867, exported=0)
2024-01-16 04:15:01,027 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:15:01,028 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:15:01,029 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=96.19, daily_exported=0, power=6895.0, imported=7421291.99, exported=0))
2024-01-16 04:15:01,030 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=15, required_currents=[15, 15, 15], 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=71), currents=[9.67, 9.71, 9.65], daily_imported=96.19, daily_exported=0, evse_current=1500, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421291.99, phases_in_use=3, plug_state=True, power=6895.0, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.', vehicle_id=None, voltages=[239.27, 238.13, 238.21]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=15, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=281.7400000002235, imported_since_plugged=281.7400000002235, range_charged=1.4087000000011176, time_charged='2:42', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1705325261.294614, required_power=10350, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7e3e68>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:15:01,031 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:15:01,032 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:15:01,033 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3323.0, 3010.0, 3054.0], currents=[13.9, 12.6, 12.8], voltages=[237.86, 238.86, 237.79], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6381.0, imported=8016532.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=9388.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21507.0, raw_currents_left=[30.75, 32.07, 31.91], surplus_power_left=0, state_str=''))
2024-01-16 04:15:01,034 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2441.6899999999996, invalid_home_consumption=0, daily_yield_home_consumption=6085.8214047836, imported_home_consumption=3845211.817098867, disengageable_smarthome_power=0))
2024-01-16 04:15:01,036 - {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-16 04:15:01,037 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:15:01,038 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:15:01,039 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:15:01,040 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:15:01,040 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:15:01,041 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374881.530493, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:15:01,041 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:15:01,041 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:15:01,042 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:15:01,042 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:15:01,043 - {control.data:245} - {INFO:MainThread} - general_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-16 04:15:01,043 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:15:01,043 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:15:01,044 - {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 0x6c1e3ac0>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:15:01,044 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:15:01,045 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=51.31))
2024-01-16 04:15:01,045 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=51.31))
2024-01-16 04:15:01,045 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374891, 'time': '04:14:51', 'grid': 9.386, 'house-power': 2.433, 'charging-all': 6.904, 'pv-all': -0.05, 'cp1-power': 6.904, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:15:01,047 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:15:01,048 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:15:01,049 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:15:01,050 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:15:01,051 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:15:01,052 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:15:01,053 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:15:01,055 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:15:01,057 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:15:01,059 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:15:01,061 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [24.75, 26.07, 25.91]A verbleibende Ströme, 17367.0W verbleibende Leistung
2024-01-16 04:15:01,062 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-16 04:15:01,066 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:15:01,068 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-16 04:15:01,070 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:15:01,072 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [15.75, 17.07, 16.91]A verbleibende Ströme, 11157.0W verbleibende Leistung
2024-01-16 04:15:01,073 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 15A
2024-01-16 04:15:01,075 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:15:01,075 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -12943.0W
2024-01-16 04:15:01,080 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -12943.0W
2024-01-16 04:15:01,081 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:15:01,081 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:15:01,082 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 300.78000000026077 counter 7421291.99
2024-01-16 04:15:01,084 - {control.process:111} - {INFO:MainThread} - LP1: set current 15 A, state CHARGING_ALLOWED
2024-01-16 04:15:01,087 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:15:01,125 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:15:01,378 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:15:01,392 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2024-01-16 04:15:01,444 - {root:107} - {DEBUG:MainThread} - 5 Minuten Handler ausführen.
2024-01-16 04:15:01,505 - {helpermodules.system:74} - {INFO:MainThread} - my IP: 192.168.1.31
2024-01-16 04:15:01,506 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=hours, do=inner, args=(), kwargs={})
2024-01-16 04:15:05,886 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:15:05,887 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:15:10,899 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:15:10,900 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:15:10,950 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:15:10,952 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:15:10,960 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:15:10,962 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:15:10,976 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:15:10,996 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9393, -3323, -3015, -3053], Scale 0
2024-01-16 04:15:11,021 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [140, 126, 128], Scale -1
2024-01-16 04:15:11,031 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:15:11,035 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":239.2, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374910},"temperature":{"tC":26.2, "tF":79.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:15","unixtime":1705374911,"uptime":4734289,"ram_size":248948,"ram_free":144540,"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-16 04:15:11,042 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374900.183311, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:15:11,043 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00301633, power1: 0, power2: 0
2024-01-16 04:15:11,043 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:15:11,043 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374911.0421062, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:15:11,045 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:15:11,146 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23772, 23869, 23763, 0, 0, 0, 0], Scale -2
2024-01-16 04:15:11,177 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:15:11,197 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9969, 9950, 9990], Scale -2
2024-01-16 04:15:11,219 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016553, 3302729, 2344525, 2924461], Scale 0
2024-01-16 04:15:11,220 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[14.0, 12.600000000000001, 12.8], powers=[3323.0, 3015.0, 3053.0], voltages=[237.72, 238.69, 237.63], power_factors=[0.9969, 0.995, 0.9990000000000001], imported=8016553.0, exported=4871567.0, power=9393.0, frequency=50.0)
2024-01-16 04:15:11,222 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:15:11,246 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4642], Scale -2
2024-01-16 04:15:11,269 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:15:11,297 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 31, 29], Scale -2
2024-01-16 04:15:11,317 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4713], Scale -2
2024-01-16 04:15:11,318 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.31, 0.29], power=46.42, exported=7896155.0, dc_power=47.13)
2024-01-16 04:15:11,319 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:15:11,418 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374900.6472354, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:15:11,419 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00299203, power1: 0, power2: 0
2024-01-16 04:15:11,419 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:15:11,420 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374911.4185524, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:15:11,421 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:15:11,440 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:15:11,441 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:15:11,485 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:15:11,486 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:15:11,488 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=46.42, exported=7934579.61, dc_power=None)
2024-01-16 04:15:11,489 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=46.42, exported=7934579.61, dc_power=None)
2024-01-16 04:15:11,499 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:15:11,514 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:15:11,517 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:15:11,569 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:15:11,570 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[14.0, 12.600000000000001, 12.8], powers=[3323.0, 3015.0, 3053.0], voltages=[237.72, 238.69, 237.63], power_factors=[0.9969, 0.995, 0.9990000000000001], imported=8016553.0, exported=4871567.0, power=9393.0, frequency=50.0)
2024-01-16 04:15:11,771 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:15:11,773 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:15:11,777 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.65, 32.06, 31.9]A
2024-01-16 04:15:11,778 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21510.16W
2024-01-16 04:15:11,780 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:15:11,783 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:15:11,784 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-16 04:15:11,786 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:15:11.785980
2024-01-16 04:15:11,788 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 246.47489s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:15:11,790 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:15:11.789552
2024-01-16 04:15:11,791 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176072.558274s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:15:11,792 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:15:11,796 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 15A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 9.7
2024-01-16 04:15:11,798 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.
2024-01-16 04:15:11,820 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374901.018023, power=2441.6899999999996, imported=3845211.817098867, exported=0)
2024-01-16 04:15:11,822 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00300052, power1: 2441.69, power2: 2443.42
2024-01-16 04:15:11,832 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.32894
2024-01-16 04:15:11,833 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.32894 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374911.8199017, power=2443.42, imported=3845219.1460385355, exported=0)
2024-01-16 04:15:11,836 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:15:11,838 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:15:11,840 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=247.07, daily_exported=0, power=6903.16, imported=7421311.04, exported=0))
2024-01-16 04:15:11,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=7420991.21, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=15, required_currents=[15, 15, 15], 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=71), currents=[9.66, 9.7, 9.65], daily_imported=247.07, daily_exported=0, evse_current=1500, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421311.04, phases_in_use=3, plug_state=True, power=6903.16, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.', vehicle_id=None, voltages=[239.19, 238.09, 238.18]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=15, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=300.78000000026077, imported_since_plugged=300.78000000026077, range_charged=1.5039000000013039, time_charged='2:42', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1705325261.294614, required_power=10350, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7de238>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:15:11,844 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:15:11,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=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:15:11,849 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3323.0, 3015.0, 3053.0], currents=[14.0, 12.6, 12.8], voltages=[237.72, 238.69, 237.63], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6739.0, imported=8016553.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=9393.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21510.16, raw_currents_left=[30.65, 32.06, 31.9], surplus_power_left=0, state_str=''))
2024-01-16 04:15:11,851 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': '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.42, invalid_home_consumption=0, daily_yield_home_consumption=6291.688883285, imported_home_consumption=3845219.1460385355, disengageable_smarthome_power=0))
2024-01-16 04:15:11,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-16 04:15:11,855 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:15:11,857 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:15:11,858 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:15:11,860 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:15:11,861 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:15:11,863 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374881.530493, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:15:11,865 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:15:11,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-16 04:15:11,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-16 04:15:11,868 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:15:11,870 - {control.data:245} - {INFO:MainThread} - general_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-16 04:15:11,872 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:15:11,874 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:15:11,876 - {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 0x6c1e3928>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:15:11,878 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:15:11,880 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=46.42))
2024-01-16 04:15:11,883 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=46.42))
2024-01-16 04:15:11,884 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374901, 'time': '04:15:01', 'grid': 9.388, 'house-power': 2.442, 'charging-all': 6.895, 'pv-all': -0.051, 'cp1-power': 6.895, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:15:11,886 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:15:11,887 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:15:11,887 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:15:11,889 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:15:11,891 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:15:11,892 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:15:11,897 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:15:11,899 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:15:11,902 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:15:11,904 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:15:11,906 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [24.65, 26.060000000000002, 25.9]A verbleibende Ströme, 17370.16W verbleibende Leistung
2024-01-16 04:15:11,908 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-16 04:15:11,911 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:15:11,913 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-16 04:15:11,919 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:15:11,920 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [15.649999999999999, 17.060000000000002, 16.9]A verbleibende Ströme, 11160.16W verbleibende Leistung
2024-01-16 04:15:11,923 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 15A
2024-01-16 04:15:11,932 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:15:11,933 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -12939.84W
2024-01-16 04:15:11,935 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -12939.84W
2024-01-16 04:15:11,936 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:15:11,937 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:15:11,938 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 319.8300000000745 counter 7421311.04
2024-01-16 04:15:11,942 - {control.process:111} - {INFO:MainThread} - LP1: set current 15 A, state CHARGING_ALLOWED
2024-01-16 04:15:11,946 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:15:12,031 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:15:12,475 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:15:12,477 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:15:15,488 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:15:20,501 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:15:20,501 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:15:20,541 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:15:20,542 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:15:20,544 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:15:20,549 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:15:20,553 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:15:20,586 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9387, -3317, -3016, -3053], Scale 0
2024-01-16 04:15:20,594 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:15:20,598 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":239.3, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374920},"temperature":{"tC":26.2, "tF":79.2}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:15","unixtime":1705374921,"uptime":4734298,"ram_size":248948,"ram_free":144540,"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-16 04:15:20,601 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374911.0421062, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:15:20,603 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.0026554, power1: 0, power2: 0
2024-01-16 04:15:20,607 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:15:20,607 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374920.6015282, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:15:20,610 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [139, 126, 127], Scale -1
2024-01-16 04:15:20,618 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:15:20,717 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23784, 23884, 23778, 0, 0, 0, 0], Scale -2
2024-01-16 04:15:20,746 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:15:20,766 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9969, 9959, 10000], Scale -2
2024-01-16 04:15:20,798 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016574, 3302736, 2344531, 2924468], Scale 0
2024-01-16 04:15:20,799 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[13.9, 12.600000000000001, 12.700000000000001], powers=[3317.0, 3016.0, 3053.0], voltages=[237.84, 238.84, 237.78], power_factors=[0.9969, 0.9959, 1.0], imported=8016574.0, exported=4871567.0, power=9387.0, frequency=50.0)
2024-01-16 04:15:20,800 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:15:20,826 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5441], Scale -2
2024-01-16 04:15:20,860 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:15:20,903 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 32, 31], Scale -2
2024-01-16 04:15:20,956 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4657], Scale -2
2024-01-16 04:15:20,957 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.32, 0.31], power=54.410000000000004, exported=7896155.0, dc_power=46.57)
2024-01-16 04:15:20,958 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:15:20,995 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374911.4185524, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:15:20,996 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00266027, power1: 0, power2: 0
2024-01-16 04:15:20,997 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:15:20,997 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374920.9955256, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:15:20,998 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:15:21,003 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:15:21,006 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:15:21,056 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:15:21,058 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:15:21,061 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:15:21,062 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=54.410000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:15:21,071 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:15:21,072 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=54.410000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:15:21,073 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:15:21,131 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:15:21,132 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[13.9, 12.600000000000001, 12.700000000000001], powers=[3317.0, 3016.0, 3053.0], voltages=[237.84, 238.84, 237.78], power_factors=[0.9969, 0.9959, 1.0], imported=8016574.0, exported=4871567.0, power=9387.0, frequency=50.0)
2024-01-16 04:15:21,303 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:15:21,304 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:15:21,308 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.77, 32.07, 32.09]A
2024-01-16 04:15:21,309 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21525.27W
2024-01-16 04:15:21,310 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:15:21,312 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:15:21,313 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-16 04:15:21,314 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:15:21.314204
2024-01-16 04:15:21,315 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 236.946666s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:15:21,316 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:15:21.316347
2024-01-16 04:15:21,317 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176063.031479s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:15:21,318 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:15:21,322 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 15A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 9.79
2024-01-16 04:15:21,340 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.
2024-01-16 04:15:21,348 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374911.8199017, power=2443.42, imported=3845219.1460385355, exported=0)
2024-01-16 04:15:21,350 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00264694, power1: 2443.42, power2: 2420.32
2024-01-16 04:15:21,351 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.43702
2024-01-16 04:15:21,352 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.43702 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374921.3488958, power=2420.3199999999997, imported=3845225.583059325, exported=0)
2024-01-16 04:15:21,355 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:15:21,356 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:15:21,357 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=247.07, daily_exported=0, power=6912.27, imported=7421330.08, exported=0))
2024-01-16 04:15:21,360 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=15, required_currents=[15, 15, 15], 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=71), currents=[9.67, 9.79, 9.67], daily_imported=247.07, daily_exported=0, evse_current=1500, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421330.08, phases_in_use=3, plug_state=True, power=6912.27, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.', vehicle_id=None, voltages=[239.26, 238.12, 237.84]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=15, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=319.8300000000745, imported_since_plugged=319.8300000000745, range_charged=1.5991500000003724, time_charged='2:42', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1705325261.294614, required_power=10350, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7e8a18>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:15:21,361 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:15:21,362 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:15:21,363 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3317.0, 3016.0, 3053.0], currents=[13.9, 12.6, 12.7], voltages=[237.84, 238.84, 237.78], power_factors=[1.0, 1.0, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6739.0, imported=8016574.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=9387.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21525.27, raw_currents_left=[30.77, 32.07, 32.09], surplus_power_left=0, state_str=''))
2024-01-16 04:15:21,365 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2420.3199999999997, invalid_home_consumption=0, daily_yield_home_consumption=6291.688883285, imported_home_consumption=3845225.583059325, disengageable_smarthome_power=0))
2024-01-16 04:15:21,368 - {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-16 04:15:21,370 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:15:21,371 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:15:21,372 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:15:21,375 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:15:21,376 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:15:21,378 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374881.530493, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:15:21,379 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:15:21,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-16 04:15:21,383 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:15:21,384 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:15:21,386 - {control.data:245} - {INFO:MainThread} - general_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-16 04:15:21,386 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:15:21,388 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:15:21,390 - {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 0x6c1ece98>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:15:21,392 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:15:21,393 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=54.41))
2024-01-16 04:15:21,394 - {control.data:250} - {INFO:MainThread} - pv_all_data
PvAllData(config=Config(configured=True), get=Get(daily_exported=0.0, monthly_exported=0, yearly_exported=0, exported=8233395.285, power=54.41))
2024-01-16 04:15:21,397 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374912, 'time': '04:15:12', 'grid': 9.393, 'house-power': 2.443, 'charging-all': 6.903, 'pv-all': -0.046, 'cp1-power': 6.903, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:15:21,398 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:15:21,399 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:15:21,400 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:15:21,401 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:15:21,402 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:15:21,403 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:15:21,406 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:15:21,408 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:15:21,411 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:15:21,412 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:15:21,414 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [24.77, 26.07, 26.090000000000003]A verbleibende Ströme, 17385.27W verbleibende Leistung
2024-01-16 04:15:21,415 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-16 04:15:21,418 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:15:21,421 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-16 04:15:21,425 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:15:21,426 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [15.77, 17.07, 17.090000000000003]A verbleibende Ströme, 11175.27W verbleibende Leistung
2024-01-16 04:15:21,427 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 15A
2024-01-16 04:15:21,429 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:15:21,431 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -12924.73W
2024-01-16 04:15:21,431 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -12924.73W
2024-01-16 04:15:21,434 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:15:21,436 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:15:21,438 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 338.87000000011176 counter 7421330.08
2024-01-16 04:15:21,441 - {control.process:111} - {INFO:MainThread} - LP1: set current 15 A, state CHARGING_ALLOWED
2024-01-16 04:15:21,443 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:15:21,462 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:15:21,773 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:15:21,774 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:15:25,784 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:15:25,786 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:15:30,797 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:15:30,798 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:15:30,839 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:15:30,841 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:15:30,847 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:15:30,849 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:15:30,850 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:15:30,892 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9392, -3328, -3015, -3049], Scale 0
2024-01-16 04:15:30,925 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [140, 127, 128], Scale -1
2024-01-16 04:15:30,930 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:15:30,933 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":239.2, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374930},"temperature":{"tC":26.2, "tF":79.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:15","unixtime":1705374931,"uptime":4734309,"ram_size":249000,"ram_free":145116,"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-16 04:15:30,936 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374920.6015282, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:15:30,937 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00287072, power1: 0, power2: 0
2024-01-16 04:15:30,938 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:15:30,939 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374930.936107, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:15:30,940 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:15:30,981 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23778, 23882, 23775, 0, 0, 0, 0], Scale -2
2024-01-16 04:15:31,015 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5002], Scale -2
2024-01-16 04:15:31,035 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9969, 9929, 9980], Scale -2
2024-01-16 04:15:31,056 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016595, 3302744, 2344538, 2924475], Scale 0
2024-01-16 04:15:31,057 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[14.0, 12.700000000000001, 12.8], powers=[3328.0, 3015.0, 3049.0], voltages=[237.78, 238.82, 237.75], power_factors=[0.9969, 0.9929000000000001, 0.998], imported=8016595.0, exported=4871567.0, power=9392.0, frequency=50.02)
2024-01-16 04:15:31,065 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:15:31,297 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4478], Scale -2
2024-01-16 04:15:31,316 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:15:31,336 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 32, 30], Scale -2
2024-01-16 04:15:31,356 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4546], Scale -2
2024-01-16 04:15:31,357 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.32, 0.3], power=44.78, exported=7896155.0, dc_power=45.46)
2024-01-16 04:15:31,360 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:15:31,455 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374920.9955256, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:15:31,457 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00290563, power1: 0, power2: 0
2024-01-16 04:15:31,457 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:15:31,458 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374931.4557793, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:15:31,459 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:15:31,470 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:15:31,472 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:15:31,548 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:15:31,549 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:15:31,550 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:15:31,554 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=44.78, exported=7934579.61, dc_power=None)
2024-01-16 04:15:31,564 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:15:31,566 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=44.78, exported=7934579.61, dc_power=None)
2024-01-16 04:15:31,568 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:15:31,640 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:15:31,641 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[14.0, 12.700000000000001, 12.8], powers=[3328.0, 3015.0, 3049.0], voltages=[237.78, 238.82, 237.75], power_factors=[0.9969, 0.9929000000000001, 0.998], imported=8016595.0, exported=4871567.0, power=9392.0, frequency=50.02)
2024-01-16 04:15:31,855 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:15:31,857 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:15:31,860 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.65, 32.04, 31.95]A
2024-01-16 04:15:31,861 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21514.75W
2024-01-16 04:15:31,862 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:15:31,864 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:15:31,865 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-16 04:15:31,867 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:15:31.866501
2024-01-16 04:15:31,868 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 226.394369s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:15:31,870 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:15:31.870401
2024-01-16 04:15:31,871 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176052.477425s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:15:31,873 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:15:31,875 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 15A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 9.75
2024-01-16 04:15:31,876 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.
2024-01-16 04:15:31,880 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374921.3488958, power=2420.3199999999997, imported=3845225.583059325, exported=0)
2024-01-16 04:15:31,890 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00292554, power1: 2420.32, power2: 2440.47
2024-01-16 04:15:31,896 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.11022
2024-01-16 04:15:31,899 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.11022 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374931.8808417, power=2440.4700000000003, imported=3845232.6932784254, exported=0)
2024-01-16 04:15:31,902 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:15:31,905 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:15:31,909 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=247.07, daily_exported=0, power=6906.75, imported=7421350.1, exported=0))
2024-01-16 04:15:31,913 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=15, required_currents=[15, 15, 15], 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=71), currents=[9.74, 9.75, 9.65], daily_imported=247.07, daily_exported=0, evse_current=1500, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421350.1, phases_in_use=3, plug_state=True, power=6906.75, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.', vehicle_id=None, voltages=[239.08, 237.96, 238.0]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=15, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=338.87000000011176, imported_since_plugged=338.87000000011176, range_charged=1.694350000000559, time_charged='2:43', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1705325261.294614, required_power=10350, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7d49e8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:15:31,914 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:15:31,917 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:15:31,918 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3328.0, 3015.0, 3049.0], currents=[14.0, 12.7, 12.8], voltages=[237.78, 238.82, 237.75], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.02, daily_exported=0.0, daily_imported=6739.0, imported=8016595.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=9392.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21514.75, raw_currents_left=[30.65, 32.04, 31.95], surplus_power_left=0, state_str=''))
2024-01-16 04:15:31,919 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': '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.4700000000003, invalid_home_consumption=0, daily_yield_home_consumption=6291.688883285, imported_home_consumption=3845232.6932784254, disengageable_smarthome_power=0))
2024-01-16 04:15:31,922 - {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-16 04:15:31,924 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:15:31,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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:15:31,928 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:15:31,929 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:15:31,934 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:15:31,935 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374881.530493, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:15:31,936 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:15:31,937 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:15:31,947 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:15:31,947 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:15:31,949 - {control.data:245} - {INFO:MainThread} - general_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-16 04:15:31,951 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:15:31,953 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:15:31,955 - {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 0x6c1bf190>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:15:31,956 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:15:31,957 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=44.78))
2024-01-16 04:15:31,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=8233395.285, power=44.78))
2024-01-16 04:15:31,962 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374921, 'time': '04:15:21', 'grid': 9.387, 'house-power': 2.42, 'charging-all': 6.912, 'pv-all': -0.054, 'cp1-power': 6.912, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:15:31,964 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:15:31,965 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:15:31,966 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:15:31,967 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:15:31,968 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:15:31,968 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:15:31,969 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:15:31,969 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:15:31,971 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:15:31,973 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:15:31,975 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [24.65, 26.04, 25.95]A verbleibende Ströme, 17374.75W verbleibende Leistung
2024-01-16 04:15:31,977 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-16 04:15:31,980 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:15:31,984 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-16 04:15:31,985 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:15:31,986 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [15.649999999999999, 17.04, 16.95]A verbleibende Ströme, 11164.75W verbleibende Leistung
2024-01-16 04:15:31,987 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 15A
2024-01-16 04:15:31,989 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:15:31,990 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -12935.25W
2024-01-16 04:15:31,991 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -12935.25W
2024-01-16 04:15:31,995 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:15:31,997 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:15:31,999 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 358.8899999996647 counter 7421350.1
2024-01-16 04:15:32,001 - {control.process:111} - {INFO:MainThread} - LP1: set current 15 A, state CHARGING_ALLOWED
2024-01-16 04:15:32,003 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:15:32,020 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:15:32,274 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:15:35,284 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:15:35,285 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:15:40,300 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:15:40,301 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:15:40,347 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:15:40,357 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:15:40,367 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:15:40,376 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:15:40,379 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:15:40,419 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:15:40,421 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":239.2, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374940},"temperature":{"tC":26.2, "tF":79.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:15","unixtime":1705374941,"uptime":4734318,"ram_size":249000,"ram_free":145116,"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-16 04:15:40,424 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374930.936107, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:15:40,426 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00263564, power1: 0, power2: 0
2024-01-16 04:15:40,427 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:15:40,430 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374940.424428, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:15:40,433 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:15:40,436 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9398, -3326, -3016, -3055], Scale 0
2024-01-16 04:15:40,484 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [140, 126, 128], Scale -1
2024-01-16 04:15:40,518 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23781, 23886, 23781, 0, 0, 0, 0], Scale -2
2024-01-16 04:15:40,557 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:15:40,576 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9959, 9950, 9980], Scale -2
2024-01-16 04:15:40,614 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016637, 3302758, 2344552, 2924488], Scale 0
2024-01-16 04:15:40,615 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[14.0, 12.600000000000001, 12.8], powers=[3326.0, 3016.0, 3055.0], voltages=[237.81, 238.86, 237.81], power_factors=[0.9959, 0.995, 0.998], imported=8016637.0, exported=4871567.0, power=9398.0, frequency=50.0)
2024-01-16 04:15:40,627 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:15:40,664 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4955], Scale -2
2024-01-16 04:15:40,723 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:15:40,749 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [28, 32, 31], Scale -2
2024-01-16 04:15:40,781 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5030], Scale -2
2024-01-16 04:15:40,782 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.28, 0.32, 0.31], power=49.550000000000004, exported=7896155.0, dc_power=50.300000000000004)
2024-01-16 04:15:40,785 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:15:40,927 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374931.4557793, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:15:40,928 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00263101, power1: 0, power2: 0
2024-01-16 04:15:40,928 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:15:40,929 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374940.9274197, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:15:40,930 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:15:40,933 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:15:40,934 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:15:41,017 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:15:41,018 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:15:41,022 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=49.550000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:15:41,023 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:15:41,025 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=49.550000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:15:41,030 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:15:41,036 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:15:41,101 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:15:41,102 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[14.0, 12.600000000000001, 12.8], powers=[3326.0, 3016.0, 3055.0], voltages=[237.81, 238.86, 237.81], power_factors=[0.9959, 0.995, 0.998], imported=8016637.0, exported=4871567.0, power=9398.0, frequency=50.0)
2024-01-16 04:15:41,310 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:15:41,317 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:15:41,320 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.66, 32.05, 31.92]A
2024-01-16 04:15:41,321 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21492.18W
2024-01-16 04:15:41,323 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:15:41,334 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:15:41,339 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-16 04:15:41,346 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:15:41.345836
2024-01-16 04:15:41,347 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 216.915034s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:15:41,348 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:15:41.348328
2024-01-16 04:15:41,350 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176042.999498s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:15:41,351 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:15:41,389 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 15A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 9.72
2024-01-16 04:15:41,390 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.
2024-01-16 04:15:41,406 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374931.8808417, power=2440.4700000000003, imported=3845232.6932784254, exported=0)
2024-01-16 04:15:41,433 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00264598, power1: 2440.47, power2: 2458.27
2024-01-16 04:15:41,435 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.481
2024-01-16 04:15:41,436 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.481 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374941.4063876, power=2458.2699999999995, imported=3845239.174274593, exported=0)
2024-01-16 04:15:41,439 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:15:41,441 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:15:41,442 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=247.07, daily_exported=0, power=6890.18, imported=7421369.14, exported=0))
2024-01-16 04:15:41,443 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=15, required_currents=[15, 15, 15], 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=71), currents=[9.65, 9.72, 9.66], daily_imported=247.07, daily_exported=0, evse_current=1500, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421369.14, phases_in_use=3, plug_state=True, power=6890.18, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.', vehicle_id=None, voltages=[239.13, 238.03, 238.05]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=15, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=358.8899999996647, imported_since_plugged=358.8899999996647, range_charged=1.7944499999983239, time_charged='2:43', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1705325261.294614, required_power=10350, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6f7f0d30>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:15:41,445 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=0, max_current_multi_phases=32, max_current_single_phase=32, name='Standard Ladepunkt-Vorlage', rfid_enabling=False, valid_tags=[])
2024-01-16 04:15:41,446 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:15:41,449 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3326.0, 3016.0, 3055.0], currents=[14.0, 12.6, 12.8], voltages=[237.81, 238.86, 237.81], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6739.0, imported=8016637.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=9398.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21492.18, raw_currents_left=[30.66, 32.05, 31.92], surplus_power_left=0, state_str=''))
2024-01-16 04:15:41,450 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2458.2699999999995, invalid_home_consumption=0, daily_yield_home_consumption=6291.688883285, imported_home_consumption=3845239.174274593, disengageable_smarthome_power=0))
2024-01-16 04:15:41,452 - {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-16 04:15:41,455 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:15:41,457 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:15:41,465 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:15:41,467 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:15:41,468 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:15:41,469 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374881.530493, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:15:41,470 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:15:41,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-16 04:15:41,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-16 04:15:41,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=1, keep_charge_active_duration=40)
2024-01-16 04:15:41,477 - {control.data:245} - {INFO:MainThread} - general_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-16 04:15:41,479 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:15:41,480 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:15:41,481 - {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 0x6c1d1ef8>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:15:41,484 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:15:41,487 - {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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=49.55))
2024-01-16 04:15:41,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=8233395.285, power=49.55))
2024-01-16 04:15:41,489 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374932, 'time': '04:15:32', 'grid': 9.392, 'house-power': 2.44, 'charging-all': 6.907, 'pv-all': -0.045, 'cp1-power': 6.907, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:15:41,490 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:15:41,490 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:15:41,491 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:15:41,491 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:15:41,491 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:15:41,492 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:15:41,492 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:15:41,492 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:15:41,493 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:15:41,494 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:15:41,495 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [24.66, 26.049999999999997, 25.92]A verbleibende Ströme, 17352.18W verbleibende Leistung
2024-01-16 04:15:41,495 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-16 04:15:41,497 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:15:41,499 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-16 04:15:41,499 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:15:41,500 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [15.66, 17.049999999999997, 16.92]A verbleibende Ströme, 11142.18W verbleibende Leistung
2024-01-16 04:15:41,500 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 15A
2024-01-16 04:15:41,502 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:15:41,502 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -12957.82W
2024-01-16 04:15:41,503 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -12957.82W
2024-01-16 04:15:41,503 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:15:41,504 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:15:41,505 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 377.929999999702 counter 7421369.14
2024-01-16 04:15:41,509 - {control.process:111} - {INFO:MainThread} - LP1: set current 15 A, state CHARGING_ALLOWED
2024-01-16 04:15:41,512 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:15:41,570 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:15:41,833 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:15:41,835 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:15:45,855 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:15:45,856 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:15:50,871 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:15:50,872 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:15:50,915 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:15:50,917 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:15:50,920 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:15:50,928 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:15:50,933 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:15:50,970 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:15:50,973 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":239.2, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374950},"temperature":{"tC":26.2, "tF":79.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:15","unixtime":1705374951,"uptime":4734329,"ram_size":249000,"ram_free":145120,"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-16 04:15:50,975 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374940.424428, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:15:50,977 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00293091, power1: 0, power2: 0
2024-01-16 04:15:50,978 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:15:50,979 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374950.9757063, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:15:50,983 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:15:51,045 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9498, -3374, -3020, -3103], Scale 0
2024-01-16 04:15:51,065 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [142, 127, 130], Scale -1
2024-01-16 04:15:51,084 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23779, 23890, 23765, 0, 0, 0, 0], Scale -2
2024-01-16 04:15:51,137 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:15:51,165 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9969, 9929, 9980], Scale -2
2024-01-16 04:15:51,186 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016658, 3302766, 2344558, 2924495], Scale 0
2024-01-16 04:15:51,187 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[14.200000000000001, 12.700000000000001, 13.0], powers=[3374.0, 3020.0, 3103.0], voltages=[237.79, 238.9, 237.65], power_factors=[0.9969, 0.9929000000000001, 0.998], imported=8016658.0, exported=4871567.0, power=9498.0, frequency=50.0)
2024-01-16 04:15:51,197 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:15:51,267 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4755], Scale -2
2024-01-16 04:15:51,312 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:15:51,357 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [29, 31, 31], Scale -2
2024-01-16 04:15:51,377 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-4801], Scale -2
2024-01-16 04:15:51,377 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.29, 0.31, 0.31], power=47.550000000000004, exported=7896155.0, dc_power=48.01)
2024-01-16 04:15:51,379 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:15:51,417 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374940.9274197, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:15:51,418 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00291379, power1: 0, power2: 0
2024-01-16 04:15:51,418 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:15:51,419 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374951.417079, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:15:51,420 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:15:51,427 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:15:51,429 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:15:51,495 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:15:51,496 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:15:51,498 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=47.550000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:15:51,499 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:15:51,500 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=47.550000000000004, exported=7934579.61, dc_power=None)
2024-01-16 04:15:51,504 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:15:51,510 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:15:51,578 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:15:51,579 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[14.200000000000001, 12.700000000000001, 13.0], powers=[3374.0, 3020.0, 3103.0], voltages=[237.79, 238.9, 237.65], power_factors=[0.9969, 0.9929000000000001, 0.998], imported=8016658.0, exported=4871567.0, power=9498.0, frequency=50.0)
2024-01-16 04:15:51,762 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:15:51,774 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:15:51,777 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.66, 32.07, 31.92]A
2024-01-16 04:15:51,778 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21497.92W
2024-01-16 04:15:51,779 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:15:51,782 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:15:51,783 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-16 04:15:51,785 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:15:51.784732
2024-01-16 04:15:51,786 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 206.476138s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:15:51,787 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:15:51.787067
2024-01-16 04:15:51,789 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176032.560759s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:15:51,790 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:15:51,792 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 15A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 9.92
2024-01-16 04:15:51,795 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.
2024-01-16 04:15:51,805 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374941.4063876, power=2458.2699999999995, imported=3845239.174274593, exported=0)
2024-01-16 04:15:51,808 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00288852, power1: 2458.27, power2: 2454.53
2024-01-16 04:15:51,811 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 7.09537
2024-01-16 04:15:51,812 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 7.09537 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374951.805069, power=2454.5299999999997, imported=3845246.2696415368, exported=0)
2024-01-16 04:15:51,816 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:15:51,818 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:15:51,822 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=247.07, daily_exported=0, power=6995.92, imported=7421389.16, exported=0))
2024-01-16 04:15:51,824 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=15, required_currents=[15, 15, 15], 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=71), currents=[9.77, 9.92, 9.86], daily_imported=247.07, daily_exported=0, evse_current=1500, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421389.16, phases_in_use=3, plug_state=True, power=6995.92, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.', vehicle_id=None, voltages=[239.08, 237.89, 238.08]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=15, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=377.929999999702, imported_since_plugged=377.929999999702, range_charged=1.88964999999851, time_charged='2:43', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1705325261.294614, required_power=10350, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1f2d30>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:15:51,825 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:15:51,828 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:15:51,830 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3374.0, 3020.0, 3103.0], currents=[14.2, 12.7, 13.0], voltages=[237.79, 238.9, 237.65], power_factors=[1.0, 0.99, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6739.0, imported=8016658.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=9498.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21497.92, raw_currents_left=[30.66, 32.07, 31.92], surplus_power_left=0, state_str=''))
2024-01-16 04:15:51,832 - {control.data:241} - {INFO:MainThread} - counter_all_data
CounterAllData(config=Config(reserve_for_not_charging=False), get=Get(hierarchy=[{'id': 0, 'type': 'counter', 'children': [{'id': 1, 'type': 'cp', 'children': []}, {'id': 2, 'type': 'inverter', 'children': [{'id': 4, 'type': 'bat', 'children': []}]}, {'id': 3, 'type': 'inverter', 'children': []}]}]), set=Set(loadmanagement_active=False, home_consumption=2454.5299999999997, invalid_home_consumption=0, daily_yield_home_consumption=6291.688883285, imported_home_consumption=3845246.2696415368, disengageable_smarthome_power=0))
2024-01-16 04:15:51,834 - {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-16 04:15:51,835 - {control.data:266} - {INFO:MainThread} - ct1
ChargeTemplateData(name='Sofortladen 16A', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='instant_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=False, min_soc=0, max_soc=101), scheduled_charging=ScheduledCharging(plans={}), instant_charging=InstantCharging(current=16, limit=Limit(selected='none', amount=1000, soc=50))))
2024-01-16 04:15:51,836 - {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=12, limit=Limit(selected='none', amount=1000, soc=50)), '3': TimeChargingPlan(active=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 80%, 6:00 Uhr', limit=ScheduledLimit(selected='soc', amount=1000, soc_limit=100, soc_scheduled=80), time='05:40')}), instant_charging=InstantCharging(current=16, limit=Limit(selected='soc', amount=1000, soc=80))))
2024-01-16 04:15:51,837 - {control.data:266} - {INFO:MainThread} - ct3
ChargeTemplateData(name='PV', disable_after_unplug=False, prio=False, load_default=True, et=Et(active=False, max_price=0.0002), time_charging=TimeCharging(active=False, plans={}), chargemode=Chargemode(selected='pv_charging', pv_charging=PvCharging(min_soc_current=10, min_current=0, feed_in_limit=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-16 04:15:51,838 - {control.data:266} - {INFO:MainThread} - ev0
EvData(set=Set(soc_error_counter=0), charge_template=0, ev_template=0, name='Standard-Fahrzeug', tag_id=[], get=Get(soc=0, soc_timestamp=0, force_soc_update=True, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:15:51,840 - {control.data:266} - {INFO:MainThread} - ev1
EvData(set=Set(soc_error_counter=0), charge_template=1, ev_template=1, name='***AUTO1***', tag_id=['2585022212'], get=Get(soc=30.0, soc_timestamp=1705374326.539594, force_soc_update=False, range=131.06, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:15:51,841 - {control.data:266} - {INFO:MainThread} - ev2
EvData(set=Set(soc_error_counter=0), charge_template=2, ev_template=2, name='***AUTO2***', tag_id=['1655332554'], get=Get(soc=71, soc_timestamp=1705374946.542861, force_soc_update=False, range=197, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:15:51,842 - {control.data:266} - {INFO:MainThread} - ev3
EvData(set=Set(soc_error_counter=0), charge_template=3, ev_template=1, name='***AUTO1*** PV', tag_id=['0003526747'], get=Get(soc=0, soc_timestamp=0, force_soc_update=False, range=0, fault_state=0, fault_str='Kein Fehler.'))
2024-01-16 04:15:51,843 - {control.data:266} - {INFO:MainThread} - et0
EvTemplateData(name='Standard-Fahrzeug-Vorlage', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_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-16 04:15:51,844 - {control.data:266} - {INFO:MainThread} - et1
EvTemplateData(name='Tesla Model Y (2022)', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, 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-16 04:15:51,845 - {control.data:266} - {INFO:MainThread} - et2
EvTemplateData(name='Cupra Born 58kW', max_current_multi_phases=16, max_phases=3, phase_switch_pause=2, prevent_phase_switch=False, prevent_charge_stop=False, control_pilot_interruption=False, control_pilot_interruption_duration=4, average_consump=20000, min_current=6, max_current_single_phase=32, battery_capacity=58000, efficiency=85, nominal_difference=1, keep_charge_active_duration=40)
2024-01-16 04:15:51,846 - {control.data:245} - {INFO:MainThread} - general_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-16 04:15:51,847 - {control.data:246} - {INFO:MainThread} - general_data-display
local
2024-01-16 04:15:51,849 - {control.data:247} - {INFO:MainThread} - graph_data
GraphData(config=Config(duration=120))
2024-01-16 04:15:51,850 - {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 0x6c1bf160>), led=Led(active=False), rfid=Rfid(active=True))
2024-01-16 04:15:51,851 - {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=298815.675, fault_state=0, fault_str='Kein Fehler.', power=0))
2024-01-16 04:15:51,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=7934579.61, fault_state=0, fault_str='Kein Fehler.', power=47.55))
2024-01-16 04:15:51,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=8233395.285, power=47.55))
2024-01-16 04:15:51,856 - {control.data:266} - {INFO:MainThread} - system
{'update_in_progress': False, 'perform_update': False, 'ip_address': '192.168.1.31', 'current_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_branch': 'master', 'current_branch_commit': '2024-01-12 12:17:25 +0100 [8238a5c57]', 'current_missing_commits': [], 'boot_done': True, 'dataprotection_acknowledged': True, 'debug_level': 10, 'release_train': 'master', 'version': '2.1.3-Alpha.2', 'datastore_version': 34, 'lastlivevaluesJson': {'timestamp': 1705374941, 'time': '04:15:41', 'grid': 9.398, 'house-power': 2.458, 'charging-all': 6.89, 'pv-all': -0.05, 'cp1-power': 6.89, 'ev1-soc': 30.0, 'ev2-soc': 71, 'bat-all-power': 0.0, 'bat-all-soc': 20}, 'usage_terms_acknowledged': True, 'module_update_completed': True}
2024-01-16 04:15:51,858 - {control.data:279} - {INFO:MainThread} - device0
{'name': 'SolarEdge', 'type': 'solaredge', 'id': 0, 'configuration': {'port': 1502, 'ip_address': 'solaredge'}}
2024-01-16 04:15:51,859 - {control.data:281} - {INFO:MainThread} - component0
{'name': 'SolarEdge Zähler', 'type': 'counter', 'id': 0, 'configuration': {'modbus_id': 1, 'meter_id': 1}}
2024-01-16 04:15:51,860 - {control.data:281} - {INFO:MainThread} - component2
{'name': 'SolarEdge Wechselrichter', 'type': 'inverter', 'id': 2, 'configuration': {'modbus_id': 1}}
2024-01-16 04:15:51,861 - {control.data:281} - {INFO:MainThread} - component4
{'name': 'SolarEdge Speicher', 'type': 'bat', 'id': 4, 'configuration': {'modbus_id': 1}}
2024-01-16 04:15:51,863 - {control.data:279} - {INFO:MainThread} - device1
{'name': 'Shelly Schuppen', 'type': 'shelly', 'id': 1, 'configuration': {'ip_address': 'solarschuppen', 'generation': 2}}
2024-01-16 04:15:51,864 - {control.data:281} - {INFO:MainThread} - component3
{'name': 'Shelly Schuppen Wechselrichter', 'type': 'inverter', 'id': 3, 'configuration': {}}
2024-01-16 04:15:51,865 - {control.data:253} - {INFO:MainThread} - 

2024-01-16 04:15:51,866 - {control.algorithm.algorithm:25} - {INFO:MainThread} - # Algorithmus
2024-01-16 04:15:51,867 - {control.algorithm.algorithm:30} - {INFO:MainThread} - **Mindestrom setzen**
2024-01-16 04:15:51,869 - {control.algorithm.min_current:18} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:15:51,870 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [24.66, 26.07, 25.92]A verbleibende Ströme, 17357.92W verbleibende Leistung
2024-01-16 04:15:51,876 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 6A
2024-01-16 04:15:51,879 - {control.algorithm.algorithm:32} - {INFO:MainThread} - **Sollstrom setzen**
2024-01-16 04:15:51,883 - {control.algorithm.filter_chargepoints:116} - {DEBUG:MainThread} - Geordnete Ladepunkte [1]
2024-01-16 04:15:51,886 - {control.algorithm.additional_current:26} - {INFO:MainThread} - Mode-Tuple Chargemode.SCHEDULED_CHARGING - Chargemode.INSTANT_CHARGING - False, Zähler 0
2024-01-16 04:15:51,887 - {control.counter:176} - {DEBUG:MainThread} - Zähler 0: [15.66, 17.07, 16.92]A verbleibende Ströme, 11147.919999999998W verbleibende Leistung
2024-01-16 04:15:51,888 - {control.algorithm.common:95} - {INFO:MainThread} - LP1: Stromstärke 15A
2024-01-16 04:15:51,890 - {control.counter:236} - {DEBUG:MainThread} - Damit der Speicher hochregeln kann, muss unabhängig vom eingestellten Regelmodus Bezug erzeugt werden.
2024-01-16 04:15:51,893 - {control.counter:217} - {INFO:MainThread} - Überschuss zur PV-geführten Ladung: -12952.080000000002W
2024-01-16 04:15:51,894 - {control.counter:484} - {DEBUG:MainThread} - Zähler 0: Begrenzung der verbleibenden Leistung auf -12952.080000000002W
2024-01-16 04:15:51,895 - {control.algorithm.algorithm:43} - {INFO:MainThread} - **Keine Leistung für PV-geführtes Laden übrig.**
2024-01-16 04:15:51,898 - {control.process:23} - {INFO:MainThread} - # Ladung starten.
2024-01-16 04:15:51,900 - {control.chargelog.chargelog:57} - {DEBUG:MainThread} - imported_since_mode_switch 397.95000000018626 counter 7421389.16
2024-01-16 04:15:51,906 - {control.process:111} - {INFO:MainThread} - LP1: set current 15 A, state CHARGING_ALLOWED
2024-01-16 04:15:51,914 - {modules.common.component_context:25} - {DEBUG:set current cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:15:51,955 - {control.counter:193} - {INFO:MainThread} - 0W reservierte EVU-Leistung, 0W freigegebene EVU-Leistung
2024-01-16 04:15:52,212 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:15:55,238 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=smarthome_handler, args=(), kwargs={})
2024-01-16 04:15:55,239 - {root:56} - {DEBUG:MainThread} - Don't start multiple instances of smarthome thread.
2024-01-16 04:16:00,251 - {schedule:660} - {DEBUG:MainThread} - Running job Job(interval=1, unit=minutes, do=handler10Sec, args=(), kwargs={})
2024-01-16 04:16:00,252 - {root:75} - {INFO:MainThread} - # ***Start*** 
2024-01-16 04:16:00,292 - {modules.devices.solaredge.device:100} - {DEBUG:device0} - Start device reading {'component0': <modules.devices.solaredge.counter.SolaredgeCounter object at 0x74b96880>, 'component2': <modules.devices.solaredge.inverter.SolaredgeInverter object at 0x713eeef8>, 'component4': <modules.devices.solaredge.bat.SolaredgeBat object at 0x713e8490>}
2024-01-16 04:16:00,299 - {modules.common.component_context:25} - {DEBUG:device1} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:16:00,307 - {urllib3.connectionpool:227} - {DEBUG:device1} - Starting new HTTP connection (1): solarschuppen:80
2024-01-16 04:16:00,308 - {modules.common.component_context:25} - {DEBUG:set values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:16:00,313 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:16:00,365 - {urllib3.connectionpool:452} - {DEBUG:device1} - http://solarschuppen:80 "GET /rpc/Shelly.GetStatus HTTP/1.1" 200 717
2024-01-16 04:16:00,368 - {modules.common.req:11} - {DEBUG:device1} - Get-Response: {"ble":{},"cloud":{"connected":false},"input:0":{"id":0,"state":false},"mqtt":{"connected":false},"switch:0":{"id":0, "source":"loopback", "output":false, "apower":0.0, "voltage":239.2, "current":0.000, "aenergy":{"total":6833.012,"by_minute":[0.000,0.000,0.000],"minute_ts":1705374960},"temperature":{"tC":26.2, "tF":79.1}},"sys":{"mac":"441793D4F72C","restart_required":false,"time":"04:16","unixtime":1705374961,"uptime":4734338,"ram_size":248948,"ram_free":144540,"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-16 04:16:00,372 - {modules.common.simcount._simcount:37} - {DEBUG:device1} - Previous state: SimCounterState(timestamp=1705374950.9757063, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:16:00,374 - {modules.common.simcount._calculate:11} - {DEBUG:device1} - time passed: 0.00261018, power1: 0, power2: 0
2024-01-16 04:16:00,376 - {modules.common.simcount._calculate:27} - {DEBUG:device1} - power did not change sign. Total energy: 0
2024-01-16 04:16:00,377 - {modules.common.simcount._simcount:46} - {DEBUG:device1} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374960.372372, power=0, imported=0.0, exported=298815.6749530974)
2024-01-16 04:16:00,379 - {modules.common.store._api:26} - {DEBUG:device1} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:16:00,396 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-9493, -3372, -3017, -3102], Scale 0
2024-01-16 04:16:00,415 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [142, 127, 130], Scale -1
2024-01-16 04:16:00,496 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [23773, 23879, 23757, 0, 0, 0, 0], Scale -2
2024-01-16 04:16:00,536 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [5000], Scale -2
2024-01-16 04:16:00,555 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [9969, 9959, 9990], Scale -2
2024-01-16 04:16:00,577 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [4871567, 1797500, 2172252, 1456977, 8016679, 3302773, 2344565, 2924502], Scale 0
2024-01-16 04:16:00,578 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data CounterState(currents=[14.200000000000001, 12.700000000000001, 13.0], powers=[3372.0, 3017.0, 3102.0], voltages=[237.73000000000002, 238.79, 237.57], power_factors=[0.9969, 0.9959, 0.9990000000000001], imported=8016679.0, exported=4871567.0, power=9493.0, frequency=50.0)
2024-01-16 04:16:00,580 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:16:00,595 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5036], Scale -2
2024-01-16 04:16:00,615 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [7896155], Scale 0
2024-01-16 04:16:00,637 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [27, 30, 30], Scale -2
2024-01-16 04:16:00,687 - {modules.devices.solaredge.scale:16} - {DEBUG:device0} - Registers [-5438], Scale -2
2024-01-16 04:16:00,687 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data InverterState(currents=[0.27, 0.3, 0.3], power=50.36, exported=7896155.0, dc_power=54.38)
2024-01-16 04:16:00,689 - {modules.common.component_context:25} - {DEBUG:device0} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:16:00,760 - {modules.common.simcount._simcount:37} - {DEBUG:device0} - Previous state: SimCounterState(timestamp=1705374951.417079, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:16:00,761 - {modules.common.simcount._calculate:11} - {DEBUG:device0} - time passed: 0.00259532, power1: 0, power2: 0
2024-01-16 04:16:00,763 - {modules.common.simcount._calculate:27} - {DEBUG:device0} - power did not change sign. Total energy: 0
2024-01-16 04:16:00,766 - {modules.common.simcount._simcount:46} - {DEBUG:device0} - imported: 0 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374960.760242, power=0.0, imported=159299.80157412178, exported=120875.19190538714)
2024-01-16 04:16:00,768 - {modules.common.store._api:26} - {DEBUG:device0} - Raw data BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:16:00,774 - {modules.common.component_context:25} - {DEBUG:component4} - Update Komponente ['SolarEdge Speicher']
2024-01-16 04:16:00,774 - {modules.common.store._api:30} - {INFO:component4} - Saving BatState(imported=159299.80157412178, exported=120875.19190538714, power=0.0, soc=20.0)
2024-01-16 04:16:01,003 - {modules.common.component_context:25} - {DEBUG:update values cp1} - Update Komponente ['Ladepunkt']
2024-01-16 04:16:01,019 - {modules.common.component_context:25} - {DEBUG:component2} - Update Komponente ['SolarEdge Wechselrichter']
2024-01-16 04:16:01,031 - {modules.common.component_context:25} - {DEBUG:component3} - Update Komponente ['Shelly Schuppen Wechselrichter']
2024-01-16 04:16:01,038 - {modules.common.store._api:26} - {DEBUG:component2} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=50.36, exported=7934579.61, dc_power=None)
2024-01-16 04:16:01,049 - {modules.common.store._api:30} - {INFO:component2} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=50.36, exported=7934579.61, dc_power=None)
2024-01-16 04:16:01,042 - {modules.common.store._api:26} - {DEBUG:component3} - Raw data InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:16:01,055 - {modules.common.store._api:30} - {INFO:component3} - Saving InverterState(currents=[0.0, 0.0, 0.0], power=0, exported=298815.6749530974, dc_power=None)
2024-01-16 04:16:01,121 - {modules.common.component_context:25} - {DEBUG:component0} - Update Komponente ['SolarEdge Zähler']
2024-01-16 04:16:01,122 - {modules.common.store._api:30} - {INFO:component0} - Saving CounterState(currents=[14.200000000000001, 12.700000000000001, 13.0], powers=[3372.0, 3017.0, 3102.0], voltages=[237.73000000000002, 238.79, 237.57], power_factors=[0.9969, 0.9959, 0.9990000000000001], imported=8016679.0, exported=4871567.0, power=9493.0, frequency=50.0)
2024-01-16 04:16:01,303 - {modules.ripple_control_receiver:30} - {DEBUG:MainThread} - RSE1-Status: False, RSE2-Status: False
2024-01-16 04:16:01,310 - {control.bat_all:174} - {INFO:MainThread} - 0W verbleibende Speicher-Leistung
2024-01-16 04:16:01,325 - {control.counter:145} - {INFO:MainThread} - Verbleibende Ströme an Zähler 0: [30.65, 32.0, 31.92]A
2024-01-16 04:16:01,328 - {control.counter:168} - {INFO:MainThread} - Verbleibende Leistung an Zähler 0: 21524.010000000002W
2024-01-16 04:16:01,331 - {control.ev:856} - {DEBUG:MainThread} - RFID 1655332554 wird EV 2 zugeordnet.
2024-01-16 04:16:01,334 - {control.chargepoint.chargepoint:538} - {DEBUG:MainThread} - EV-Phasenzahl beschränkt die nutzbaren Phasen auf 3
2024-01-16 04:16:01,340 - {control.chargepoint.chargepoint:521} - {DEBUG:MainThread} - Phasenzahl Lademodus: 3
2024-01-16 04:16:01,344 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 1:20:41.739130 start_time 2024-01-16 04:19:18.260870 end 2024-01-16 05:40:00 now 2024-01-16 04:16:01.343671
2024-01-16 04:16:01,345 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 1: Differenz zum Start 196.917199s, Dauer 1.344927536231884h, Termin heute verpasst: False
2024-01-16 04:16:01,347 - {helpermodules.timecheck:184} - {DEBUG:MainThread} - delta 0:30:15.652174 start_time 2024-01-18 05:09:44.347826 end 2024-01-18 05:40:00 now 2024-01-16 04:16:01.346822
2024-01-16 04:16:01,350 - {control.ev:729} - {DEBUG:MainThread} - Plan-Nr. 2: Differenz zum Start 176023.001004s, Dauer 0.5043478260869565h, Termin heute verpasst: False
2024-01-16 04:16:01,353 - {control.ev:778} - {DEBUG:MainThread} - Verwendeter Plan: Zielladen 95%, 06:00 Uhr
2024-01-16 04:16:01,358 - {control.chargepoint.chargepoint:664} - {INFO:MainThread} - LP 1, EV: ***AUTO2*** (EV-Nr.2): Theoretisch benötigter Strom 15A, Lademodus scheduled_charging, Submodus: Chargemode.INSTANT_CHARGING, Phasen: 3, Priorität: False, max. Ist-Strom: 9.92
2024-01-16 04:16:01,374 - {control.chargepoint.chargepoint:83} - {INFO:MainThread} - LP 1: Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.
2024-01-16 04:16:01,409 - {modules.common.simcount._simcount:37} - {DEBUG:MainThread} - Previous state: SimCounterState(timestamp=1705374951.805069, power=2454.5299999999997, imported=3845246.2696415368, exported=0)
2024-01-16 04:16:01,412 - {modules.common.simcount._calculate:11} - {DEBUG:MainThread} - time passed: 0.00266779, power1: 2454.53, power2: 2425.63
2024-01-16 04:16:01,421 - {modules.common.simcount._calculate:27} - {DEBUG:MainThread} - power did not change sign. Total energy: 6.50961
2024-01-16 04:16:01,426 - {modules.common.simcount._simcount:46} - {DEBUG:MainThread} - imported: 6.50961 Wh, exported: 0 Wh, new state: SimCounterState(timestamp=1705374961.4090989, power=2425.63, imported=3845252.779252999, exported=0)
2024-01-16 04:16:01,433 - {control.data:266} - {INFO:MainThread} - bat4
BatData(get=Get(soc=20, daily_exported=0.0, daily_imported=0.0, imported=159299.8, exported=120875.19, fault_state=0, fault_str='Kein Fehler.', power=0.0))
2024-01-16 04:16:01,437 - {control.data:236} - {INFO:MainThread} - bat_all_data
BatAllData(config=Config(configured=True), get=Get(soc=20, daily_exported=0, daily_imported=0, fault_str='Kein Fehler.', fault_state=0, imported=159299.8, exported=120875.19, power=0.0), set=Set(charging_power_left=0, regulate_up=True, switch_on_soc_reached=False))
2024-01-16 04:16:01,440 - {control.data:237} - {INFO:MainThread} - cp_all_data
AllChargepointData(get=AllGet(daily_imported=247.07, daily_exported=0, power=7017.01, imported=7421409.18, exported=0))
2024-01-16 04:16:01,442 - {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=7420991.21, imported_instant_charging=None, limit=None, phases=3, prio=False, required_current=15, required_currents=[15, 15, 15], 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=71), currents=[9.7, 9.92, 9.85], daily_imported=247.07, daily_exported=0, evse_current=1500, exported=0, fault_str='Kein Fehler.', fault_state=0, imported=7421409.18, phases_in_use=3, plug_state=True, power=7017.01, rfid_timestamp=None, rfid=None, soc=None, soc_timestamp=None, state_str='Zielladen mit 15A, um einen SoC von 95%  um 05:40 zu erreichen.', vehicle_id=None, voltages=[239.13, 237.9, 238.02]), set=Set(change_ev_permitted=[True, ''], charging_ev=2, charging_ev_prev=2, current=15, energy_to_charge=0, loadmanagement_available=True, log=Log(chargemode_log_entry='scheduled_charging', costs=0.0515, imported_at_mode_switch=7420991.21, imported_at_plugtime=7420991.21, imported_since_mode_switch=397.95000000018626, imported_since_plugged=397.95000000018626, range_charged=1.9897500000009314, time_charged='2:43', timestamp_start_charging=1705365141.093966, ev=2, prio=False, rfid='1655332554'), manual_lock=False, phases_to_use=3, plug_state_prev=True, plug_time=1705325261.294614, required_power=10350, rfid='1655332554', target_current=0, charging_ev_data=<control.ev.Ev object at 0x6c1c51d8>), config=Config(configuration={'mode': 'series', 'ip_address': 'localhost', 'duo_num': 0}, ev=0, name='openWB 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-16 04:16:01,447 - {control.data:266} - {INFO:MainThread} - cpt0
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_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-16 04:16:01,448 - {control.data:266} - {INFO:MainThread} - cpt1
CpTemplateData(autolock=Autolock(active=False, plans={}, wait_for_charging_end=False), id=1, max_current_multi_phases=16, max_current_single_phase=20, name='RFID, 20A, 11kW', rfid_enabling=True, valid_tags=['0003526747', '1655332554', '2585022212'])
2024-01-16 04:16:01,449 - {control.data:266} - {INFO:MainThread} - counter0
CounterData(config=Config(max_currents=[35, 35, 35], max_total_power=24000), get=Get(powers=[3372.0, 3017.0, 3102.0], currents=[14.2, 12.7, 13.0], voltages=[237.73, 238.79, 237.57], power_factors=[1.0, 1.0, 1.0], unbalanced_load=0, frequency=50.0, daily_exported=0.0, daily_imported=6739.0, imported=8016679.0, exported=4871567.0, fault_state=0, fault_str='Kein Fehler.', power=9493.0), set=Set(error_counter=0, reserved_surplus=0, released_surplus=0, raw_power_left=21524.010000000002, raw_currents_left=[30.65, 32.0, 31.92], surplus_power_left=0, state_str=''))
